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 841 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. prompts:
  2. - Tell me a really funny joke about {{topic}}. The joke should contain the word {{topic}}
  3. providers:
  4. - id: cloudflare-ai:chat:@cf/meta/llama-3-8b-instruct
  5. config:
  6. accountId: YOUR_ACCOUNT_ID_HERE
  7. # ===============
  8. # It is not recommended to keep your API key on the config file since it is a secret value.
  9. # Use the CLOUDFLARE_API_KEY environment variable or set the apiKeyEnvar value
  10. # in the config
  11. # apiKey: YOUR_API_KEY_HERE
  12. # apiKeyEnvar: SOME_ENV_HAR_CONTAINING_THE_API_KEY
  13. # ===============
  14. # Additional model parameters that are passed through in the HTTP request body to the Cloudflare REST API call
  15. # to run the model
  16. max_tokens: 800
  17. seed: 1
  18. tests:
  19. - vars:
  20. topic: birds
  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...