mirror of https://github.com/hwchase17/langchain
mv self-query docs to integrations (#11744)
parent
9e1e0f54d2
commit
8e6fa5f1d7
@ -0,0 +1,11 @@
|
||||
---
|
||||
sidebar-position: 0
|
||||
---
|
||||
|
||||
# Self-querying retriever
|
||||
|
||||
Learn about how the self-querying retriever works [here](/docs/modules/data_connection/retrievers/self_query).
|
||||
|
||||
import DocCardList from "@theme/DocCardList";
|
||||
|
||||
<DocCardList />
|
@ -1,9 +0,0 @@
|
||||
# Self-querying
|
||||
|
||||
A self-querying retriever is one that, as the name suggests, has the ability to query itself. Specifically, given any natural language query, the retriever uses a query-constructing LLM chain to write a structured query and then applies that structured query to its underlying VectorStore. This allows the retriever to not only use the user-input query for semantic similarity comparison with the contents of stored documents but to also extract filters from the user query on the metadata of stored documents and to execute those filters.
|
||||
|
||||
![](https://drive.google.com/uc?id=1OQUN-0MJcDUxmPXofgS7MqReEs720pqS)
|
||||
|
||||
import Example from "@snippets/modules/data_connection/retrievers/self_query/get_started.mdx"
|
||||
|
||||
<Example/>
|
Loading…
Reference in New Issue