Inspector for Vector DB cost saving
Project description
VectorDBCostSavingInspector
This is a CLI tool designed to estimate how much money you can save on stale vectors database. 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
Create a .env file(or export them in terminal) with:
PINECONE_API_KEY="your-pinecone-key"
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.
If you prefer not to inspect your vector database, we can approxicate cost saving based on the number of vectors and how the vectors are used.
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-inspect
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.7.tar.gz.
File metadata
- Download URL: vector_db_cost_inspector-0.1.7.tar.gz
- Upload date:
- Size: 7.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f8c479ed6a60136d7a4da35588f4ea450a8af77dc6a0a464bc94d2841d29511c
|
|
| MD5 |
a4ab415e7e10a0d5564835b965b3c56c
|
|
| BLAKE2b-256 |
beb2e01726b544c6e97583b2e0809ed22e6719cf15a80a83ca28dbc19266e4bd
|
File details
Details for the file vector_db_cost_inspector-0.1.7-py3-none-any.whl.
File metadata
- Download URL: vector_db_cost_inspector-0.1.7-py3-none-any.whl
- Upload date:
- Size: 9.3 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 |
add0c9821d7be634487cf12f30a2903f0ce0771417e88356105e107efb2fc6e5
|
|
| MD5 |
674632d758062bfabf6657a94f7f0421
|
|
| BLAKE2b-256 |
3f98b6d1dd1c0ffd76e39b49ce1ec163ac9b02274a7624bd41637e273ff6f083
|