Inspector for Vector DB cost saving
Project description
VectorDBCostSavingInspector
This is a tool designed to inspect vertor database usage and find opportunities to reduce cost. The current version support Pinecone usage inspection based on vector's last access timestamp.
If your vector database is not Pinecone, we will estimate saving based on your vector database use cases.
If your Pinecone database does not have meta data about last access timestamp, we will estimate saving based on your vector database use cases. But we strongly suggest you add one.
Setup
- Install python package
python3 -m pip install vector-db-cost-inspector
- Environment Variables
Set the following environment variables (or create a .env file):
export PINECONE_API_KEY="your-pinecone-key"
export PINECONE_INDEX_NAME="your-index-name"
Note: This inspection tool only run in your machine. The Pinecone API key is only read by the inspection tool and won't be uploaded to cloud. We guarantee we don't have access to your Pinecone API key. This is a open source python tool. You can check our code if you want anytime.
Prerequisites
- A Pinecone Index.
- Vectors in Pinecone MUST have a metadata field named created_at (Unix timestamp) for the time-based logic to work.
Usage
Run the inspection
vector-db-cost-inspector
Project details
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 vector_db_cost_inspector-0.1.2.tar.gz.
File metadata
- Download URL: vector_db_cost_inspector-0.1.2.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
41526d4b661ed36e9a893aa9fa7c747c931360fdbf28b63eea305808871302a2
|
|
| MD5 |
d64e2c66a970287a4ca1392e9454ddab
|
|
| BLAKE2b-256 |
6e8ea1e527e93458ab72fb871f51e481fca3b1fbd7d481215194fb1e23e42512
|
File details
Details for the file vector_db_cost_inspector-0.1.2-py3-none-any.whl.
File metadata
- Download URL: vector_db_cost_inspector-0.1.2-py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bbd86893e8a2a4d4e7116b44082e3dd16e098a907029b7d5e74b1c08fc560f59
|
|
| MD5 |
e4c0d6d42c4ed076c219d664f6851f65
|
|
| BLAKE2b-256 |
4c23dba774ea889e4ce54a518c38401247115e8454462ace186f86ef66e27506
|