NeuForge LlamaIndex Meter
Native token metering and firewall for LlamaIndex to prevent runaway agent costs.
Installation
pip install neuforge-llamaindex
Usage
from llama_index.core import Settings
from neuforge_llamaindex import NeuForgeTokenCounter
# Set a strict budget
Settings.callback_manager = CallbackManager([
NeuForgeTokenCounter(daily_budget_usd=5.0, cost_per_1k_tokens=0.01)
])
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 neuforge_llamaindex-1.0.0.tar.gz.
File metadata
- Download URL: neuforge_llamaindex-1.0.0.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5d83e403625f60261f0b0221048ef43626cf62c300fb9f96b588918a2e5eb051
|
|
| MD5 |
f1de9be066293ba96180ef167e93fb9c
|
|
| BLAKE2b-256 |
6895752d7c31cf2d9ed360336fcab76f48d005432e3d34c7c44b1f2608ab6b29
|
File details
Details for the file neuforge_llamaindex-1.0.0-py3-none-any.whl.
File metadata
- Download URL: neuforge_llamaindex-1.0.0-py3-none-any.whl
- Upload date:
- Size: 2.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1edc22d4f8e586b32dd1a987ba96db88db1fc87e486b713eee8594c8ecf649a1
|
|
| MD5 |
d26c80a40e1528db8734d5f12c0cbd0f
|
|
| BLAKE2b-256 |
d1f8622792d1ce1bd45ed9d19b338820588b9cfa1bc04205f7bf356f17df8e02
|