advanced-stack / py-llm-core

A pythonic library providing light-weighted interface with LLMs
MIT License
103 stars 8 forks source link

Add with_coast functions to openAi models #10

Open DimitryRdk opened 4 months ago

DimitryRdk commented 4 months ago

Added new functions to the model utilizing OpenAI to return cost calculations. These enhancements aim to provide users with the ability to easily estimate costs directly through the model interface.