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.urlcontext.yaml 866 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
27
28
29
30
31
32
  1. # yaml-language-server: $schema=https://promptfoo.dev/config-schema.json
  2. description: Url context with Google Gemini models
  3. prompts:
  4. - '{{query}}'
  5. providers:
  6. - id: google:gemini-2.5-flash
  7. config:
  8. temperature: 0.2
  9. tools:
  10. - urlContext: {}
  11. # Advanced version with thinking capabilities and additional search
  12. - id: google:gemini-2.5-pro
  13. config:
  14. temperature: 0.2
  15. generationConfig:
  16. thinkingConfig:
  17. thinkingBudget: 1024
  18. tools:
  19. - googleSearch: {}
  20. - urlContext: {}
  21. tests:
  22. - vars:
  23. query: 'Could you make a tour plan inspired by https://www.nhm.ac.uk/visit/whats-on.html, https://www.tate.org.uk/whats-on/tate-modern/expressionists'
  24. assert:
  25. - type: llm-rubric
  26. value: |
  27. Contains a comprehensive plan to visit Natural History Museum and Tate Modern.
Tip!

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

Comments

Loading...