llama-index-vector-stores-docarray 0.1.2__tar.gz → 0.2.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {llama_index_vector_stores_docarray-0.1.2 → llama_index_vector_stores_docarray-0.2.0}/PKG-INFO +2 -2
- llama_index_vector_stores_docarray-0.2.0/llama_index/py.typed +0 -0
- {llama_index_vector_stores_docarray-0.1.2 → llama_index_vector_stores_docarray-0.2.0}/llama_index/vector_stores/docarray/hnsw.py +10 -0
- {llama_index_vector_stores_docarray-0.1.2 → llama_index_vector_stores_docarray-0.2.0}/llama_index/vector_stores/docarray/in_memory.py +10 -0
- {llama_index_vector_stores_docarray-0.1.2 → llama_index_vector_stores_docarray-0.2.0}/pyproject.toml +2 -2
- {llama_index_vector_stores_docarray-0.1.2 → llama_index_vector_stores_docarray-0.2.0}/README.md +0 -0
- {llama_index_vector_stores_docarray-0.1.2 → llama_index_vector_stores_docarray-0.2.0}/llama_index/vector_stores/docarray/__init__.py +0 -0
- {llama_index_vector_stores_docarray-0.1.2 → llama_index_vector_stores_docarray-0.2.0}/llama_index/vector_stores/docarray/base.py +0 -0
- {llama_index_vector_stores_docarray-0.1.2 → llama_index_vector_stores_docarray-0.2.0}/llama_index/vector_stores/txtai.py +0 -0
{llama_index_vector_stores_docarray-0.1.2 → llama_index_vector_stores_docarray-0.2.0}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: llama-index-vector-stores-docarray
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.2.0
|
|
4
4
|
Summary: llama-index vector stores docarray integration
|
|
5
5
|
License: MIT
|
|
6
6
|
Author: Your Name
|
|
@@ -13,7 +13,7 @@ Classifier: Programming Language :: Python :: 3.10
|
|
|
13
13
|
Classifier: Programming Language :: Python :: 3.11
|
|
14
14
|
Classifier: Programming Language :: Python :: 3.12
|
|
15
15
|
Requires-Dist: docarray (>=0.40.0,<0.41.0)
|
|
16
|
-
Requires-Dist: llama-index-core (>=0.
|
|
16
|
+
Requires-Dist: llama-index-core (>=0.11.0,<0.12.0)
|
|
17
17
|
Description-Content-Type: text/markdown
|
|
18
18
|
|
|
19
19
|
# LlamaIndex Vector Stores Integration: Docarray
|
|
File without changes
|
|
@@ -10,6 +10,16 @@ class DocArrayHnswVectorStore(DocArrayVectorStore):
|
|
|
10
10
|
|
|
11
11
|
This class is a lightweight Document Index implementation provided by Docarray.
|
|
12
12
|
It stores vectors on disk in hnswlib, and stores all other data in SQLite.
|
|
13
|
+
|
|
14
|
+
Examples:
|
|
15
|
+
`pip install llama-index-vector-stores-docarray`
|
|
16
|
+
|
|
17
|
+
```python
|
|
18
|
+
from llama_index.vector_stores.docarray import DocArrayHnswVectorStore
|
|
19
|
+
|
|
20
|
+
# Initialize the DocArrayHnswVectorStore
|
|
21
|
+
vector_store = DocArrayHnswVectorStore(work_dir="hnsw_index", dim=1536)
|
|
22
|
+
```
|
|
13
23
|
"""
|
|
14
24
|
|
|
15
25
|
def __init__(
|
|
@@ -8,6 +8,16 @@ class DocArrayInMemoryVectorStore(DocArrayVectorStore):
|
|
|
8
8
|
"""Class representing a DocArray In-Memory vector store.
|
|
9
9
|
|
|
10
10
|
This class is a document index provided by Docarray that stores documents in memory.
|
|
11
|
+
|
|
12
|
+
Examples:
|
|
13
|
+
`pip install llama-index-vector-stores-docarray`
|
|
14
|
+
|
|
15
|
+
```python
|
|
16
|
+
from llama_index.vector_stores.docarray import DocArrayInMemoryVectorStore
|
|
17
|
+
|
|
18
|
+
# Create an instance of DocArrayInMemoryVectorStore
|
|
19
|
+
vector_store = DocArrayInMemoryVectorStore()
|
|
20
|
+
```
|
|
11
21
|
"""
|
|
12
22
|
|
|
13
23
|
def __init__(
|
{llama_index_vector_stores_docarray-0.1.2 → llama_index_vector_stores_docarray-0.2.0}/pyproject.toml
RENAMED
|
@@ -28,12 +28,12 @@ exclude = ["**/BUILD"]
|
|
|
28
28
|
license = "MIT"
|
|
29
29
|
name = "llama-index-vector-stores-docarray"
|
|
30
30
|
readme = "README.md"
|
|
31
|
-
version = "0.
|
|
31
|
+
version = "0.2.0"
|
|
32
32
|
|
|
33
33
|
[tool.poetry.dependencies]
|
|
34
34
|
python = ">=3.8.1,<4.0"
|
|
35
|
-
llama-index-core = "^0.10.1"
|
|
36
35
|
docarray = "^0.40.0"
|
|
36
|
+
llama-index-core = "^0.11.0"
|
|
37
37
|
|
|
38
38
|
[tool.poetry.group.dev.dependencies]
|
|
39
39
|
ipython = "8.10.0"
|
{llama_index_vector_stores_docarray-0.1.2 → llama_index_vector_stores_docarray-0.2.0}/README.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|