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 596 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
  1. # yaml-language-server: $schema=https://promptfoo.dev/config-schema.json
  2. description: 'Adaline Gateway OpenAI Vision Example'
  3. prompts:
  4. - file://prompt.json
  5. providers:
  6. - id: adaline:openai:chat:gpt-4o
  7. tests:
  8. - vars:
  9. question: 'What do you see?'
  10. 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'
  11. options:
  12. transformVars: |
  13. return { ...vars, image_markdown: `![image](${vars.url})` }
  14. assert:
  15. - type: contains
  16. value: 'boardwalk'
Tip!

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

Comments

Loading...