langchain
8a5807a6 - docs: Update Milvus documentation to correctly show how to filter in similarity_search (#27723)

Commit
1 year ago
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 <chester.curme@gmail.com>
Author
Parents
Loading