Skip to content

Commit 022db38

Browse files
authored
chore: complete backends dependency tags (docarray#328)
* chore: add dep tags for backends * docs: document usage and installation
1 parent 6c4ee9d commit 022db38

File tree

5 files changed

+13
-6
lines changed

5 files changed

+13
-6
lines changed

docs/advanced/document-store/annlite.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
One can use [Annlite](https://github.com/jina-ai/annlite) as the document store for DocumentArray. It is useful when one wants to have faster Document retrieval on embeddings, i.e. `.match()`, `.find()`.
55

66
````{tip}
7-
This feature requires `annlite`. You can install it via `pip install "docarray[full]".`
7+
This feature requires `annlite`. You can install it via `pip install "docarray[annlite]".`
88
````
99

1010

docs/advanced/document-store/elasticsearch.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
One can use [Elasticsearch](https://www.elastic.co) as the document store for DocumentArray. It is useful when one wants to have faster Document retrieval on embeddings, i.e. `.match()`, `.find()`.
55

66
````{tip}
7-
This feature requires `elasticsearch`. You can install it via `pip install "docarray[full]".`
7+
This feature requires `elasticsearch`. You can install it via `pip install "docarray[elasticsearch]".`
88
````
99

1010
## Usage

docs/advanced/document-store/qdrant.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
One can use [Qdrant](https://qdrant.tech) as the document store for DocumentArray. It is useful when one wants to have faster Document retrieval on embeddings, i.e. `.match()`, `.find()`.
55

66
````{tip}
7-
This feature requires `qdrant-client`. You can install it via `pip install "docarray[full]".`
7+
This feature requires `qdrant-client`. You can install it via `pip install "docarray[qdrant]".`
88
````
99

1010
## Usage

docs/advanced/document-store/weaviate.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
One can use [Weaviate](https://www.semi.technology) as the document store for DocumentArray. It is useful when one wants to have faster Document retrieval on embeddings, i.e. `.match()`, `.find()`.
55

66
````{tip}
7-
This feature requires `weaviate-client`. You can install it via `pip install "docarray[full]".`
7+
This feature requires `weaviate-client`. You can install it via `pip install "docarray[weaviate]".`
88
````
99

1010
Here is a video tutorial that guides you to build a simple image search using Weaviate and Docarray.

setup.py

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,18 +62,24 @@
6262
'av',
6363
'fastapi',
6464
'uvicorn',
65+
'strawberry-graphql',
6566
'weaviate-client~=3.3.0',
6667
'annlite>=0.3.0',
6768
'qdrant-client~=0.7.1',
68-
'strawberry-graphql',
6969
'elasticsearch>=8.0.1',
7070
],
7171
'qdrant': [
72-
'qdrant-client~=0.7.0',
72+
'qdrant-client~=0.7.1',
7373
],
7474
'annlite': [
7575
'annlite>=0.3.0',
7676
],
77+
'weaviate': [
78+
'weaviate-client~=3.3.0',
79+
],
80+
'elasticsearch': [
81+
'elasticsearch>=8.0.1',
82+
],
7783
'test': [
7884
'pytest',
7985
'pytest-timeout',
@@ -95,6 +101,7 @@
95101
'transformers>=4.16.2',
96102
'weaviate-client~=3.3.0',
97103
'annlite>=0.3.0',
104+
'elasticsearch>=8.0.1',
98105
'jina',
99106
],
100107
},

0 commit comments

Comments
 (0)