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 608 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
  1. # yaml-language-server: $schema=https://promptfoo.dev/config-schema.json
  2. prompts:
  3. - file://prompt.json
  4. providers:
  5. - openai:gpt-4o-mini
  6. # Set up the conversation history
  7. defaultTest:
  8. vars:
  9. system_message: file://system_message.txt
  10. previous_messages:
  11. - user: Who founded Facebook?
  12. - assistant: Mark Zuckerberg
  13. - user: What's his favorite food?
  14. - assistant: Pizza
  15. # Test multiple follow-ups
  16. tests:
  17. - vars:
  18. question: Did he create any other companies?
  19. - vars:
  20. question: What is his role at Internet.org?
  21. - vars:
  22. question: Will he let me borrow $5?
Tip!

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

Comments

Loading...