Commit graph

398 commits

Author SHA1 Message Date
Krish Dholakia
24c12d6b9b
Merge pull request #530 from vedant-z/patch-1
Update utils.py
2023-10-04 15:42:59 -07:00
ishaan-jaff
f6af10b2ca add batch_completion with rate limits to utils 2023-10-04 14:46:11 -07:00
Vedant Borkar
c21eae7f79
Update utils.py 2023-10-05 03:07:50 +05:30
Krrish Dholakia
95899bf60e add additional param mapping 2023-10-03 21:56:08 -07:00
Krrish Dholakia
851cb86daa add support for ai21 input params 2023-10-03 21:05:28 -07:00
ishaan-jaff
20f990f652 remove print statement 2023-10-03 21:01:22 -07:00
ishaan-jaff
ac2d89aee6 remove junk print statements 2023-10-03 20:58:39 -07:00
Krrish Dholakia
e834c063ff fix n=1 issue with langchain 2023-10-03 11:06:59 -07:00
Krrish Dholakia
512769e841 support n param for hf 2023-10-03 07:10:13 -07:00
Krrish Dholakia
50fc4de45f support cohere top p 2023-10-02 21:38:56 -07:00
Krrish Dholakia
5a1a1908c1 fix replicate error 2023-10-02 21:35:16 -07:00
Krrish Dholakia
0daf2e3880 fixes to get optional params 2023-10-02 14:44:11 -07:00
Krrish Dholakia
8b60d797e1 fixing optional param mapping 2023-10-02 14:14:30 -07:00
Krrish Dholakia
7cec308a2c fixes to get_optional_params 2023-10-02 12:34:22 -07:00
Krrish Dholakia
5a19ee1a71 fix get optional params 2023-10-02 12:02:53 -07:00
Krrish Dholakia
1cae080eb2 raise exception if optional param is not mapped to model 2023-10-02 11:17:51 -07:00
Krrish Dholakia
a7ee0bcc8c raise exception if function call passed to provider that doesn't support it 2023-10-02 07:39:01 -07:00
Krrish Dholakia
3ca79a88bb improvements to proxy cli and finish reason mapping for anthropic 2023-09-30 18:09:16 -07:00
ishaan-jaff
8d1f5ba69d add fake streaming for petals 2023-09-30 10:22:04 -07:00
Krrish Dholakia
e8ec3e8795 add mistral prompt templating 2023-09-29 21:41:28 -07:00
ishaan-jaff
762d590500 fix co embeddings 2023-09-29 16:00:49 -07:00
ishaan-jaff
6a81f860f9 add param mapping to claude bedrock 2023-09-29 15:36:57 -07:00
ishaan-jaff
acc15f5778 test fixes for embedding 2023-09-29 15:31:53 -07:00
ishaan-jaff
eb25e9f15f add bedrock anthropic streaming 2023-09-29 15:19:42 -07:00
Krrish Dholakia
f04d50d119 updates 2023-09-29 11:33:58 -07:00
ishaan-jaff
af914d4be1 add cohere embedding models 2023-09-29 09:59:31 -07:00
Krrish Dholakia
4665b2a898 updates to proxy 2023-09-28 17:58:47 -07:00
Krrish Dholakia
09b8c08cad update proxy cli 2023-09-28 16:24:41 -07:00
ishaan-jaff
8e2b139f8d fix petals bug 2023-09-27 20:51:31 -07:00
Krrish Dholakia
4621582d49 updates 2023-09-27 17:43:22 -07:00
Krrish Dholakia
1f2a12fe1f remove print statements 2023-09-27 17:06:49 -07:00
Krrish Dholakia
ce62dc40b9 remove trust remote code option 2023-09-26 19:20:48 -07:00
Krrish Dholakia
b64306d633 fix linting issue 2023-09-26 18:10:59 -07:00
Krrish Dholakia
076affbff2 fix llama index validate environment error 2023-09-26 17:53:22 -07:00
Krrish Dholakia
eb1c7220ff add support message on exception 2023-09-26 17:48:24 -07:00
Krrish Dholakia
a72880925c push cli tool 2023-09-26 13:30:47 -07:00
ishaan-jaff
e7a9246414 palm streaming 2023-09-26 12:27:49 -07:00
ishaan-jaff
3949e850af add palm exception mapping 2023-09-26 10:25:11 -07:00
Krrish Dholakia
fd953b7ab4 allow backup api keys and api bases 2023-09-26 06:56:26 -07:00
Krrish Dholakia
bdc6ef1df8 add contributor message to code 2023-09-25 10:00:10 -07:00
Krrish Dholakia
d454bcb749 update validate environment function 2023-09-23 22:08:57 -07:00
Krrish Dholakia
889679a0dd fix exception mapping for streaming 2023-09-23 15:04:59 -07:00
ishaan-jaff
d12fadd032 add claude max_tokens_to_sample 2023-09-22 20:57:52 -07:00
Krrish Dholakia
e1d0c6096c fix anthropic json location bug 2023-09-22 15:21:28 -07:00
Krrish Dholakia
4f7a35cbef fix linting errors 2023-09-22 15:04:18 -07:00
Krrish Dholakia
e62b584439 adding support for cohere, anthropic, llama2 tokenizers 2023-09-22 14:03:52 -07:00
Krrish Dholakia
cf5060f136 add token trimming to adapt to prompt flag in config 2023-09-21 17:47:52 -07:00
Krrish Dholakia
e0c2bd7cf1 add docs on using completion with configs 2023-09-21 17:03:36 -07:00
ishaan-jaff
6add152818 sagemaker streaming 2023-09-21 16:14:44 -07:00
ishaan-jaff
aa6f5e13f3 response_ms fix 2023-09-21 15:44:50 -07:00