Swarmauri Vectorstore CloudWeaviate
A Weaviate-based vector store implementation for Swarmauri, providing cloud-based document storage and retrieval with vector similarity search capabilities.
Installation
pip install swarmauri_vectorstore_cloudweaviate
Usage
Here's a basic example of how to use the CloudWeaviateVectorStore:
from swarmauri.vector_stores.CloudWeaviateVectorStore import CloudWeaviateVectorStore
from swarmauri.documents.Document import Document
# Initialize the vector store
vector_store = CloudWeaviateVectorStore(
url="your-weaviate-url",
api_key="your-api-key",
collection_name="example",
vector_size=100
)
# Connect to Weaviate
vector_store.connect()
# Add documents
document = Document(
id="doc-001",
content="This is a sample document content.",
metadata={"author": "Alice", "date": "2024-01-01"}
)
vector_store.add_document(document)
# Retrieve similar documents
results = vector_store.retrieve(query="sample content", top_k=5)
# Clean up
vector_store.disconnect()
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_cloudweaviate 0.10.0
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_cloudweaviate-0.10.0.tar.gz | 8.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| swarmauri_vectorstore_cloudweaviate-0.10.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 17.6 kB
Release files / swarmauri_vectorstore_cloudweaviate-0.10.0.tar.gz
| Download URL | swarmauri_vectorstore_cloudweaviate-0.10.0.tar.gz |
|---|---|
| Size | 8.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
efba4f1bb2858866ec3183d6ed73f05f4402705c55bdd256efeff556fb23f5bc
|
|
BLAKE2b-256 checksum How to use checksums |
33ef51466510a369891430e85664c03006f785e5462875eb31c3276fe6279e4f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.0 {"installer":{"name":"uv","version":"0.11.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / swarmauri_vectorstore_cloudweaviate-0.10.0-py3-none-any.whl
| Download URL | swarmauri_vectorstore_cloudweaviate-0.10.0-py3-none-any.whl |
|---|---|
| Size | 9.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ad94e0d0a7530bca917b6e6c840e8cf3fa0ec58d77691ca34332ca13534da7ab
|
|
BLAKE2b-256 checksum How to use checksums |
430845b790426f78c2453e487cfec24cff2c8597b0f1301d2870640a7adc3b86
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.0 {"installer":{"name":"uv","version":"0.11.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|