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

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

Comments

Loading...