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.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
  1. prompts:
  2. - file://prompts.txt
  3. providers:
  4. - openai:chat:gpt-4o
  5. defaultTest:
  6. assert:
  7. - type: llm-rubric
  8. value: Do not mention that you are an AI or chat assistant
  9. - type: javascript
  10. # Shorter is better
  11. value: Math.max(0, Math.min(1, 1 - (output.length - 100) / 900));
  12. tests:
  13. - vars:
  14. name: Bob
  15. question: Can you help me find a specific product on your website?
  16. - vars:
  17. name: Jane
  18. question: Do you have any promotions or discounts currently available?
  19. - vars:
  20. name: Ben
  21. question: Can you check the availability of a product at a specific store location?
  22. - vars:
  23. name: Dave
  24. question: What are your shipping and return policies?
  25. - vars:
  26. name: Jim
  27. question: Can you provide more information about the product specifications or features?
  28. - vars:
  29. name: Alice
  30. question: Can you recommend products that are similar to what I've been looking at?
  31. - vars:
  32. name: Sophie
  33. question: Do you have any recommendations for products that are currently popular or trending?
  34. - vars:
  35. name: Jessie
  36. question: How can I track my order after it has been shipped?
  37. - vars:
  38. name: Kim
  39. question: What payment methods do you accept?
  40. - vars:
  41. name: Emily
  42. question: Can you help me with a problem I'm having with my account or order?
Tip!

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

Comments

Loading...