-
Notifications
You must be signed in to change notification settings - Fork 259
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
separated llm tracker by model (#346)
* separated llm tracker by model * llm refactor progress * working for openai * groq provider * cohere provider * ollama provider * remove support for openai v0 * cohere support * test import fix * test import fix * groq test fix * ollama tests * litellm tests * dont import litellm * cohere fixes and tests * oai version <0.1 better deprecation warning * [FEATURE] Add Anthropic LLM support via `anthropic` Python SDK (#332) * fix typo * add anthropic support * add example file * fixed linting using black * add time travel support for anthropic * linting * fix kwargs key to get prompt * fix for extracting tokens from Message.usage * minor fix for output tokens * remove anthropic example python file * fix completions not show in session * some more fixes and cleanup * add Message object to pydantic models * fix typo * overhaul anthropic code * linting * add anthropic example notebook * linting * added readme examples * fix incorrect attribute access for the model content * add async example * refactor code * fix function name * linting * add provider tests --------- Co-authored-by: reibs <[email protected]> * added undo to canaries * added anthropic tests * undo instrumenting for litellm * cohere considerations --------- Co-authored-by: Pratyush Shukla <[email protected]> Co-authored-by: reibs <[email protected]>
- Loading branch information
1 parent
06657e1
commit caaacc3
Showing
32 changed files
with
2,259 additions
and
1,110 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.