Skip to main content

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

neuforge_llamaindex-1.0.0.tar.gz (2.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

neuforge_llamaindex-1.0.0-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

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

Hashes for neuforge_llamaindex-1.0.0.tar.gz
Algorithm Hash digest
SHA256 5d83e403625f60261f0b0221048ef43626cf62c300fb9f96b588918a2e5eb051
MD5 f1de9be066293ba96180ef167e93fb9c
BLAKE2b-256 6895752d7c31cf2d9ed360336fcab76f48d005432e3d34c7c44b1f2608ab6b29

See more details on using hashes here.

File details

Details for the file neuforge_llamaindex-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for neuforge_llamaindex-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1edc22d4f8e586b32dd1a987ba96db88db1fc87e486b713eee8594c8ecf649a1
MD5 d26c80a40e1528db8734d5f12c0cbd0f
BLAKE2b-256 d1f8622792d1ce1bd45ed9d19b338820588b9cfa1bc04205f7bf356f17df8e02

See more details on using hashes here.

Release history Release notifications | RSS feed

1.0.1

2 files

This release

1.0.0 This release

2 files

0.1.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page