swarmauri_vectorstore_redis 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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: swarmauri_vectorstore_redis
3
- Version: 0.7.0.dev12
3
+ Version: 0.7.1.dev1
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
- ![Swarmauri Logo](https://res.cloudinary.com/dbjmpekvl/image/upload/v1730099724/Swarmauri-logo-lockup-2048x757_hww01w.png)
22
21
 
23
- <div align="center">
22
+ ![Swamauri Logo](https://res.cloudinary.com/dbjmpekvl/image/upload/v1730099724/Swarmauri-logo-lockup-2048x757_hww01w.png)
24
23
 
25
- ![PyPI - Downloads](https://img.shields.io/pypi/dm/swarmauri_vectorstore_redis)
26
- ![PyPI - Python Version](https://img.shields.io/pypi/pyversions/swarmauri_vectorstore_redis)
27
- ![PyPI - License](https://img.shields.io/pypi/l/swarmauri_vectorstore_redis)
28
- ![PyPI - Version](https://img.shields.io/pypi/v/swarmauri_vectorstore_redis?label=swarmauri_vectorstore_redis&color=green)
29
-
30
- </div>
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
- # Redis Vector Store for Swarmauri
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
+ ![Swamauri Logo](https://res.cloudinary.com/dbjmpekvl/image/upload/v1730099724/Swarmauri-logo-lockup-2048x757_hww01w.png)
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
+
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "swarmauri_vectorstore_redis"
3
- version = "0.7.0.dev12"
3
+ version = "0.7.1.dev1"
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
- [tool.project.entry-points."swarmauri.vector_stores"]
50
+ [project.entry-points.'swarmauri.vector_stores']
51
51
  RedisVectorStore = "swarmauri_vectorstore_redis.RedisVectorStore:RedisVectorStore"
52
52
 
53
- [tool.project.entry-points."swarmauri.retrievers"]
53
+ [project.entry-points.'swarmauri.retrievers']
54
54
  RedisDocumentRetriever = "swarmauri_vectorstore_redis.RedisDocumentRetriever:RedisDocumentRetriever"
55
55
 
56
56
 
@@ -1,55 +0,0 @@
1
- ![Swarmauri Logo](https://res.cloudinary.com/dbjmpekvl/image/upload/v1730099724/Swarmauri-logo-lockup-2048x757_hww01w.png)
2
-
3
- <div align="center">
4
-
5
- ![PyPI - Downloads](https://img.shields.io/pypi/dm/swarmauri_vectorstore_redis)
6
- ![PyPI - Python Version](https://img.shields.io/pypi/pyversions/swarmauri_vectorstore_redis)
7
- ![PyPI - License](https://img.shields.io/pypi/l/swarmauri_vectorstore_redis)
8
- ![PyPI - Version](https://img.shields.io/pypi/v/swarmauri_vectorstore_redis?label=swarmauri_vectorstore_redis&color=green)
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
-