Skip to main content

Swarmauri Weaviate Vector Store

Project description

Swarmauri Logo

PyPI - Downloads Hits PyPI - Python Version PyPI - License PyPI - swarmauri_vectorstore_cloudweaviate


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.

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

swarmauri_vectorstore_cloudweaviate-0.9.0.tar.gz (8.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file swarmauri_vectorstore_cloudweaviate-0.9.0.tar.gz.

File metadata

  • Download URL: swarmauri_vectorstore_cloudweaviate-0.9.0.tar.gz
  • Upload date:
  • Size: 8.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.27 {"installer":{"name":"uv","version":"0.9.27","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}

File hashes

Hashes for swarmauri_vectorstore_cloudweaviate-0.9.0.tar.gz
Algorithm Hash digest
SHA256 f42fb1b62e74a05877ee599f683d991fc735b3102df98d547ed681ce06f27c6c
MD5 033ca757fbf8675abb5012438ec9b9e8
BLAKE2b-256 1b34b8f8c365e24038c4439046acc4ebab641d212fba294784d31b40c2ef2bd8

See more details on using hashes here.

File details

Details for the file swarmauri_vectorstore_cloudweaviate-0.9.0-py3-none-any.whl.

File metadata

  • Download URL: swarmauri_vectorstore_cloudweaviate-0.9.0-py3-none-any.whl
  • Upload date:
  • Size: 9.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.27 {"installer":{"name":"uv","version":"0.9.27","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}

File hashes

Hashes for swarmauri_vectorstore_cloudweaviate-0.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bfb6edf43772a3221e1765d1c068345b3cbecfb7fd6129e68ed26fd268583790
MD5 66670d1dfcf5b1bff9ecd0a51c8a10a3
BLAKE2b-256 74201c913655822b735b12dac99f39ae0d3c8e00a102420d9fb77f9cd06d85ae

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page