Swarmauri Vectorstore Pinecone
A vector store implementation using Pinecone as the backend for efficient similarity search and document storage.
Installation
pip install swarmauri_vectorstore_pinecone
Usage
from swarmauri.vector_stores.PineconeVectorStore import PineconeVectorStore
from swarmauri.documents.Document import Document
# Initialize vector store
vector_store = PineconeVectorStore(
api_key="your-pinecone-api-key",
collection_name="example",
vector_size=100
)
vector_store.connect()
# Add documents
documents = [
Document(content="First document"),
Document(content="Second 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_pinecone 0.9.3
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_pinecone-0.9.3.tar.gz | 8.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| swarmauri_vectorstore_pinecone-0.9.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 19.0 kB
Release files / swarmauri_vectorstore_pinecone-0.9.3.tar.gz
| Download URL | swarmauri_vectorstore_pinecone-0.9.3.tar.gz |
|---|---|
| Size | 8.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4008fce5bc0bc511a3bdf2ffd01c664cfc0c166c3ef54540b9263ec3bfdcc781
|
|
BLAKE2b-256 checksum How to use checksums |
a1994557d5075fe06f31a10ed57c9ee6764effed03dfb1d39c0123fa852b0d2a
|
| 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_pinecone-0.9.3-py3-none-any.whl
| Download URL | swarmauri_vectorstore_pinecone-0.9.3-py3-none-any.whl |
|---|---|
| Size | 10.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cd1da26c3be569f6a18c34d424ba82382ff9f18a75d2f20bd9877c6646bd5a10
|
|
BLAKE2b-256 checksum How to use checksums |
35b1a6468a05aa3ad17a497fb90de7d06e3898b409c9c90cf7e0c7af42e68072
|
| 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}
|