swarmauri_vectorstore_redis 0.7.0.dev11__tar.gz → 0.7.1__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_redis-0.7.0.dev11 → swarmauri_vectorstore_redis-0.7.1}/PKG-INFO +15 -10
- swarmauri_vectorstore_redis-0.7.1/README.md +60 -0
- {swarmauri_vectorstore_redis-0.7.0.dev11 → swarmauri_vectorstore_redis-0.7.1}/pyproject.toml +3 -3
- swarmauri_vectorstore_redis-0.7.0.dev11/README.md +0 -55
- {swarmauri_vectorstore_redis-0.7.0.dev11 → swarmauri_vectorstore_redis-0.7.1}/LICENSE +0 -0
- {swarmauri_vectorstore_redis-0.7.0.dev11 → swarmauri_vectorstore_redis-0.7.1}/swarmauri_vectorstore_redis/RedisDocumentRetriever.py +0 -0
- {swarmauri_vectorstore_redis-0.7.0.dev11 → swarmauri_vectorstore_redis-0.7.1}/swarmauri_vectorstore_redis/RedisVectorStore.py +0 -0
- {swarmauri_vectorstore_redis-0.7.0.dev11 → swarmauri_vectorstore_redis-0.7.1}/swarmauri_vectorstore_redis/__init__.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.3
|
2
2
|
Name: swarmauri_vectorstore_redis
|
3
|
-
Version: 0.7.
|
3
|
+
Version: 0.7.1
|
4
4
|
Summary: Swarmauri Redis Vector Store
|
5
5
|
License: Apache-2.0
|
6
6
|
Author: Jacob Stewart
|
@@ -18,20 +18,25 @@ Requires-Dist: swarmauri_embedding_doc2vec
|
|
18
18
|
Requires-Dist: swarmauri_standard
|
19
19
|
Description-Content-Type: text/markdown
|
20
20
|
|
21
|
-

|
22
21
|
|
23
|
-
|
22
|
+

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

|
3
|
+
|
4
|
+
<p align="center">
|
5
|
+
<a href="https://pypi.org/project/swarmauri_vectorstore_redis/">
|
6
|
+
<img src="https://img.shields.io/pypi/dm/swarmauri_vectorstore_redis" alt="PyPI - Downloads"/></a>
|
7
|
+
<a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/community/swarmauri_vectorstore_redis/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_redis/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_redis/">
|
10
|
+
<img src="https://img.shields.io/pypi/pyversions/swarmauri_vectorstore_redis" alt="PyPI - Python Version"/></a>
|
11
|
+
<a href="https://pypi.org/project/swarmauri_vectorstore_redis/">
|
12
|
+
<img src="https://img.shields.io/pypi/l/swarmauri_vectorstore_redis" alt="PyPI - License"/></a>
|
13
|
+
<a href="https://pypi.org/project/swarmauri_vectorstore_redis/">
|
14
|
+
<img src="https://img.shields.io/pypi/v/swarmauri_vectorstore_redis?label=swarmauri_vectorstore_redis&color=green" alt="PyPI - swarmauri_vectorstore_redis"/></a>
|
15
|
+
</p>
|
16
|
+
|
17
|
+
---
|
18
|
+
|
19
|
+
# Swarmauri Vectorstore Redis
|
20
|
+
|
21
|
+
A Redis-based vector store implementation for the Swarmauri SDK that enables efficient storage and retrieval of document embeddings.
|
22
|
+
|
23
|
+
## Installation
|
24
|
+
|
25
|
+
```bash
|
26
|
+
pip install swarmauri_vectorstore_redis
|
27
|
+
```
|
28
|
+
|
29
|
+
## Usage
|
30
|
+
|
31
|
+
Basic example of using RedisVectorStore:
|
32
|
+
|
33
|
+
```python
|
34
|
+
from swarmauri.vector_stores.RedisVectorStore import RedisVectorStore
|
35
|
+
from swarmauri.documents.Document import Document
|
36
|
+
|
37
|
+
# Initialize the vector store
|
38
|
+
vector_store = RedisVectorStore(
|
39
|
+
redis_host="localhost",
|
40
|
+
redis_port=6379,
|
41
|
+
redis_password="your_password",
|
42
|
+
embedding_dimension=8000
|
43
|
+
)
|
44
|
+
|
45
|
+
# Add documents
|
46
|
+
document = Document(
|
47
|
+
id="doc1",
|
48
|
+
content="Sample document content",
|
49
|
+
metadata={"category": "sample"}
|
50
|
+
)
|
51
|
+
vector_store.add_document(document)
|
52
|
+
|
53
|
+
# Retrieve similar documents
|
54
|
+
similar_docs = vector_store.retrieve("sample content", top_k=5)
|
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
|
+
|
{swarmauri_vectorstore_redis-0.7.0.dev11 → swarmauri_vectorstore_redis-0.7.1}/pyproject.toml
RENAMED
@@ -1,6 +1,6 @@
|
|
1
1
|
[project]
|
2
2
|
name = "swarmauri_vectorstore_redis"
|
3
|
-
version = "0.7.
|
3
|
+
version = "0.7.1"
|
4
4
|
description = "Swarmauri Redis Vector Store"
|
5
5
|
license = "Apache-2.0"
|
6
6
|
readme = "README.md"
|
@@ -47,10 +47,10 @@ log_cli_format = "%(asctime)s [%(levelname)s] %(message)s"
|
|
47
47
|
log_cli_date_format = "%Y-%m-%d %H:%M:%S"
|
48
48
|
asyncio_default_fixture_loop_scope = "function"
|
49
49
|
|
50
|
-
[
|
50
|
+
[project.entry-points.'swarmauri.vector_stores']
|
51
51
|
RedisVectorStore = "swarmauri_vectorstore_redis.RedisVectorStore:RedisVectorStore"
|
52
52
|
|
53
|
-
[
|
53
|
+
[project.entry-points.'swarmauri.retrievers']
|
54
54
|
RedisDocumentRetriever = "swarmauri_vectorstore_redis.RedisDocumentRetriever:RedisDocumentRetriever"
|
55
55
|
|
56
56
|
|
@@ -1,55 +0,0 @@
|
|
1
|
-

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

|
6
|
-

|
7
|
-

|
8
|
-

|
9
|
-
|
10
|
-
</div>
|
11
|
-
|
12
|
-
---
|
13
|
-
|
14
|
-
# Redis Vector Store for Swarmauri
|
15
|
-
|
16
|
-
A Redis-based vector store implementation for the Swarmauri SDK that enables efficient storage and retrieval of document embeddings.
|
17
|
-
|
18
|
-
## Installation
|
19
|
-
|
20
|
-
```bash
|
21
|
-
pip install swarmauri_vectorstore_redis
|
22
|
-
```
|
23
|
-
|
24
|
-
## Usage
|
25
|
-
|
26
|
-
Basic example of using RedisVectorStore:
|
27
|
-
|
28
|
-
```python
|
29
|
-
from swarmauri.vector_stores.RedisVectorStore import RedisVectorStore
|
30
|
-
from swarmauri.documents.Document import Document
|
31
|
-
|
32
|
-
# Initialize the vector store
|
33
|
-
vector_store = RedisVectorStore(
|
34
|
-
redis_host="localhost",
|
35
|
-
redis_port=6379,
|
36
|
-
redis_password="your_password",
|
37
|
-
embedding_dimension=8000
|
38
|
-
)
|
39
|
-
|
40
|
-
# Add documents
|
41
|
-
document = Document(
|
42
|
-
id="doc1",
|
43
|
-
content="Sample document content",
|
44
|
-
metadata={"category": "sample"}
|
45
|
-
)
|
46
|
-
vector_store.add_document(document)
|
47
|
-
|
48
|
-
# Retrieve similar documents
|
49
|
-
similar_docs = vector_store.retrieve("sample content", top_k=5)
|
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
|
File without changes
|