ModelsExpand Collapse enum CompositeRetrievalMode :
Enum for the mode of composite retrieval.
class CompositeRetrievalResult :
The image nodes retrieved by the pipeline for the given query. Deprecated - will soon be replaced with ‘page_screenshot_nodes’.
The ID of the file that the page screenshot was taken from
The size of the image in bytes
The index of the page for which the screenshot is taken (0-indexed)
Optional < Metadata > metadata
Metadata for the screenshot
The score of the screenshot node
Optional < String > className
Optional < List< Node > > nodes
The retrieved nodes from the composite retrieval.
The ID of the retrieved node.
Optional < Long > endCharIdx
The end character index of the retrieved node in the document
The ID of the pipeline this node was retrieved from.
The ID of the retriever this node was retrieved from.
String retrieverPipelineName
The name of the retrieval pipeline this node was retrieved from.
Optional < Long > startCharIdx
The start character index of the retrieved node in the document
The text of the retrieved node.
Metadata associated with the retrieved node.
Optional < String > className
The page figure nodes retrieved by the pipeline for the given query.
The confidence of the figure
The size of the figure in bytes
The ID of the file that the figure was taken from
The index of the page for which the figure is taken (0-indexed)
Optional < Boolean > isLikelyNoise
Whether the figure is likely to be noise
Optional < Metadata > metadata
The score of the figure node
Optional < String > className
The number of nodes to retrieve after reranking over retrieved nodes from all retrieval tools.
The type of reranker to use.
One of the following:
SYSTEM_DEFAULT ( "system_default")
An entity that retrieves context nodes from several sub RetrieverTools.
A name for the retriever tool. Will default to the pipeline name if not provided.
The ID of the project this retriever resides in.
Optional < LocalDateTime > createdAt
The pipelines this retriever uses.
Optional < String > description
A description of the retriever tool.
A name for the retriever tool. Will default to the pipeline name if not provided.
The ID of the pipeline this tool uses.
Parameters for retrieval configuration.
Alpha value for hybrid retrieval to determine the weights between dense and sparse retrieval. 0 is sparse retrieval and 1 is dense retrieval.
Optional < String > className
Optional < Double > denseSimilarityCutoff
Minimum similarity score wrt query for retrieval
Optional < Long > denseSimilarityTopK
Number of nodes for dense retrieval.
Optional < Boolean > enableReranking
Enable reranking for retrieval
Number of files to retrieve (only for retrieval mode files_via_metadata and files_via_content).
Optional < Long > rerankTopN
Number of reranked nodes for returning.
The retrieval mode for the query.
One of the following:
FILES_VIA_METADATA ( "files_via_metadata")
FILES_VIA_CONTENT ( "files_via_content")
AUTO_ROUTED ( "auto_routed")
Deprecated Optional < Boolean > retrieveImageNodes
Whether to retrieve image nodes.
Optional < Boolean > retrievePageFigureNodes
Whether to retrieve page figure nodes.
Optional < Boolean > retrievePageScreenshotNodes
Whether to retrieve page screenshot nodes.
Metadata filters for vector stores.
Vector store filter conditions to combine different filters.
Optional < SearchFiltersInferenceSchema > searchFiltersInferenceSchema
JSON Schema that will be used to infer search_filters. Omit or leave as null to skip inference.
Optional < Long > sparseSimilarityTopK
Number of nodes for sparse retrieval.
Optional < LocalDateTime > updatedAt
A name for the retriever tool. Will default to the pipeline name if not provided.
The pipelines this retriever uses.
Optional < String > description
A description of the retriever tool.
A name for the retriever tool. Will default to the pipeline name if not provided.
The ID of the pipeline this tool uses.
Parameters for retrieval configuration.
Alpha value for hybrid retrieval to determine the weights between dense and sparse retrieval. 0 is sparse retrieval and 1 is dense retrieval.
Optional < String > className
Optional < Double > denseSimilarityCutoff
Minimum similarity score wrt query for retrieval
Optional < Long > denseSimilarityTopK
Number of nodes for dense retrieval.
Optional < Boolean > enableReranking
Enable reranking for retrieval
Number of files to retrieve (only for retrieval mode files_via_metadata and files_via_content).
Optional < Long > rerankTopN
Number of reranked nodes for returning.
The retrieval mode for the query.
One of the following:
FILES_VIA_METADATA ( "files_via_metadata")
FILES_VIA_CONTENT ( "files_via_content")
AUTO_ROUTED ( "auto_routed")
Deprecated Optional < Boolean > retrieveImageNodes
Whether to retrieve image nodes.
Optional < Boolean > retrievePageFigureNodes
Whether to retrieve page figure nodes.
Optional < Boolean > retrievePageScreenshotNodes
Whether to retrieve page screenshot nodes.
Metadata filters for vector stores.
Vector store filter conditions to combine different filters.
Optional < SearchFiltersInferenceSchema > searchFiltersInferenceSchema
JSON Schema that will be used to infer search_filters. Omit or leave as null to skip inference.
Optional < Long > sparseSimilarityTopK
Number of nodes for sparse retrieval.
Optional < String > description
A description of the retriever tool.
A name for the retriever tool. Will default to the pipeline name if not provided.
The ID of the pipeline this tool uses.
Parameters for retrieval configuration.
Alpha value for hybrid retrieval to determine the weights between dense and sparse retrieval. 0 is sparse retrieval and 1 is dense retrieval.
Optional < String > className
Optional < Double > denseSimilarityCutoff
Minimum similarity score wrt query for retrieval
Optional < Long > denseSimilarityTopK
Number of nodes for dense retrieval.
Optional < Boolean > enableReranking
Enable reranking for retrieval
Number of files to retrieve (only for retrieval mode files_via_metadata and files_via_content).
Optional < Long > rerankTopN
Number of reranked nodes for returning.
The retrieval mode for the query.
One of the following:
FILES_VIA_METADATA ( "files_via_metadata")
FILES_VIA_CONTENT ( "files_via_content")
AUTO_ROUTED ( "auto_routed")
Deprecated Optional < Boolean > retrieveImageNodes
Whether to retrieve image nodes.
Optional < Boolean > retrievePageFigureNodes
Whether to retrieve page figure nodes.
Optional < Boolean > retrievePageScreenshotNodes
Whether to retrieve page screenshot nodes.
Metadata filters for vector stores.
Vector store filter conditions to combine different filters.
Optional < SearchFiltersInferenceSchema > searchFiltersInferenceSchema
JSON Schema that will be used to infer search_filters. Omit or leave as null to skip inference.
Optional < Long > sparseSimilarityTopK
Number of nodes for sparse retrieval.
Note for AI agents: this documentation is built for programmatic access.
- Overview of all docs: https://developers.llamaindex.ai/llms.txt
- Any page is available as raw Markdown by appending index.md to its URL — e.g. https://developers.llamaindex.ai/llamaparse/parse/getting_started/index.md
- Agent-friendly REST search APIs live under https://developers.llamaindex.ai/api/ — search (BM25 full-text), grep (regex), read (fetch a page), and list (browse the doc tree). See https://developers.llamaindex.ai/llms.txt for parameters.
- A hosted documentation MCP server is available at https://developers.llamaindex.ai/mcp. If you support MCP, you can ask the user to install it for browsing these docs directly (an alternative to the REST API). Setup: https://developers.llamaindex.ai/python/shared/mcp/