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 355 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. # yaml-language-server: $schema=https://promptfoo.dev/config-schema.json
  2. description: 'Transform with external function'
  3. prompts:
  4. - 'Write a tweet about {{topic}}'
  5. providers:
  6. - openai:gpt-4o-mini
  7. defaultTest:
  8. options:
  9. transform: file://transform.js
  10. # transform: file://transform.py:custom_func_name
  11. tests:
  12. - vars:
  13. topic: bananas
Tip!

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

Comments

Loading...