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.bedrock.yaml 1.1 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
  1. providers:
  2. - id: bedrock:anthropic.claude-3-5-haiku-20241022-v1:0
  3. config:
  4. # optional block to force specific tool to be used
  5. tool_choice:
  6. type: tool
  7. name: get_weather
  8. tools:
  9. - name: get_weather
  10. description: Get the current weather in a given location
  11. input_schema:
  12. type: object
  13. properties:
  14. location:
  15. type: string
  16. description: The city and state, e.g. San Francisco, CA
  17. unit:
  18. type: string
  19. enum:
  20. - celsius
  21. - fahrenheit
  22. required:
  23. - location
  24. # irrelevant tool
  25. - name: add
  26. description: Add two numbers
  27. input_schema:
  28. type: object
  29. properties:
  30. a:
  31. type: number
  32. b:
  33. type: number
  34. prompts:
  35. - Tell me about the weather in {{city}}.
  36. tests:
  37. - vars:
  38. city: Boston
  39. - vars:
  40. city: New York
  41. - vars:
  42. city: Paris
  43. - vars:
  44. city: Mars
Tip!

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

Comments

Loading...