Retrievers
ModelsExpand Collapse
composite_retrieval_result: object { image_nodes, nodes, page_figure_nodes }
nodes: optional array of object { node, class_name, score }
retriever: object { id, name, project_id, 3 more }
An entity that retrieves context nodes from several sub RetrieverTools.
pipelines: optional array of RetrieverPipeline { description, name, pipeline_id, preset_retrieval_parameters }
The pipelines this retriever uses.
preset_retrieval_parameters: optional object { alpha, class_name, dense_similarity_cutoff, 11 more }
Parameters for retrieval configuration.
alpha: optional number
Alpha value for hybrid retrieval to determine the weights between dense and sparse retrieval. 0 is sparse retrieval and 1 is dense retrieval.
files_top_k: optional number
Number of files to retrieve (only for retrieval mode files_via_metadata and files_via_content).
search_filters: optional object { filters, condition }
Metadata filters for vector stores.
MetadataFilter: object { key, value, operator }
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
retriever_create: object { name, pipelines }
pipelines: optional array of RetrieverPipeline { description, name, pipeline_id, preset_retrieval_parameters }
The pipelines this retriever uses.
preset_retrieval_parameters: optional object { alpha, class_name, dense_similarity_cutoff, 11 more }
Parameters for retrieval configuration.
alpha: optional number
Alpha value for hybrid retrieval to determine the weights between dense and sparse retrieval. 0 is sparse retrieval and 1 is dense retrieval.
files_top_k: optional number
Number of files to retrieve (only for retrieval mode files_via_metadata and files_via_content).
search_filters: optional object { filters, condition }
Metadata filters for vector stores.
MetadataFilter: object { key, value, operator }
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
retriever_pipeline: object { description, name, pipeline_id, preset_retrieval_parameters }
preset_retrieval_parameters: optional object { alpha, class_name, dense_similarity_cutoff, 11 more }
Parameters for retrieval configuration.
alpha: optional number
Alpha value for hybrid retrieval to determine the weights between dense and sparse retrieval. 0 is sparse retrieval and 1 is dense retrieval.
files_top_k: optional number
Number of files to retrieve (only for retrieval mode files_via_metadata and files_via_content).
search_filters: optional object { filters, condition }
Metadata filters for vector stores.
MetadataFilter: object { key, value, operator }
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