Skip to content

Commit

Permalink
Add model pricing file (#1483)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dev-Khant authored Jul 16, 2024
1 parent 34477d4 commit 80f145f
Show file tree
Hide file tree
Showing 2 changed files with 804 additions and 1 deletion.
2 changes: 1 addition & 1 deletion embedchain/embedchain/config/llm/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ def __init__(
self.api_version = api_version

if token_usage:
f = open("model_prices_and_context_window.json")
f = open("config/model_prices_and_context_window.json")
self.model_pricing_map = json.load(f)

if isinstance(prompt, str):
Expand Down
Loading

0 comments on commit 80f145f

Please sign in to comment.