Commit graph

42 commits

Author SHA1 Message Date
Krrish Dholakia
79978c44ba refactor: add black formatting 2023-12-25 14:11:20 +05:30
Krrish Dholakia
a1c342c3ad feat(factory.py): add support for anthropic system prompts for claude 2.1 2023-11-21 09:57:26 -08:00
ishaan-jaff
7bc28f3b1c (fix) pydantic errors with response.time 2023-11-20 18:28:19 -08:00
Krrish Dholakia
330708e7ef fix(tests): fixing response objects for testing 2023-11-13 14:39:30 -08:00
Krrish Dholakia
4b74ddcb17 refactor: fixing linting issues 2023-11-11 18:52:28 -08:00
Krrish Dholakia
5efa3860da refactor(huggingface,-anthropic,-replicate,-sagemaker): making huggingface, anthropic, replicate, sagemaker compatible openai v1 sdk 2023-11-11 17:38:15 -08:00
ishaan-jaff
a9331edfd9 (feat) use usage class for anthropic 2023-10-27 09:32:25 -07:00
Krrish Dholakia
2f9e112c14 fix(anthropic.py-+-bedrock.py): anthropic prompt format 2023-10-20 10:56:15 -07:00
Krrish Dholakia
a415c79b8b fix(anthropic.py): enable api base to be customized 2023-10-19 18:45:29 -07:00
Krrish Dholakia
cc0e4f4f9f fix: fix value error if model returns empty completion 2023-10-10 10:11:40 -07:00
Krrish Dholakia
f62a13a6b3 fix(anthropic.py): fix anthropic prompt 2023-10-09 15:22:58 -07:00
Krrish Dholakia
37f9626422 fix(bedrock.py): adding provider-specific configs 2023-10-05 23:49:20 -07:00
Krrish Dholakia
2326ad9d38 fix: fixing mypy linting errors and being backwards compatible for azure=true flag 2023-10-05 22:36:32 -07:00
Krrish Dholakia
69cdf5347a style(test_completion.py): fix merge conflict 2023-10-05 22:09:38 -07:00
Krrish Dholakia
eb4c7876e2 fix get optional params 2023-10-02 12:02:53 -07:00
canada4663
e5150aa067 added similar changes to anthropic.py based on recommendation from @krrishdholakia 2023-10-01 20:54:36 -07:00
Krrish Dholakia
49a93cd66b fixing claude max token testing 2023-09-27 21:52:30 -07:00
ishaan-jaff
b00f69db9d add claude max_tokens_to_sample 2023-09-22 20:57:52 -07:00
Krrish Dholakia
3496bebdc5 map finish reason 2023-09-13 19:22:38 -07:00
ishaan-jaff
898df9a9d3 remove init AnthropicClient for completion calls 2023-09-04 09:34:15 -07:00
Krrish Dholakia
c00cb299fc add context window exceeded error for anthropic 2023-08-29 16:28:07 -07:00
ishaan-jaff
a69b7ffcfa formatting improvements 2023-08-28 09:20:50 -07:00
ishaan-jaff
3e0a16acf4 anthropic fixes 2023-08-28 09:17:29 -07:00
ishaan-jaff
f8cfae034c anthropic py fixes 2023-08-28 09:15:29 -07:00
Ishaan Jaff
f9ea5e70c5 Merge branch 'main' into fix-streaming-anthropic-2 2023-08-28 09:05:51 -07:00
Krrish Dholakia
95ce560f6d fix anthropic streaming 2023-08-26 18:54:51 -07:00
adriensas
a52eb7dcf4 fix linting 2023-08-23 11:07:45 +02:00
adriensas
f5cbe884d1 fix 2023-08-23 10:59:36 +02:00
ishaan-jaff
c67e59cd10 formatting fixes 2023-08-22 15:07:07 -07:00
Krrish Dholakia
26b35e5bb6 fixing linting issues 2023-08-19 20:30:00 -07:00
Krrish Dholakia
7c33d1157a making logging a class - adding input-callbacks 2023-08-19 20:03:31 -07:00
ishaan-jaff
b283005e7b all fixes to linting 2023-08-18 11:56:44 -07:00
ishaan-jaff
441f69d63a linting type fixes 2023-08-18 11:36:06 -07:00
ishaan-jaff
2c7ffb7c75 add linting 2023-08-18 11:05:05 -07:00
yujong-lee
47cb945ad6 Fix typing 2023-08-18 10:30:47 +09:00
ishaan-jaff
a6f39ba0d2 fix key error 2023-08-17 16:20:43 -07:00
ishaan-jaff
02f13ef333 fix keys 2023-08-17 16:13:52 -07:00
ishaan-jaff
e3ef8af694 add support for keys 2023-08-17 15:30:40 -07:00
Krrish Dholakia
e642483eaf adding support for meta-llama-2 2023-08-14 14:35:21 -07:00
Krrish Dholakia
1c909707ad added exception mapping to anthropic class 2023-08-12 17:39:11 -07:00
Krrish Dholakia
907ffe9fe5 remove sseclient dependency 2023-08-12 16:46:26 -07:00
Krrish Dholakia
411ba6a827 adding anthropic llm class - handles sync + stream 2023-08-12 16:34:32 -07:00