LlamaVector
Handles vector embedding generation, storage, and similarity search within the LlamaAI Ecosystem. Provides interfaces to various embedding models and vector databases.
Features
- Embedding Generation: Supports multiple embedding models (e.g., via
sentence-transformers). - Vector Storage Adapters: Interfaces for various vector databases (e.g., FAISS, ChromaDB, Pinecone, Qdrant, Weaviate).
- Similarity Search: Efficiently find vectors similar to a query vector.
- Data Models: Pydantic models for structured vector data.
- Indexing Utilities: Tools for building and managing vector indexes.
- (Optional) API: Can expose functionality via a FastAPI server.
Installation
# Core installation
pip install llamavector
# To install with specific vector database support (e.g., ChromaDB):
pip install llamavector[chromadb]
# To install with API support:
pip install llamavector[api]
Quick Start
# Example (TBD after code migration)
# from llamavector import VectorStore, EmbeddingModel
# model = EmbeddingModel(model_name='all-MiniLM-L6-v2')
# store = VectorStore(adapter='chromadb', collection_name='my_vectors')
# texts = ["This is the first document.", "This document is the second document."]
# embeddings = model.encode(texts)
# ids = ["doc1", "doc2"]
# store.add(ids=ids, embeddings=embeddings)
# query_embedding = model.encode(["A query about the second doc"])
# results = store.search(query_embeddings=query_embedding, k=1)
# print(results)
Contributing
Contributions are welcome! Please see CONTRIBUTING.md.
License
MIT License. See LICENSE file.
Metadata
Release files for llamavector-llamasearch 0.1.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 | Provenance | Actions |
|---|---|---|---|---|
| llamavector_llamasearch-0.1.0.tar.gz | 19.4 kB | Without provenance | Details for llamavector_llamasearch-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| llamavector_llamasearch-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for llamavector_llamasearch-0.1.0-py3-none-any.whl |
Total release size: 35.1 kB
Release files / llamavector_llamasearch-0.1.0.tar.gz
| Download URL | llamavector_llamasearch-0.1.0.tar.gz |
|---|---|
| Size | 19.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
412e2f3c7610b1171306340793072d8bdc39df51f94e11fa46d9e6b7834170ef
|
|
BLAKE2b-256 checksum How to use checksums |
36f5cb9f79083d2fbf7b04935e09d220ece15c0951f28ffd4efb59b035535dde
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|
Release files / llamavector_llamasearch-0.1.0-py3-none-any.whl
| Download URL | llamavector_llamasearch-0.1.0-py3-none-any.whl |
|---|---|
| Size | 15.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3d770ce3f46517a341c74de1247f51f2f1a5f8f77be2c960994b115cfea3bf89
|
|
BLAKE2b-256 checksum How to use checksums |
c0ed70609d31e4a29661aadc5b68e233e4fa4c318b9198b9e7530cf9c842afc9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|
Security for llamavector-llamasearch 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.