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.multimodel.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
43
44
45
46
47
48
49
50
  1. # yaml-language-server: $schema=https://promptfoo.dev/config-schema.json
  2. description: 'Comparing multiple SageMaker model endpoints'
  3. prompts:
  4. - 'Write a tweet about {{topic}}'
  5. - 'Write a short blog introduction about {{topic}}'
  6. - 'List 3 key benefits of {{topic}}'
  7. providers:
  8. - id: sagemaker:openai:your-openai-endpoint
  9. label: 'OpenAI-compatible model'
  10. config:
  11. region: us-east-1
  12. modelType: openai
  13. temperature: 0.7
  14. maxTokens: 256
  15. - id: sagemaker:anthropic:your-claude-endpoint
  16. label: 'Claude-compatible model'
  17. config:
  18. region: us-east-1
  19. modelType: anthropic
  20. temperature: 0.7
  21. maxTokens: 256
  22. - id: sagemaker:llama:your-llama-endpoint
  23. label: 'Llama-compatible model'
  24. config:
  25. region: us-east-1
  26. modelType: llama
  27. temperature: 0.7
  28. maxTokens: 256
  29. - id: sagemaker:jumpstart:your-jumpstart-endpoint
  30. label: 'JumpStart model'
  31. config:
  32. region: us-east-1
  33. modelType: jumpstart
  34. temperature: 0.7
  35. maxTokens: 256
  36. responseFormat:
  37. path: 'json.generated_text'
  38. tests:
  39. - vars:
  40. topic: sustainable packaging
  41. - vars:
  42. topic: artificial intelligence in healthcare
  43. - vars:
  44. topic: remote work policies
Tip!

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

Comments

Loading...