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.jumpstart.yaml 1019 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
  1. # yaml-language-server: $schema=https://promptfoo.dev/config-schema.json
  2. description: 'AWS SageMaker JumpStart models 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:jumpstart:your-jumpstart-endpoint
  9. label: 'JumpStart Llama 3.2 (8B)'
  10. config:
  11. region: us-west-2
  12. modelType: jumpstart # Use the dedicated jumpstart model type
  13. maxTokens: 256 # Specifies max_new_tokens in parameters
  14. temperature: 0.7 # Controls randomness
  15. topP: 0.9 # Controls diversity
  16. contentType: 'application/json'
  17. acceptType: 'application/json'
  18. responseFormat:
  19. path: 'json.generated_text' # Extract this field from the response
  20. tests:
  21. - vars:
  22. flavor: caramel
  23. - vars:
  24. flavor: pumpkin spice
  25. - vars:
  26. flavor: lavender
Tip!

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

Comments

Loading...