174 Commits

Author SHA1 Message Date
Alex Reibman
74435a4a89 Update pyproject.toml 0.1.11 2024-06-21 10:58:42 -07:00
Alex Reibman
39c669fe9f Merge pull request #57 from AndreCNF/fix/return_if_not_prompt_nor_message
fix: 🐛 Skip updating estimates if event isn't a prompt nor message
2024-06-21 10:35:00 -07:00
André Ferreira
1c5dae9b6c fix: 🐛 Skip updating estimates if event isn't a prompt nor message 2024-06-18 16:22:42 +02:00
reibs
e1d52dbaa3 decimal fixesupdated pricing to show in millions of tokens 2024-06-17 16:21:05 -07:00
reibs
7508329931 updated costs table 2024-06-17 15:30:50 -07:00
Alex Reibman
981b2519b4 Update README.md 2024-06-17 14:54:21 -07:00
Alex Reibman
b9b5978425 Merge pull request #54 from henrikhargedahl/50-expose-calculate-cost-by-tokens
Update __init__.py
2024-06-16 23:30:27 -07:00
henrikhargedahl
7dd4170950 Update __init__.py
Expose calculate_cost_by_tokens
2024-06-17 08:19:01 +02:00
Alex Reibman
e7a61526fc Update pyproject.toml 0.1.10 2024-06-15 15:55:09 -07:00
Alex Reibman
ea6cfc3771 Merge pull request #52 from scrpr/fix-exception-handling
Fix exception handling logic
2024-06-14 17:15:36 -07:00
scrpr
10ca1bc6b3 fix: fix exception handling logic 2024-06-14 21:47:54 +08:00
reibs
4d27dcd151 update costs 2024-06-05 18:23:52 -07:00
Alex Reibman
291caac767 Bump pyproject version 0.1.9 2024-06-03 23:09:46 -07:00
Alex Reibman
86c585f76d Update README.md 2024-06-03 23:05:43 -07:00
Alex Reibman
d5c6abfcd5 Merge pull request #47 from AndreCNF/fix/llama_index_callback_agents
fix: 🐛 Llama Index imports and track costs and token counts in the class
2024-06-03 22:44:57 -07:00
reibs
9fccbd0396 update llama-index version 2024-06-03 14:32:57 -07:00
André Ferreira
50eb12ff5b test: Fix tests with latest changes 2024-06-03 18:12:00 +02:00
André Ferreira
819b7cf366 feat: Implement calculate_all_costs_and_tokens + revert back to original calculate_prompt_cost and calculate_completion_cost functions 2024-06-03 18:07:39 +02:00
André Ferreira
8bd758ce17 docs: 📝 Update README with token counts output from cost functions 2024-05-28 12:13:48 +02:00
André Ferreira
480de19113 test: Fix issues with unit tests 2024-05-28 12:09:37 +02:00
André Ferreira
691275e39d docs: 📝 Update Llama Index documentation 2024-05-28 12:08:57 +02:00
André Ferreira
400e3c428d feat: Track costs and token counts in the class, across multiple runs (e.g. in agents) 2024-05-27 18:45:43 +02:00
André Ferreira
c5ad62d8a0 fix: 🐛 Fix Llama Index imports 2024-05-27 18:44:28 +02:00
Alex Reibman
974c270f4a Merge pull request #43 from AgentOps-AI/42-update-static-json-with-update-script
42 update static json with update script
0.1.8
2024-05-21 18:05:02 -07:00
Alex Reibman
4b689af6f6 Merge pull request #45 from AgentOps-AI/44-upgrade-tiktoken-to-use-o200k-models-for-gpt-4o
upgrade tiktoken for o200k tokenizer
2024-05-21 18:04:46 -07:00
reibs
bedeb4264e upgrade tiktoken for o200k tokenizer 2024-05-21 16:26:03 -07:00
reibs
70b26f8c95 update readme table headers 2024-05-14 01:00:27 -07:00
reibs
d021489bb2 remove dupe 2024-05-14 00:59:28 -07:00
reibs
ad4d93d5db added indents 2024-05-14 00:55:14 -07:00
reibs
d9f3f38cef auto update script 2024-05-14 00:46:26 -07:00
reibs
1b6d24a486 updated pricing table 2024-05-14 00:24:00 -07:00
reibs
b9c0a3577e update filename and rename cols 2024-05-14 00:16:57 -07:00
Alex Reibman
13a0f77b45 Merge pull request #41 from AgentOps-AI/40-table-print-utility-script
40 table print utility script and update to gpt-4o
2024-05-13 23:55:15 -07:00
reibs
e3d46f2d29 update table 2024-05-13 23:54:30 -07:00
reibs
101b265f65 remove table 2024-04-24 21:55:15 -07:00
reibs
cbb191ea7f add table 2024-04-24 21:54:53 -07:00
reibs
db28307fa9 update table formatting 2024-04-24 21:53:40 -07:00
reibs
fba1f267c7 update table 2024-04-24 21:52:02 -07:00
reibs
5896c69c52 added print utlity and updated cost table 2024-04-24 21:44:41 -07:00
reibs
933f1c9e17 quick table print utlity 2024-04-23 00:03:44 -07:00
Alex Reibman
650d328f4e Merge pull request #39 from AgentOps-AI/37-add-claude-3
update models for Gemini + Claude 3
2024-04-22 23:58:42 -07:00
Alex Reibman
569280a300 Update model_prices.json 2024-04-22 23:50:00 -07:00
Alex Reibman
f6c853b802 update models for gemini 2024-04-11 19:51:42 +00:00
reibs
16cf084204 update logo 2024-03-31 23:48:29 -07:00
Alex Reibman
c75c4aef2a Update README.md 2024-03-31 23:42:37 -07:00
Alex Reibman
c6c29613ec Add files via upload 2024-03-31 23:38:35 -07:00
Alex Reibman
ee120d3f1f Merge pull request #36 from AgentOps-AI/35-make-print-optional-in-update_token_costs 0.1.7 2024-03-27 14:11:09 -07:00
reibs
e3a7eba1a4 bump version 2024-03-27 14:02:40 -07:00
reibs
2b4226e3d4 removed uselss print 2024-03-27 13:54:57 -07:00
reibs
f2071765f1 updated prints tow arns 2024-03-27 13:54:43 -07:00