Swarmauri Weaviate Vector Store
Project description
Swarmauri Cloud Weaviate Vector Store
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file swarmauri_vectorstore_cloudweaviate-0.7.0.dev2.tar.gz.
File metadata
- Download URL: swarmauri_vectorstore_cloudweaviate-0.7.0.dev2.tar.gz
- Upload date:
- Size: 8.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b98347a226d290d8e779bed3e9e19a3894d61e5603b541763dfb916e99c20b6a
|
|
| MD5 |
073ecef5e66291b163a1058d0d72695b
|
|
| BLAKE2b-256 |
e2b1447e4ce981bfbacc55c1220dcb31fcc7a6c378f8dd91c215daac9728f568
|
File details
Details for the file swarmauri_vectorstore_cloudweaviate-0.7.0.dev2-py3-none-any.whl.
File metadata
- Download URL: swarmauri_vectorstore_cloudweaviate-0.7.0.dev2-py3-none-any.whl
- Upload date:
- Size: 8.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5931449a58ebfe922b61b8727acb5241b1a644dec436dabf20b4e23a41d5cbf8
|
|
| MD5 |
942eba9bd9d3f51d177f64771080d479
|
|
| BLAKE2b-256 |
80c374f15c2d96724b53c8340f3604d52026b9a099821535bda39f66a2db4a56
|