Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: Update Milvus documentation to correctly show how to filter in …
…similarity_search (#27723) ### Description/Issue: I had problems filtering when setting up a local Milvus db and noticed that the `filter` option in the `similarity_search` and `similarity_search_with_score` appeared to do nothing. Instead, the `expr` option should be used. The `expr` option is correctly used in the retriever example further down in the documentation. The `expr` option seems to be correctly passed on, for example [here](https://github.com/langchain-ai/langchain/blob/447c0dd2f051157a3ccdac49a8d5ca6c06ea1401/libs/community/langchain_community/vectorstores/milvus.py#L701) ### Solution: Update the documentation for the functions mentioned to show intended behavior. --------- Co-authored-by: Chester Curme <[email protected]>
- Loading branch information