📄️ Attack Generation
Sometimes attacks may not be generated as expected. This is usually due to the Purpose property not being clear enough.
📄️ Connecting to Targets
When setting up your target, use these best practices:
📄️ False Positives
False positives are when a test case is marked as passing when it should have been marked as failing or vice versa. A common cause of false positives is when the Promptfoo graders don't know enough about the target to make an accurate assessment.
📄️ Multi-Turn Session Management
Session management is important for our multi-turn strategies like Crescendo and GOAT. In these cases you want to make sure that the target system is able to maintain context between turns.
📄️ Handling Multiple Response Types like Guardrails
There are cases where your target could respond with multiple object types. This is usually the case when the target is blocked by a guardrail. For example,