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 415 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
  1. # yaml-language-server: $schema=https://promptfoo.dev/config-schema.json
  2. description: 'Dynamic var example'
  3. prompts:
  4. - "You are an office assistant. Using this context:\n\n<context>{{context}}</context>\n\nAnswer this question:\n\n<question>{{question}}</question>"
  5. providers:
  6. - openai:gpt-4o-mini
  7. tests:
  8. - vars:
  9. question: 'What is the parental leave policy?'
  10. context: file://./load_context.py
Tip!

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

Comments

Loading...