Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

promptfooconfig.multiline.yaml 764 B

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
  1. # yaml-language-server: $schema=https://promptfoo.dev/config-schema.json
  2. # Learn more about building a configuration: https://promptfoo.dev/docs/configuration/guide
  3. description: 'Multiline query demonstration'
  4. prompts:
  5. - file://prompt.yaml
  6. providers:
  7. - id: 'google:live:gemini-2.0-flash-exp'
  8. config:
  9. generationConfig:
  10. response_modalities: ['text']
  11. timeoutMs: 10000
  12. tests:
  13. - vars:
  14. first_message: why is the the sea salty?
  15. second_message: can you give a more brief explanation
  16. assert:
  17. - type: icontains
  18. value: salt
  19. transform: output.text
  20. - type: icontains
  21. value: weathering
  22. transform: output.text
  23. - vars:
  24. first_message: hey
  25. second_message: tell me about hawaii
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...