Expand description
Query pipelines for retrieval augmented generation in Swiftide.
This crate provides the query Pipeline and its built-in steps:
query_transformers (subquestion generation, dense and sparse embedding),
response_transformers (summarizing retrieved documents), answers (generating the final
answer) and evaluators (Ragas-compatible evaluation). The step traits and query states live
in swiftide-core; retrievers such as Qdrant, pgvector and LanceDB come from
swiftide-integrations.
The swiftide facade re-exports this crate together with the core
query types as swiftide::query. Prefer that unless you want a minimal dependency.
Modules§
- answers
- Given a query, generate an answer
- evaluators
- This module contains evaluators for evaluating the quality of a pipeline.
- query_
transformers - Transform queries that are yet to be made
- response_
transformers - Transform retrieved queries
Structs§
- Pipeline
- The starting point of a query pipeline