Retrieversο
Index Retrieversο
Below we show index-specific retriever classes.
Index Retrievers
NOTE: our structured indices (e.g. PandasIndex, SQLStructStoreIndex) donβt have any retrievers, since they are not designed to be used with the retriever API. Please see the Query Engine page for more details.
Additional Retrieversο
Here we show additional retriever classes; these classes can augment existing retrievers with new capabilities (e.g. query transforms).
Additional Retrievers
Base Retrieverο
Here we show the base retriever class, which contains the retrieve method which is shared amongst all retrievers.
- class llama_index.indices.base_retriever.BaseRetrieverο
Base retriever.
- retrieve(str_or_query_bundle: Union[str, QueryBundle]) List[NodeWithScore] ο
Retrieve nodes given query.
- Parameters
str_or_query_bundle (QueryType) β Either a query string or a QueryBundle object.