Replies: 1 comment 1 reply
-
|
I like it, but do not introduce two new parameters - only once. No need to have two separate env vars. And I like it because this way, you can have more powerful web searches which utilize conditional search parameters while still having natural sounding queries for RAG in a separate generation prompt |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description
Currently, the project includes the
QUERY_GENERATION_PROMPT_TEMPLATEparameter to control how general prompts are generated.However, there is no dedicated configuration for web search–specific prompts.
Proposal
Add two new configuration parameters:
SEARCH_QUERY_GENERATION_PROMPT_TEMPLATE→ Allows defining a custom prompt template specifically for internet search queries.
This enables more precise and context-aware search generation.
DEFAULT_SEARCH_QUERY_GENERATION_PROMPT_TEMPLATE→ Provides a default fallback template for web search prompts if no custom one is defined.
Motivation
Example
Expected Impact
Thanks
Beta Was this translation helpful? Give feedback.
All reactions