neokd / NeoGPT

Chat effortlessly, execute commands, and interpret code with Llama3, Phi3, and more - your local AI assistant. Enjoy seamless interaction while ensuring ultimate privacy
https://neogpt.dev
MIT License
68 stars 62 forks source link

Cost Callback Handler #185

Closed neokd closed 4 months ago

neokd commented 4 months ago

Create a function called calculate_togetherai_cost() in TokenCallbackHandler in callback_handler.py the function should accept the number of generated tokens as the input and return the calculated cost as the output

ayushmorbar commented 4 months ago

Assign me under #JWoC for this issue

ayushmorbar commented 4 months ago

Solved, please do review the PR.