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 470 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
  1. description: Example showing how to load test cases from JavaScript/TypeScript functions
  2. prompts:
  3. - 'Translate the following text to {{target_language}}: {{text}}'
  4. providers:
  5. - id: openai:o3-mini
  6. config:
  7. reasoning_effort: low
  8. # Demonstrate different ways to load test cases from JavaScript/TypeScript
  9. tests:
  10. # Load simple test cases
  11. - file://staticTests.ts
  12. # Load test cases from simulated database
  13. - file://dynamicTests.ts:generateFromDatabase
Tip!

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

Comments

Loading...