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 1.2 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
  1. # yaml-language-server: $schema=https://promptfoo.dev/config-schema.json
  2. description: Evaluating Llama models for educational concept explanations
  3. prompts:
  4. - file://prompts.txt
  5. providers:
  6. - id: cerebras:llama-4-scout-17b-16e-instruct
  7. config:
  8. temperature: 0.7
  9. max_completion_tokens: 1024
  10. - id: cerebras:llama-3.3-70b
  11. config:
  12. temperature: 0.5
  13. max_completion_tokens: 1024
  14. tests:
  15. - vars:
  16. topic: quantum computing
  17. concept: quantum entanglement
  18. assert:
  19. - type: contains-any
  20. value: ['particles', 'correlation', 'distance', 'spooky action', 'Einstein']
  21. - vars:
  22. topic: artificial intelligence
  23. concept: transformer architecture
  24. assert:
  25. - type: contains-any
  26. value:
  27. ['attention mechanism', 'self-attention', 'parallel processing', 'encoder', 'decoder']
  28. - vars:
  29. topic: astrophysics
  30. concept: black hole information paradox
  31. assert:
  32. - type: contains-any
  33. value:
  34. [
  35. 'Hawking radiation',
  36. 'event horizon',
  37. 'quantum mechanics',
  38. 'information loss',
  39. 'firewall',
  40. ]
  41. outputs:
  42. - type: csv
Tip!

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

Comments

Loading...