mirror of
https://github.com/hwchase17/langchain.git
synced 2025-05-31 12:09:58 +00:00
docs: Fixed typos and improve metadata explanation (#29266)
Fix mini typos and made the explanation of metadata filtering clearer
This commit is contained in:
parent
f0226135e5
commit
97a5bc7fc7
@ -151,10 +151,10 @@ Many vectorstores support [the `k`](/docs/integrations/vectorstores/pinecone/#qu
|
||||
### Metadata filtering
|
||||
|
||||
While vectorstore implement a search algorithm to efficiently search over *all* the embedded documents to find the most similar ones, many also support filtering on metadata.
|
||||
This allows structured filters to reduce the size of the similarity search space. These two concepts work well together:
|
||||
Metadata filtering helps narrow down the search by applying specific conditions such as retrieving documents from a particular source or date range. These two concepts work well together:
|
||||
|
||||
1. **Semantic search**: Query the unstructured data directly, often using via embedding or keyword similarity.
|
||||
2. **Metadata search**: Apply structured query to the metadata, filering specific documents.
|
||||
1. **Semantic search**: Query the unstructured data directly, often via embedding or keyword similarity.
|
||||
2. **Metadata search**: Apply structured query to the metadata, filtering specific documents.
|
||||
|
||||
Vector store support for metadata filtering is typically dependent on the underlying vector store implementation.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user