swarmauri_vectorstore_doc2vec 0.7.0.dev11__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_doc2vec-0.7.0.dev11 → swarmauri_vectorstore_doc2vec-0.7.1.dev1}/PKG-INFO +15 -10
- swarmauri_vectorstore_doc2vec-0.7.1.dev1/README.md +54 -0
- {swarmauri_vectorstore_doc2vec-0.7.0.dev11 → swarmauri_vectorstore_doc2vec-0.7.1.dev1}/pyproject.toml +2 -2
- swarmauri_vectorstore_doc2vec-0.7.0.dev11/README.md +0 -49
- {swarmauri_vectorstore_doc2vec-0.7.0.dev11 → swarmauri_vectorstore_doc2vec-0.7.1.dev1}/LICENSE +0 -0
- {swarmauri_vectorstore_doc2vec-0.7.0.dev11 → swarmauri_vectorstore_doc2vec-0.7.1.dev1}/swarmauri_vectorstore_doc2vec/Doc2VecVectorStore.py +0 -0
- {swarmauri_vectorstore_doc2vec-0.7.0.dev11 → swarmauri_vectorstore_doc2vec-0.7.1.dev1}/swarmauri_vectorstore_doc2vec/__init__.py +0 -0
{swarmauri_vectorstore_doc2vec-0.7.0.dev11 → swarmauri_vectorstore_doc2vec-0.7.1.dev1}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: swarmauri_vectorstore_doc2vec
|
|
3
|
-
Version: 0.7.
|
|
3
|
+
Version: 0.7.1.dev1
|
|
4
4
|
Summary: A Doc2Vec based Vector Store and Doc2Vec Based Embedding Model.
|
|
5
5
|
License: Apache-2.0
|
|
6
6
|
Author: Jacob Stewart
|
|
@@ -16,20 +16,25 @@ Requires-Dist: swarmauri_embedding_doc2vec
|
|
|
16
16
|
Requires-Dist: swarmauri_standard
|
|
17
17
|
Description-Content-Type: text/markdown
|
|
18
18
|
|
|
19
|
-

|
|
20
19
|
|
|
21
|
-
|
|
20
|
+

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

|
|
3
|
+
|
|
4
|
+
<p align="center">
|
|
5
|
+
<a href="https://pypi.org/project/swarmauri_vectorstore_doc2vec/">
|
|
6
|
+
<img src="https://img.shields.io/pypi/dm/swarmauri_vectorstore_doc2vec" alt="PyPI - Downloads"/></a>
|
|
7
|
+
<a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/standards/swarmauri_vectorstore_doc2vec/README.md">
|
|
8
|
+
<img src="https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https://github.com/swarmauri/swarmauri-sdk/pkgs/standards/swarmauri_vectorstore_doc2vec/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_doc2vec/">
|
|
10
|
+
<img src="https://img.shields.io/pypi/pyversions/swarmauri_vectorstore_doc2vec" alt="PyPI - Python Version"/></a>
|
|
11
|
+
<a href="https://pypi.org/project/swarmauri_vectorstore_doc2vec/">
|
|
12
|
+
<img src="https://img.shields.io/pypi/l/swarmauri_vectorstore_doc2vec" alt="PyPI - License"/></a>
|
|
13
|
+
<a href="https://pypi.org/project/swarmauri_vectorstore_doc2vec/">
|
|
14
|
+
<img src="https://img.shields.io/pypi/v/swarmauri_vectorstore_doc2vec?label=swarmauri_vectorstore_doc2vec&color=green" alt="PyPI - swarmauri_vectorstore_doc2vec"/></a>
|
|
15
|
+
</p>
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
# Swarmauri Vectorstore Doc2vec
|
|
20
|
+
|
|
21
|
+
A vector store implementation using Doc2Vec for document embedding and similarity search.
|
|
22
|
+
|
|
23
|
+
## Installation
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
pip install swarmauri_vectorstore_doc2vec
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
## Usage
|
|
30
|
+
|
|
31
|
+
```python
|
|
32
|
+
from swarmauri.vectorstores.Doc2VecVectorStore import Doc2VecVectorStore
|
|
33
|
+
from swarmauri.documents.Document import Document
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
# Initialize vector store
|
|
37
|
+
vector_store = Doc2VecVectorStore()
|
|
38
|
+
|
|
39
|
+
# Add documents
|
|
40
|
+
documents = [
|
|
41
|
+
Document(content="This is the first document"),
|
|
42
|
+
Document(content="Here is another document"),
|
|
43
|
+
Document(content="And a third document")
|
|
44
|
+
]
|
|
45
|
+
vector_store.add_documents(documents)
|
|
46
|
+
|
|
47
|
+
# Retrieve similar documents
|
|
48
|
+
results = vector_store.retrieve(query="document", top_k=2)
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
## Want to help?
|
|
52
|
+
|
|
53
|
+
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.
|
|
54
|
+
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "swarmauri_vectorstore_doc2vec"
|
|
3
|
-
version = "0.7.
|
|
3
|
+
version = "0.7.1.dev1"
|
|
4
4
|
description = "A Doc2Vec based Vector Store and Doc2Vec Based Embedding Model."
|
|
5
5
|
license = "Apache-2.0"
|
|
6
6
|
readme = "README.md"
|
|
@@ -45,7 +45,7 @@ log_cli_format = "%(asctime)s [%(levelname)s] %(message)s"
|
|
|
45
45
|
log_cli_date_format = "%Y-%m-%d %H:%M:%S"
|
|
46
46
|
asyncio_default_fixture_loop_scope = "function"
|
|
47
47
|
|
|
48
|
-
[
|
|
48
|
+
[project.entry-points.'swarmauri.vector_stores']
|
|
49
49
|
Doc2VecVectorStore = "swarmauri_vectorstore_doc2vec:Doc2VecVectorStore"
|
|
50
50
|
[build-system]
|
|
51
51
|
requires = ["poetry-core>=1.0.0"]
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-

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

|
|
6
|
-

|
|
7
|
-

|
|
8
|
-

|
|
9
|
-
|
|
10
|
-
</div>
|
|
11
|
-
|
|
12
|
-
---
|
|
13
|
-
|
|
14
|
-
# Doc2Vec Vector Store
|
|
15
|
-
|
|
16
|
-
A vector store implementation using Doc2Vec for document embedding and similarity search.
|
|
17
|
-
|
|
18
|
-
## Installation
|
|
19
|
-
|
|
20
|
-
```bash
|
|
21
|
-
pip install swarmauri_vectorstore_doc2vec
|
|
22
|
-
```
|
|
23
|
-
|
|
24
|
-
## Usage
|
|
25
|
-
|
|
26
|
-
```python
|
|
27
|
-
from swarmauri.vectorstores.Doc2VecVectorStore import Doc2VecVectorStore
|
|
28
|
-
from swarmauri.documents.Document import Document
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
# Initialize vector store
|
|
32
|
-
vector_store = Doc2VecVectorStore()
|
|
33
|
-
|
|
34
|
-
# Add documents
|
|
35
|
-
documents = [
|
|
36
|
-
Document(content="This is the first document"),
|
|
37
|
-
Document(content="Here is another document"),
|
|
38
|
-
Document(content="And a third document")
|
|
39
|
-
]
|
|
40
|
-
vector_store.add_documents(documents)
|
|
41
|
-
|
|
42
|
-
# Retrieve similar documents
|
|
43
|
-
results = vector_store.retrieve(query="document", top_k=2)
|
|
44
|
-
```
|
|
45
|
-
|
|
46
|
-
## Want to help?
|
|
47
|
-
|
|
48
|
-
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.
|
|
49
|
-
|
{swarmauri_vectorstore_doc2vec-0.7.0.dev11 → swarmauri_vectorstore_doc2vec-0.7.1.dev1}/LICENSE
RENAMED
|
File without changes
|
|
File without changes
|