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 510 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
19
20
21
22
23
24
  1. # yaml-language-server: $schema=https://promptfoo.dev/config-schema.json
  2. prompts:
  3. - 'Write a tweet about {{topic}}'
  4. providers:
  5. - id: cohere:command
  6. config:
  7. temperature: 0.5
  8. prompt_truncation: AUTO
  9. connectors:
  10. - id: web-search
  11. showSearchQueries: true
  12. defaultTest:
  13. options:
  14. provider:
  15. embedding: cohere:embedding:embed-english-v3.0
  16. tests:
  17. - vars:
  18. topic: the person who discovered gravity
  19. assert:
  20. - type: similar
  21. value: isaac newton
Tip!

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

Comments

Loading...