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.titan-text.yaml 636 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
  1. prompts:
  2. - 'Convert this English to {{language}}: {{input}}'
  3. - 'Translate to {{language}}: {{input}}'
  4. providers:
  5. # https://docs.aws.amazon.com/bedrock/latest/userguide/titan-text-models.html
  6. - id: bedrock:amazon.titan-text-lite-v1
  7. config:
  8. region: 'us-east-1'
  9. textGenerationConfig:
  10. maxTokenCount: 400
  11. temperature: 0.3
  12. stopSequences: []
  13. topP: 0.9
  14. # Optional guardrails
  15. guardrailIdentifier: x6jfrw53f5ag
  16. guardrailVersion: DRAFT
  17. tests:
  18. - vars:
  19. language: French
  20. input: Hello world
  21. - vars:
  22. language: Spanish
  23. input: Where is the library?
Tip!

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

Comments

Loading...