I have following yml for rag testing:
prompts: ['{{ query }}']
providers: ['exec: python retrieve.py']
- id: azureopenai:chat:myai-gpt-35-turbo-16k
config:
apiHost:
apiKey:
tests:
- vars:
topic: bananas
- vars:
topic: avocado toast
assert:
- type: icontains
value: avocado
- type: javascript
value: 1 / (output.length + 1) # prefer shorter outputs
- vars:
topic: new york city
assert:
- type: icontains
value: New York City
when I run getting this error
YAMLException: bad indentation of a mapping entry (8:3)
5 | - "Write a very concise, funny t ...
6 |
7 | providers: ['exec: python retrieve ...
8 | - id: azureopenai:chat:genai-gpt ...
-------^
9 | config:
Question, do we need config here?