czekis.
10/04/2024, 1:35 PM{
"fields": [
{
"code": "NL",
"value": [
1,
2,
3
]
},
{
"code": "KL",
"value": true
}
]
} so i want to validate if NL has 1,2,3 values and if KL is true.
but still i'm a bit confused, i managed to create test variables that are separate test-cases, but i want validate every response as well
prompts:
- file://prompt_1.yaml
providers:
- id: openai:gpt-4o
config:
temperature: 1
response_format:
type: json_object
- id: openai:gpt-4o-mini
config:
temperature: 1
response_format:
type: json_object
scenarios: []
tests:
- file://permutations.csv
- assert: #this is wrong
- type: contains-json
value:
fields:
- code: NL
value: 1czekis.
10/07/2024, 9:32 AM