Swarmauri Vectorstore Doc2vec
A vector store implementation using Doc2Vec for document embedding and similarity search.
Installation
pip install swarmauri_vectorstore_doc2vec
Usage
from swarmauri.vectorstores.Doc2VecVectorStore import Doc2VecVectorStore
from swarmauri.documents.Document import Document
# Initialize vector store
vector_store = Doc2VecVectorStore()
# Add documents
documents = [
Document(content="This is the first document"),
Document(content="Here is another document"),
Document(content="And a third document")
]
vector_store.add_documents(documents)
# Retrieve similar documents
results = vector_store.retrieve(query="document", top_k=2)
Want to help?
If you want to contribute to swarmauri-sdk, read up on our guidelines for contributing that will help you get started.
Metadata
Release files for swarmauri_vectorstore_doc2vec 0.7.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| swarmauri_vectorstore_doc2vec-0.7.5.tar.gz | 6.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| swarmauri_vectorstore_doc2vec-0.7.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.8 kB
Release files / swarmauri_vectorstore_doc2vec-0.7.5.tar.gz
| Download URL | swarmauri_vectorstore_doc2vec-0.7.5.tar.gz |
|---|---|
| Size | 6.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7056a332aa0909c76f1a28b25b43198068ef60af860cd3b071a8bc04c4e3fecf
|
|
BLAKE2b-256 checksum How to use checksums |
5ade1f43e6694539bc1e0a0caf4542fb4c1f51b81d5634f23ab5817768aea64f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.7
|
Release files / swarmauri_vectorstore_doc2vec-0.7.5-py3-none-any.whl
| Download URL | swarmauri_vectorstore_doc2vec-0.7.5-py3-none-any.whl |
|---|---|
| Size | 7.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f480b548620fbe64dc0607fa95cbb06806aae3a72c5dfe86265eaef036ad2c25
|
|
BLAKE2b-256 checksum How to use checksums |
bf4341fcd553515e67fab586a81c6554e1add2467ff984a5cfc5bd2e2e86a571
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.7
|