chore: Make milvus an optional dependency
Make Milvus an optional dependency, expand docs with Milvus information Chore
This commit is contained in:
parent
f65070087f
commit
fb5f0cf00f
3 changed files with 15 additions and 3 deletions
|
|
@ -14,7 +14,7 @@ GRAPH_DATABASE_URL=
|
|||
GRAPH_DATABASE_USERNAME=
|
||||
GRAPH_DATABASE_PASSWORD=
|
||||
|
||||
# "qdrant", "pgvector", "weaviate" or "lancedb"
|
||||
# "qdrant", "pgvector", "weaviate", "milvus" or "lancedb"
|
||||
VECTOR_DB_PROVIDER="lancedb"
|
||||
# Not needed if using "lancedb" or "pgvector"
|
||||
VECTOR_DB_URL=
|
||||
|
|
|
|||
12
README.md
12
README.md
|
|
@ -53,6 +53,12 @@ pip install 'cognee[qdrant]'
|
|||
pip install 'cognee[neo4j]'
|
||||
```
|
||||
|
||||
### With pip with Milvus support
|
||||
|
||||
```bash
|
||||
pip install 'cognee[milvus]'
|
||||
```
|
||||
|
||||
### With poetry
|
||||
|
||||
```bash
|
||||
|
|
@ -83,6 +89,12 @@ poetry add cognee -E qdrant
|
|||
poetry add cognee -E neo4j
|
||||
```
|
||||
|
||||
### With poetry with Milvus support
|
||||
|
||||
```bash
|
||||
poetry add cognee -E milvus
|
||||
```
|
||||
|
||||
|
||||
## 💻 Basic Usage
|
||||
|
||||
|
|
|
|||
|
|
@ -70,7 +70,7 @@ asyncpg = {version = "0.30.0", optional = true}
|
|||
pgvector = {version = "^0.3.5", optional = true}
|
||||
psycopg2 = {version = "^2.9.10", optional = true}
|
||||
llama-index-core = {version = "^0.11.22", optional = true}
|
||||
pymilvus = "^2.5.0"
|
||||
pymilvus = {version = "^2.5.0", optional = true}
|
||||
|
||||
[tool.poetry.extras]
|
||||
filesystem = ["s3fs", "botocore"]
|
||||
|
|
@ -85,7 +85,7 @@ posthog = ["posthog"]
|
|||
falkordb = ["falkordb"]
|
||||
groq = ["groq"]
|
||||
langfuse = ["langfuse"]
|
||||
|
||||
milvus = ["pymilvus"]
|
||||
|
||||
[tool.poetry.group.dev.dependencies]
|
||||
pytest = "^7.4.0"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue