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 469 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
  1. prompts:
  2. - file://prompt.json
  3. providers:
  4. - id: adaline:openai:chat:gpt-4o
  5. tests:
  6. - vars:
  7. question: 'What do you see?'
  8. url: 'https://upload.wikimedia.org/wikipedia/commons/thumb/d/dd/Gfp-wisconsin-madison-the-nature-boardwalk.jpg/2560px-Gfp-wisconsin-madison-the-nature-boardwalk.jpg'
  9. options:
  10. transformVars: |
  11. return { ...vars, image_markdown: `![image](${vars.url})` }
  12. assert:
  13. - type: contains
  14. value: 'boardwalk'
Tip!

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

Comments

Loading...