Build Standalone Query
Purpose: Converts a query that depends on conversation history into a standalone, context-independent query suitable for retrieval.
Pipeline Stage: Preprocessing
When Called:
✓ Conversation history exists
✓ Combined history + query < 32,000 characters (context limit check)
If conditions not met: Uses
query_with_historydirectly as standalone query
Input/Output Example:
**History:**
"What are the deployment process for the staging environment for SERVICE_NAME?"
**User Input:**
"What are the specific steps?"
**Output:**
```json
{{
"transformed_query": "What are the specific steps to deploy the SERVICE_NAME in the staging environment?"
}}
```Configuration:
Last updated