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 998 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
27
28
29
30
  1. # yaml-language-server: $schema=https://promptfoo.dev/config-schema.json
  2. description: 'AWS SageMaker Mistral 7B Evaluation'
  3. prompts:
  4. - 'Generate a creative name for a coffee shop that specializes in {{flavor}} coffee.'
  5. - 'What are some potential names for a coffee shop that specializes in {{flavor}} coffee?'
  6. - 'Write a short story about a robot that becomes self-aware.'
  7. providers:
  8. - id: sagemaker:huggingface:your-mistral-endpoint
  9. label: 'Mistral 7B v3 on SageMaker'
  10. delay: 500 # Add a 500ms delay between requests
  11. config:
  12. region: us-west-2
  13. modelType: huggingface # Use the Hugging Face format handler
  14. maxTokens: 256
  15. temperature: 0.7
  16. topP: 0.9
  17. contentType: 'application/json'
  18. acceptType: 'application/json'
  19. responseFormat:
  20. path: 'json[0].generated_text' # Use JavaScript expression to access array element
  21. tests:
  22. - vars:
  23. flavor: caramel
  24. - vars:
  25. flavor: pumpkin spice
  26. - vars:
  27. flavor: lavender
Tip!

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

Comments

Loading...