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 489 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
  1. providers:
  2. - openai:gpt-4o-mini
  3. prompts:
  4. - file://prompts/name_capitals_concise.txt
  5. - file://prompts/name_capitals_verbose.txt
  6. tests:
  7. - vars:
  8. location: Sacramento
  9. assert:
  10. # Ensure the answer agrees with the provided facts
  11. - type: factuality
  12. value: The capital of California is Sacramento
  13. # Ensure the answer meets the criteria
  14. - type: model-graded-closedqa
  15. value: Does not include any extra information or facts about Sacramento
Tip!

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

Comments

Loading...