2024-05-28 15:24:20 +00:00
|
|
|
# langchain-milvus
|
|
|
|
|
|
|
|
This is a library integration with [Milvus](https://milvus.io/) and [Zilliz Cloud](https://zilliz.com/cloud).
|
|
|
|
|
|
|
|
## Installation
|
|
|
|
|
|
|
|
```bash
|
|
|
|
pip install -U langchain-milvus
|
|
|
|
```
|
|
|
|
|
|
|
|
## Milvus vector database
|
|
|
|
|
2024-05-30 15:28:55 +00:00
|
|
|
See a [usage example](https://python.langchain.com/v0.2/docs/integrations/vectorstores/milvus/)
|
2024-05-28 15:24:20 +00:00
|
|
|
|
|
|
|
```python
|
|
|
|
from langchain_milvus import Milvus
|
|
|
|
```
|
|
|
|
|
|
|
|
## Milvus hybrid search
|
|
|
|
|
2024-05-30 15:28:55 +00:00
|
|
|
See a [usage example](https://python.langchain.com/v0.2/docs/integrations/retrievers/milvus_hybrid_search/).
|
2024-05-28 15:24:20 +00:00
|
|
|
|
|
|
|
```python
|
|
|
|
from langchain_milvus import MilvusCollectionHybridSearchRetriever
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
## Zilliz Cloud vector database
|
|
|
|
|
2024-05-30 15:28:55 +00:00
|
|
|
See a [usage example](https://python.langchain.com/v0.2/docs/integrations/vectorstores/zilliz/).
|
2024-05-28 15:24:20 +00:00
|
|
|
|
|
|
|
```python
|
|
|
|
from langchain_milvus import Zilliz
|
|
|
|
```
|
|
|
|
|
|
|
|
## Zilliz Cloud Pipeline Retriever
|
|
|
|
|
2024-05-30 15:28:55 +00:00
|
|
|
See a [usage example](https://python.langchain.com/v0.2/docs/integrations/retrievers/zilliz_cloud_pipeline/).
|
2024-05-28 15:24:20 +00:00
|
|
|
|
|
|
|
```python
|
|
|
|
from langchain_milvus import ZillizCloudPipelineRetriever
|
|
|
|
```
|