Retrievers
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.
name: str
A name for the retriever tool. Will default to the pipeline name if not provided.
The pipelines this retriever uses.
name: Optional[str]
A name for the retriever tool. Will default to the pipeline name if not provided.
preset_retrieval_parameters: Optional[PresetRetrievalParams]
Parameters for retrieval configuration.
alpha: Optional[float]
Alpha value for hybrid retrieval to determine the weights between dense and sparse retrieval. 0 is sparse retrieval and 1 is dense retrieval.
dense_similarity_cutoff: Optional[float]
Minimum similarity score wrt query for retrieval
files_top_k: Optional[int]
Number of files to retrieve (only for retrieval mode files_via_metadata and files_via_content).
search_filters: Optional[MetadataFilters]
Metadata filters for vector stores.
filters: List[Filter]
class FilterMetadataFilter: …
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: …
name: str
A name for the retriever tool. Will default to the pipeline name if not provided.
The pipelines this retriever uses.
name: Optional[str]
A name for the retriever tool. Will default to the pipeline name if not provided.
preset_retrieval_parameters: Optional[PresetRetrievalParams]
Parameters for retrieval configuration.
alpha: Optional[float]
Alpha value for hybrid retrieval to determine the weights between dense and sparse retrieval. 0 is sparse retrieval and 1 is dense retrieval.
dense_similarity_cutoff: Optional[float]
Minimum similarity score wrt query for retrieval
files_top_k: Optional[int]
Number of files to retrieve (only for retrieval mode files_via_metadata and files_via_content).
search_filters: Optional[MetadataFilters]
Metadata filters for vector stores.
filters: List[Filter]
class FilterMetadataFilter: …
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: …
name: Optional[str]
A name for the retriever tool. Will default to the pipeline name if not provided.
preset_retrieval_parameters: Optional[PresetRetrievalParams]
Parameters for retrieval configuration.
alpha: Optional[float]
Alpha value for hybrid retrieval to determine the weights between dense and sparse retrieval. 0 is sparse retrieval and 1 is dense retrieval.
dense_similarity_cutoff: Optional[float]
Minimum similarity score wrt query for retrieval
files_top_k: Optional[int]
Number of files to retrieve (only for retrieval mode files_via_metadata and files_via_content).
search_filters: Optional[MetadataFilters]
Metadata filters for vector stores.
filters: List[Filter]
class FilterMetadataFilter: …
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
List[Retriever]
name: str
A name for the retriever tool. Will default to the pipeline name if not provided.
The pipelines this retriever uses.
name: Optional[str]
A name for the retriever tool. Will default to the pipeline name if not provided.
preset_retrieval_parameters: Optional[PresetRetrievalParams]
Parameters for retrieval configuration.
alpha: Optional[float]
Alpha value for hybrid retrieval to determine the weights between dense and sparse retrieval. 0 is sparse retrieval and 1 is dense retrieval.
dense_similarity_cutoff: Optional[float]
Minimum similarity score wrt query for retrieval
files_top_k: Optional[int]
Number of files to retrieve (only for retrieval mode files_via_metadata and files_via_content).
search_filters: Optional[MetadataFilters]
Metadata filters for vector stores.
filters: List[Filter]
class FilterMetadataFilter: …
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