mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-04-27 09:26:22 +02:00
Adds basic metering infrastructure (#68)
* Basic metering module structure * Token counting working for Bedrock * Price calc using price list * Added more models to pricelist * Added Ollama token counts ---- Authored-by: JackColquitt <daniel@kalntera.ai>
This commit is contained in:
parent
8085bb0118
commit
2a49365482
12 changed files with 176 additions and 8 deletions
5
scripts/metering
Normal file
5
scripts/metering
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
#!/usr/bin/env python3
|
||||
|
||||
from trustgraph.metering import run
|
||||
|
||||
run()
|
||||
Loading…
Add table
Add a link
Reference in a new issue