Retrievers
Create Retriever
Upsert Retriever
List Retrievers
Get Retriever
Update Retriever
Delete Retriever
Direct Retrieve
ModelsExpand Collapse
class CompositeRetrievalResult:
class Retriever:
An entity that retrieves context nodes from several sub RetrieverTools.
String name
A name for the retriever tool. Will default to the pipeline name if not provided.
The pipelines this retriever uses.
Optional<String> name
A name for the retriever tool. Will default to the pipeline name if not provided.
Parameters for retrieval configuration.
Optional<Double> alpha
Alpha value for hybrid retrieval to determine the weights between dense and sparse retrieval. 0 is sparse retrieval and 1 is dense retrieval.
Optional<Double> denseSimilarityCutoff
Minimum similarity score wrt query for retrieval
Optional<Long> filesTopK
Number of files to retrieve (only for retrieval mode files_via_metadata and files_via_content).
Metadata filters for vector stores.
List<Filter> filters
class MetadataFilter:
Comprehensive metadata filter for vector stores to support more operators.
Value uses Strict types, as int, float and str are compatible types and were all converted to string before.
See: https://docs.pydantic.dev/latest/usage/types/#strict-types
class RetrieverCreate:
String name
A name for the retriever tool. Will default to the pipeline name if not provided.
The pipelines this retriever uses.
Optional<String> name
A name for the retriever tool. Will default to the pipeline name if not provided.
Parameters for retrieval configuration.
Optional<Double> alpha
Alpha value for hybrid retrieval to determine the weights between dense and sparse retrieval. 0 is sparse retrieval and 1 is dense retrieval.
Optional<Double> denseSimilarityCutoff
Minimum similarity score wrt query for retrieval
Optional<Long> filesTopK
Number of files to retrieve (only for retrieval mode files_via_metadata and files_via_content).
Metadata filters for vector stores.
List<Filter> filters
class MetadataFilter:
Comprehensive metadata filter for vector stores to support more operators.
Value uses Strict types, as int, float and str are compatible types and were all converted to string before.
See: https://docs.pydantic.dev/latest/usage/types/#strict-types
class RetrieverPipeline:
Optional<String> name
A name for the retriever tool. Will default to the pipeline name if not provided.
Parameters for retrieval configuration.
Optional<Double> alpha
Alpha value for hybrid retrieval to determine the weights between dense and sparse retrieval. 0 is sparse retrieval and 1 is dense retrieval.
Optional<Double> denseSimilarityCutoff
Minimum similarity score wrt query for retrieval
Optional<Long> filesTopK
Number of files to retrieve (only for retrieval mode files_via_metadata and files_via_content).
Metadata filters for vector stores.
List<Filter> filters
class MetadataFilter:
Comprehensive metadata filter for vector stores to support more operators.
Value uses Strict types, as int, float and str are compatible types and were all converted to string before.
See: https://docs.pydantic.dev/latest/usage/types/#strict-types