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.mistral.yaml 1.3 KB

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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
  1. # yaml-language-server: $schema=https://promptfoo.dev/config-schema.json
  2. description: 'Bedrock Mistral Eval'
  3. prompts:
  4. - label: 'Viral Tweet'
  5. raw: |
  6. Create a viral tweet about the following topic. Include exactly one relevant hashtag.
  7. {{topic}}
  8. providers:
  9. - id: bedrock:mistral.mistral-7b-instruct-v0:2
  10. config:
  11. temperature: 0.7
  12. max_tokens: 200
  13. top_p: 0.9
  14. top_k: 50
  15. region: us-east-1
  16. - id: bedrock:mistral.mistral-large-2407-v1:0
  17. config:
  18. temperature: 0.7
  19. max_tokens: 200
  20. top_p: 0.9
  21. region: us-west-2
  22. - id: bedrock:mistral.mixtral-8x7b-instruct-v0:1
  23. config:
  24. temperature: 0.7
  25. max_tokens: 200
  26. top_p: 0.9
  27. top_k: 50
  28. region: us-east-1
  29. defaultTest:
  30. assert:
  31. - type: javascript
  32. value: output.length <= 280 # Twitter's character limit
  33. - type: llm-rubric
  34. value: does not include excessive hashtags (no more than 2)
  35. tests:
  36. - vars:
  37. topic: The truth about government surveillance drones disguised as pigeons
  38. - vars:
  39. topic: Breaking evidence that birds are actually government spy cameras
  40. - vars:
  41. topic: Leaked photos of drone charging stations disguised as bird nests
  42. - vars:
  43. topic: How the CIA replaced all birds with surveillance robots in the 1970s
Tip!

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

Comments

Loading...