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 520 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: 'LM Studio Eval Example'
  3. prompts:
  4. - file://prompts.json
  5. providers:
  6. - id: 'http://localhost:1234/v1/chat/completions'
  7. config:
  8. method: 'POST'
  9. headers:
  10. 'Content-Type': 'application/json'
  11. body:
  12. messages: '{{ prompt }}'
  13. model: 'bartowski/gemma-2-9b-it-GGUF'
  14. temperature: 0.7
  15. max_tokens: 100
  16. transformResponse: 'file://parser.js'
  17. tests:
  18. - vars:
  19. topic: bananas
Tip!

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

Comments

Loading...