API Reference
Retrieve Chunks
Retrieve relevant chunks.
Args: request: RetrieveRequest containing:
- query: Search query text
- filters: Optional metadata filters
- k: Number of results (default: 4)
- min_score: Minimum similarity threshold (default: 0.0)
- use_reranking: Whether to use reranking
- use_colpali: Whether to use ColPali-style embedding model
- folder_name: Optional folder to scope the search to
- end_user_id: Optional end-user ID to scope the search to auth: Authentication context
Returns: List[ChunkResult]: List of relevant chunks
POST
Headers
Body
application/json
Base retrieve request model
Minimum length:
1
Required range:
x > 0
Name of the graph to use for knowledge graph-enhanced retrieval
Number of relationship hops to traverse in the graph
Required range:
1 <= x <= 3
Whether to include relationship paths in the response
Optional folder scope for the operation
Optional end-user scope for the operation
Was this page helpful?