Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

chat_advanced_configuration.yaml 720 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
  1. # yaml-language-server: $schema=https://promptfoo.dev/config-schema.json
  2. prompts:
  3. - Tell me a funny joke about {{topic}}
  4. providers:
  5. - id: cloudflare-ai:chat:@cf/google/gemma-3-12b-it
  6. config:
  7. accountId: your_account_id_here
  8. # ===============
  9. # API key is loaded from CLOUDFLARE_API_KEY environment variable
  10. # Alternatively, use custom environment variable names:
  11. # apiKeyEnvar: CUSTOM_CLOUDFLARE_KEY
  12. # accountIdEnvar: CUSTOM_CLOUDFLARE_ACCOUNT
  13. # ===============
  14. # OpenAI-compatible model parameters
  15. max_tokens: 800
  16. temperature: 0.7
  17. seed: 1
  18. tests:
  19. - vars:
  20. topic: programming
  21. assert:
  22. - type: icontains
  23. value: '{{topic}}'
Tip!

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

Comments

Loading...