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.5 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
49
50
51
52
53
54
55
56
  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-2402-v1:0
  17. config:
  18. temperature: 0.7
  19. max_tokens: 200
  20. top_p: 0.9
  21. top_k: 50
  22. region: us-east-1
  23. - id: bedrock:mistral.mistral-small-2402-v1:0
  24. config:
  25. temperature: 0.7
  26. max_tokens: 200
  27. top_p: 0.9
  28. top_k: 50
  29. region: us-east-1
  30. - id: bedrock:mistral.mixtral-8x7b-instruct-v0:1
  31. config:
  32. temperature: 0.7
  33. max_tokens: 200
  34. top_p: 0.9
  35. top_k: 50
  36. region: us-east-1
  37. defaultTest:
  38. assert:
  39. - type: javascript
  40. value: output.length <= 280 # Twitter's character limit
  41. - type: llm-rubric
  42. value: does not include excessive hashtags (no more than 2)
  43. tests:
  44. - vars:
  45. topic: The truth about government surveillance drones disguised as pigeons
  46. - vars:
  47. topic: Breaking evidence that birds are actually government spy cameras
  48. - vars:
  49. topic: Leaked photos of drone charging stations disguised as bird nests
  50. - vars:
  51. 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...