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.claude.yaml 857 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
31
32
  1. # yaml-language-server: $schema=https://promptfoo.dev/config-schema.json
  2. description: 'Vertex Claude Code Analysis'
  3. prompts:
  4. - 'Analyze this code and list any potential issues: ```{{code}}```'
  5. providers:
  6. - id: vertex:claude-3-5-sonnet-v2@20241022
  7. label: Claude 3.5 Sonnet v2
  8. config:
  9. region: us-east5
  10. tests:
  11. - vars:
  12. code: |
  13. def calculate_average(numbers):
  14. total = 0
  15. for num in numbers:
  16. total += num
  17. return total / len(numbers)
  18. - vars:
  19. code: |
  20. def fibonacci(n):
  21. if n <= 1:
  22. return n
  23. return fibonacci(n-1) + fibonacci(n-2)
  24. - vars:
  25. code: |
  26. def search_list(items, target):
  27. for i in range(len(items)):
  28. if items[i] == target:
  29. return i
  30. return -1
Tip!

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

Comments

Loading...