Commit graph

41 commits

Author SHA1 Message Date
Krrish Dholakia
41483d2660 feat(factory.py): add support for anthropic system prompts for claude 2.1 2023-11-21 09:57:26 -08:00
ishaan-jaff
50f883a2fb (fix) pydantic errors with response.time 2023-11-20 18:28:19 -08:00
Krrish Dholakia
8a3b771e50 fix(tests): fixing response objects for testing 2023-11-13 14:39:30 -08:00
Krrish Dholakia
45b6f8b853 refactor: fixing linting issues 2023-11-11 18:52:28 -08:00
Krrish Dholakia
4f42beb9d9 refactor(huggingface,-anthropic,-replicate,-sagemaker): making huggingface, anthropic, replicate, sagemaker compatible openai v1 sdk 2023-11-11 17:38:15 -08:00
ishaan-jaff
0a2de59932 (feat) use usage class for anthropic 2023-10-27 09:32:25 -07:00
Krrish Dholakia
4b48af7c3c fix(anthropic.py-+-bedrock.py): anthropic prompt format 2023-10-20 10:56:15 -07:00
Krrish Dholakia
76bf8c4be3 fix(anthropic.py): enable api base to be customized 2023-10-19 18:45:29 -07:00
Krrish Dholakia
af2fd0e0de fix: fix value error if model returns empty completion 2023-10-10 10:11:40 -07:00
Krrish Dholakia
a6968d06e6 fix(anthropic.py): fix anthropic prompt 2023-10-09 15:22:58 -07:00
Krrish Dholakia
06f279807b fix(bedrock.py): adding provider-specific configs 2023-10-05 23:49:20 -07:00
Krrish Dholakia
060a2e40b2 fix: fixing mypy linting errors and being backwards compatible for azure=true flag 2023-10-05 22:36:32 -07:00
Krrish Dholakia
dd7e397650 style(test_completion.py): fix merge conflict 2023-10-05 22:09:38 -07:00
Krrish Dholakia
5a19ee1a71 fix get optional params 2023-10-02 12:02:53 -07:00
canada4663
2896df2645 added similar changes to anthropic.py based on recommendation from @krrishdholakia 2023-10-01 20:54:36 -07:00
Krrish Dholakia
54409a2a30 fixing claude max token testing 2023-09-27 21:52:30 -07:00
ishaan-jaff
d12fadd032 add claude max_tokens_to_sample 2023-09-22 20:57:52 -07:00
Krrish Dholakia
aaa57abddd map finish reason 2023-09-13 19:22:38 -07:00
ishaan-jaff
bc065f08df remove init AnthropicClient for completion calls 2023-09-04 09:34:15 -07:00
Krrish Dholakia
509120bf61 add context window exceeded error for anthropic 2023-08-29 16:28:07 -07:00
ishaan-jaff
b713acb0a4 formatting improvements 2023-08-28 09:20:50 -07:00
ishaan-jaff
70b323e0f5 anthropic fixes 2023-08-28 09:17:29 -07:00
ishaan-jaff
65941644dc anthropic py fixes 2023-08-28 09:15:29 -07:00
Ishaan Jaff
8c35ffe884
Merge branch 'main' into fix-streaming-anthropic-2 2023-08-28 09:05:51 -07:00
Krrish Dholakia
0ac17646d9 fix anthropic streaming 2023-08-26 18:54:51 -07:00
adriensas
1f3aeeb6d4 fix linting 2023-08-23 11:07:45 +02:00
adriensas
a0cb56efd5 fix 2023-08-23 10:59:36 +02:00
ishaan-jaff
ccf875f84b formatting fixes 2023-08-22 15:07:07 -07:00
Krrish Dholakia
366ff43761 fixing linting issues 2023-08-19 20:30:00 -07:00
Krrish Dholakia
d792be89de making logging a class - adding input-callbacks 2023-08-19 20:03:31 -07:00
ishaan-jaff
1bb2aefea1 all fixes to linting 2023-08-18 11:56:44 -07:00
ishaan-jaff
5e7d22512d linting type fixes 2023-08-18 11:36:06 -07:00
ishaan-jaff
15b1da9dc8 add linting 2023-08-18 11:05:05 -07:00
yujong-lee
1b78202fc0 Fix typing 2023-08-18 10:30:47 +09:00
ishaan-jaff
071302fd47 fix key error 2023-08-17 16:20:43 -07:00
ishaan-jaff
5c60a36105 fix keys 2023-08-17 16:13:52 -07:00
ishaan-jaff
e72836d181 add support for keys 2023-08-17 15:30:40 -07:00
Krrish Dholakia
6aff47083b adding support for meta-llama-2 2023-08-14 14:35:21 -07:00
Krrish Dholakia
a4cf7e1edd added exception mapping to anthropic class 2023-08-12 17:39:11 -07:00
Krrish Dholakia
ffde46c1a1 remove sseclient dependency 2023-08-12 16:46:26 -07:00
Krrish Dholakia
bc767cc42a adding anthropic llm class - handles sync + stream 2023-08-12 16:34:32 -07:00