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