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.yaml 462 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
  1. # yaml-language-server: $schema=https://promptfoo.dev/config-schema.json
  2. description: 'HF private inference endpoint'
  3. prompts:
  4. - 'Write a tweet about {{topic}}:'
  5. providers:
  6. - id: huggingface:text-generation:gemma-7b-it
  7. config:
  8. apiEndpoint: https://v9igsezez4ei3cq4.us-east-1.aws.endpoints.huggingface.cloud
  9. # apiKey: abc123 # Or set HF_API_TOKEN environment variable
  10. tests:
  11. - vars:
  12. topic: bananas
  13. - vars:
  14. topic: potatoes
Tip!

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

Comments

Loading...