mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-05-04 21:02:37 +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
|
|
@ -13,7 +13,7 @@ RUN dnf install -y python3 python3-pip python3-wheel python3-aiohttp \
|
|||
|
||||
RUN pip3 install torch --index-url https://download.pytorch.org/whl/cpu
|
||||
|
||||
RUN pip3 install anthropic boto3 cohere openai google-cloud-aiplatform \
|
||||
RUN pip3 install anthropic boto3 cohere openai google-cloud-aiplatform ollama \
|
||||
langchain langchain-core langchain-huggingface langchain-text-splitters \
|
||||
langchain-community pymilvus sentence-transformers transformers \
|
||||
huggingface-hub pulsar-client cassandra-driver pyarrow pyyaml \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue