swarmauri_vectorstore_persistentchromadb 0.7.0.dev12__tar.gz → 0.7.1.dev1__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.
- {swarmauri_vectorstore_persistentchromadb-0.7.0.dev12 → swarmauri_vectorstore_persistentchromadb-0.7.1.dev1}/PKG-INFO +15 -10
- swarmauri_vectorstore_persistentchromadb-0.7.1.dev1/README.md +60 -0
- {swarmauri_vectorstore_persistentchromadb-0.7.0.dev12 → swarmauri_vectorstore_persistentchromadb-0.7.1.dev1}/pyproject.toml +2 -2
- swarmauri_vectorstore_persistentchromadb-0.7.0.dev12/README.md +0 -55
- {swarmauri_vectorstore_persistentchromadb-0.7.0.dev12 → swarmauri_vectorstore_persistentchromadb-0.7.1.dev1}/LICENSE +0 -0
- {swarmauri_vectorstore_persistentchromadb-0.7.0.dev12 → swarmauri_vectorstore_persistentchromadb-0.7.1.dev1}/swarmauri_vectorstore_persistentchromadb/PersistentChromaDBVectorStore.py +0 -0
- {swarmauri_vectorstore_persistentchromadb-0.7.0.dev12 → swarmauri_vectorstore_persistentchromadb-0.7.1.dev1}/swarmauri_vectorstore_persistentchromadb/__init__.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: swarmauri_vectorstore_persistentchromadb
|
|
3
|
-
Version: 0.7.
|
|
3
|
+
Version: 0.7.1.dev1
|
|
4
4
|
Summary: A Persistent ChromaDB based Vector Store
|
|
5
5
|
License: Apache-2.0
|
|
6
6
|
Author: Jacob Stewart
|
|
@@ -17,20 +17,25 @@ Requires-Dist: swarmauri_embedding_doc2vec
|
|
|
17
17
|
Requires-Dist: swarmauri_standard
|
|
18
18
|
Description-Content-Type: text/markdown
|
|
19
19
|
|
|
20
|
-

|
|
21
20
|
|
|
22
|
-
|
|
21
|
+

|
|
23
22
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
23
|
+
<p align="center">
|
|
24
|
+
<a href="https://pypi.org/project/swarmauri_vectorstore_persistentchromadb/">
|
|
25
|
+
<img src="https://img.shields.io/pypi/dm/swarmauri_vectorstore_persistentchromadb" alt="PyPI - Downloads"/></a>
|
|
26
|
+
<a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/community/swarmauri_vectorstore_persistentchromadb/README.md">
|
|
27
|
+
<img src="https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https://github.com/swarmauri/swarmauri-sdk/pkgs/community/swarmauri_vectorstore_persistentchromadb/README.md&count_bg=%2379C83D&title_bg=%23555555&icon=&icon_color=%23E7E7E7&title=hits&edge_flat=false" alt="GitHub Hits"/></a>
|
|
28
|
+
<a href="https://pypi.org/project/swarmauri_vectorstore_persistentchromadb/">
|
|
29
|
+
<img src="https://img.shields.io/pypi/pyversions/swarmauri_vectorstore_persistentchromadb" alt="PyPI - Python Version"/></a>
|
|
30
|
+
<a href="https://pypi.org/project/swarmauri_vectorstore_persistentchromadb/">
|
|
31
|
+
<img src="https://img.shields.io/pypi/l/swarmauri_vectorstore_persistentchromadb" alt="PyPI - License"/></a>
|
|
32
|
+
<a href="https://pypi.org/project/swarmauri_vectorstore_persistentchromadb/">
|
|
33
|
+
<img src="https://img.shields.io/pypi/v/swarmauri_vectorstore_persistentchromadb?label=swarmauri_vectorstore_persistentchromadb&color=green" alt="PyPI - swarmauri_vectorstore_persistentchromadb"/></a>
|
|
34
|
+
</p>
|
|
30
35
|
|
|
31
36
|
---
|
|
32
37
|
|
|
33
|
-
#
|
|
38
|
+
# Swarmauri Vectorstore Persistentchromadb
|
|
34
39
|
|
|
35
40
|
A persistent vector store implementation using ChromaDB for document storage and retrieval with embeddings.
|
|
36
41
|
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
|
|
2
|
+

|
|
3
|
+
|
|
4
|
+
<p align="center">
|
|
5
|
+
<a href="https://pypi.org/project/swarmauri_vectorstore_persistentchromadb/">
|
|
6
|
+
<img src="https://img.shields.io/pypi/dm/swarmauri_vectorstore_persistentchromadb" alt="PyPI - Downloads"/></a>
|
|
7
|
+
<a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/community/swarmauri_vectorstore_persistentchromadb/README.md">
|
|
8
|
+
<img src="https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https://github.com/swarmauri/swarmauri-sdk/pkgs/community/swarmauri_vectorstore_persistentchromadb/README.md&count_bg=%2379C83D&title_bg=%23555555&icon=&icon_color=%23E7E7E7&title=hits&edge_flat=false" alt="GitHub Hits"/></a>
|
|
9
|
+
<a href="https://pypi.org/project/swarmauri_vectorstore_persistentchromadb/">
|
|
10
|
+
<img src="https://img.shields.io/pypi/pyversions/swarmauri_vectorstore_persistentchromadb" alt="PyPI - Python Version"/></a>
|
|
11
|
+
<a href="https://pypi.org/project/swarmauri_vectorstore_persistentchromadb/">
|
|
12
|
+
<img src="https://img.shields.io/pypi/l/swarmauri_vectorstore_persistentchromadb" alt="PyPI - License"/></a>
|
|
13
|
+
<a href="https://pypi.org/project/swarmauri_vectorstore_persistentchromadb/">
|
|
14
|
+
<img src="https://img.shields.io/pypi/v/swarmauri_vectorstore_persistentchromadb?label=swarmauri_vectorstore_persistentchromadb&color=green" alt="PyPI - swarmauri_vectorstore_persistentchromadb"/></a>
|
|
15
|
+
</p>
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
# Swarmauri Vectorstore Persistentchromadb
|
|
20
|
+
|
|
21
|
+
A persistent vector store implementation using ChromaDB for document storage and retrieval with embeddings.
|
|
22
|
+
|
|
23
|
+
## Installation
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
pip install swarmauri_vectorstore_persistentchromadb
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
## Usage
|
|
30
|
+
|
|
31
|
+
```python
|
|
32
|
+
from swarmauri.documents.Document import Document
|
|
33
|
+
from swarmauri.vector_stores.PersistentChromaDBVectorStore import PersistentChromaDBVectorStore
|
|
34
|
+
|
|
35
|
+
# Initialize the vector store
|
|
36
|
+
vector_store = PersistentChromaDBVectorStore(
|
|
37
|
+
path="./chromadb_data",
|
|
38
|
+
collection_name="my_collection",
|
|
39
|
+
vector_size=100
|
|
40
|
+
)
|
|
41
|
+
|
|
42
|
+
# Connect to the store
|
|
43
|
+
vector_store.connect()
|
|
44
|
+
|
|
45
|
+
# Add documents
|
|
46
|
+
documents = [
|
|
47
|
+
Document(content="first document"),
|
|
48
|
+
Document(content="second document"),
|
|
49
|
+
Document(content="third document")
|
|
50
|
+
]
|
|
51
|
+
vector_store.add_documents(documents)
|
|
52
|
+
|
|
53
|
+
# Retrieve similar documents
|
|
54
|
+
results = vector_store.retrieve(query="document", top_k=2)
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
## Want to help?
|
|
58
|
+
|
|
59
|
+
If you want to contribute to swarmauri-sdk, read up on our [guidelines for contributing](https://github.com/swarmauri/swarmauri-sdk/blob/master/contributing.md) that will help you get started.
|
|
60
|
+
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "swarmauri_vectorstore_persistentchromadb"
|
|
3
|
-
version = "0.7.
|
|
3
|
+
version = "0.7.1.dev1"
|
|
4
4
|
description = "A Persistent ChromaDB based Vector Store"
|
|
5
5
|
license = "Apache-2.0"
|
|
6
6
|
readme = "README.md"
|
|
@@ -46,7 +46,7 @@ log_cli_format = "%(asctime)s [%(levelname)s] %(message)s"
|
|
|
46
46
|
log_cli_date_format = "%Y-%m-%d %H:%M:%S"
|
|
47
47
|
asyncio_default_fixture_loop_scope = "function"
|
|
48
48
|
|
|
49
|
-
[
|
|
49
|
+
[project.entry-points.'swarmauri.vector_stores']
|
|
50
50
|
PersistentChromaDBVectorStore = "swarmauri_vectorstore_persistentchromadb.PersistentChromaDBVectorStore:PersistentChromaDBVectorStore"
|
|
51
51
|
[build-system]
|
|
52
52
|
requires = ["poetry-core>=1.0.0"]
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-

|
|
2
|
-
|
|
3
|
-
<div align="center">
|
|
4
|
-
|
|
5
|
-

|
|
6
|
-

|
|
7
|
-

|
|
8
|
-

|
|
9
|
-
|
|
10
|
-
</div>
|
|
11
|
-
|
|
12
|
-
---
|
|
13
|
-
|
|
14
|
-
# Persistent ChromaDB Vector Store
|
|
15
|
-
|
|
16
|
-
A persistent vector store implementation using ChromaDB for document storage and retrieval with embeddings.
|
|
17
|
-
|
|
18
|
-
## Installation
|
|
19
|
-
|
|
20
|
-
```bash
|
|
21
|
-
pip install swarmauri_vectorstore_persistentchromadb
|
|
22
|
-
```
|
|
23
|
-
|
|
24
|
-
## Usage
|
|
25
|
-
|
|
26
|
-
```python
|
|
27
|
-
from swarmauri.documents.Document import Document
|
|
28
|
-
from swarmauri.vector_stores.PersistentChromaDBVectorStore import PersistentChromaDBVectorStore
|
|
29
|
-
|
|
30
|
-
# Initialize the vector store
|
|
31
|
-
vector_store = PersistentChromaDBVectorStore(
|
|
32
|
-
path="./chromadb_data",
|
|
33
|
-
collection_name="my_collection",
|
|
34
|
-
vector_size=100
|
|
35
|
-
)
|
|
36
|
-
|
|
37
|
-
# Connect to the store
|
|
38
|
-
vector_store.connect()
|
|
39
|
-
|
|
40
|
-
# Add documents
|
|
41
|
-
documents = [
|
|
42
|
-
Document(content="first document"),
|
|
43
|
-
Document(content="second document"),
|
|
44
|
-
Document(content="third document")
|
|
45
|
-
]
|
|
46
|
-
vector_store.add_documents(documents)
|
|
47
|
-
|
|
48
|
-
# Retrieve similar documents
|
|
49
|
-
results = vector_store.retrieve(query="document", top_k=2)
|
|
50
|
-
```
|
|
51
|
-
|
|
52
|
-
## Want to help?
|
|
53
|
-
|
|
54
|
-
If you want to contribute to swarmauri-sdk, read up on our [guidelines for contributing](https://github.com/swarmauri/swarmauri-sdk/blob/master/contributing.md) that will help you get started.
|
|
55
|
-
|
|
File without changes
|
|
File without changes
|