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 582 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
  1. # yaml-language-server: $schema=https://promptfoo.dev/config-schema.json
  2. description: Basic Hyperbolic functionality test
  3. prompts:
  4. - 'Hello there! Please greet me like a friendly robot.'
  5. providers:
  6. - id: hyperbolic:meta-llama/Meta-Llama-3.1-70B-Instruct
  7. label: Llama 3.1-70B
  8. config:
  9. temperature: 0.1
  10. max_tokens: 100
  11. tests:
  12. - assert:
  13. - type: contains-any
  14. value: ['hello', 'hi', 'greetings', 'Hello', 'hey', 'GREETINGS', 'HELLO']
  15. - type: llm-rubric
  16. value: 'The response is a friendly greeting with a robotic or AI personality'
Tip!

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

Comments

Loading...