This website requires JavaScript.
Explore
Help
Register
Sign in
apunkt
/
trustgraph
Watch
1
Star
0
Fork
You've already forked trustgraph
0
mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced
2026-07-17 09:11:03 +02:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
Actions
1
396a484a11
trustgraph
/
trustgraph-core
/
scripts
/
metering
5 lines
71 B
Text
Raw
Normal View
History
Unescape
Escape
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>
2024-09-28 20:48:20 +01:00
#!/usr/bin/env python3
Change references to trustgraph-core
2024-09-28 22:01:50 +01:00
from trustgraph.core.metering import run
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>
2024-09-28 20:48:20 +01:00
run()
Reference in a new issue
Copy permalink