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.yaml 609 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
27
28
  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: 'Basic query demonstration'
  4. prompts:
  5. - Why is {{concept}}?
  6. providers:
  7. - id: 'google:live:gemini-2.0-flash-exp'
  8. config:
  9. generationConfig:
  10. response_modalities: ['text']
  11. timeoutMs: 10000
  12. defaultTest:
  13. assert:
  14. - type: icontains
  15. value: salt
  16. transform: output.text
  17. - type: icontains
  18. value: weathering
  19. transform: output.text
  20. tests:
  21. - vars:
  22. concept: the sea salty
Tip!

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

Comments

Loading...