Commit graph

462 commits

Author SHA1 Message Date
Krrish Dholakia
91c8e92e71 fix(openai.p): adding support for exception mapping for openai-compatible apis via http calls 2023-10-13 21:56:51 -07:00
ishaan-jaff
5a0284dd58 (fix) fix linting errors 2023-10-13 21:23:00 -07:00
Krrish Dholakia
b28c055896 feat(proxy_server): adds create-proxy feature 2023-10-12 18:27:07 -07:00
ishaan-jaff
7b3ee8d129 (feat) ollama raise Exceptions + use LiteLLM stream wrapper 2023-10-11 17:00:39 -07:00
Krrish Dholakia
dfd91c5d46 fix(openai-py): fix linting errors 2023-10-10 21:56:14 -07:00
Krrish Dholakia
68461f5863 fix(openai-py): fix linting issues 2023-10-10 21:49:14 -07:00
Krrish Dholakia
208a6d365b fix(openai.py): fix linting errors 2023-10-10 21:04:13 -07:00
Krrish Dholakia
0e7b83785b fix(init.py): expose complete client session 2023-10-10 15:16:10 -07:00
Krrish Dholakia
b50013386f fix(openai.py): enable custom proxy to pass in ca_bundle_path 2023-10-10 13:23:27 -07:00
Krrish Dholakia
af2fd0e0de fix: fix value error if model returns empty completion 2023-10-10 10:11:40 -07:00
Krrish Dholakia
29b2fa7f75 fix(test-fixes): test fixes 2023-10-10 08:09:42 -07:00
Krrish Dholakia
253e8d27db fix: bug fix when n>1 passed in 2023-10-09 16:46:33 -07:00
Krrish Dholakia
a6968d06e6 fix(anthropic.py): fix anthropic prompt 2023-10-09 15:22:58 -07:00
Krrish Dholakia
704be9dcd1 feat(factory.py): option to add function details to prompt, if model doesn't support functions param 2023-10-09 09:53:53 -07:00
Zeeshan Hooda
112df4a19d
(test) add bedrock existing client auth test 2023-10-09 03:39:40 -06:00
Zeeshan Hooda
f735ca7e46
(docs) bedrock pass existing client to completion 2023-10-09 01:14:53 -06:00
Zeeshan Hooda
5f55b4a1ab
(feat) bedrock pass client to completion 2023-10-09 00:51:58 -06:00
Krrish Dholakia
58da58d5e1 style(openai.py): using typing for params 2023-10-07 15:51:16 -07:00
ishaan-jaff
acef90b923 (feat) sagemaker auth in completion 2023-10-07 15:27:58 -07:00
ishaan-jaff
48f5662b80 (feat) bedrock auth in completion 2023-10-07 15:27:58 -07:00
Krrish Dholakia
d69038883c docs(completion-docs): adds more details on provider-specific params 2023-10-07 13:49:30 -07:00
Krrish Dholakia
306a38880d feat(ollama.py): exposing ollama config 2023-10-06 15:52:58 -07:00
Krrish Dholakia
7e34736a38 fix(add-custom-success-callback-for-streaming): add custom success callback for streaming 2023-10-06 15:02:02 -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
512769e841 support n param for hf 2023-10-03 07:10:13 -07:00
Krrish Dholakia
5a1a1908c1 fix replicate error 2023-10-02 21:35:16 -07:00
Krrish Dholakia
345a14483e Fixes to bedrock 2023-10-02 16:09:06 -07:00
Krrish Dholakia
0daf2e3880 fixes to get optional params 2023-10-02 14:44:11 -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
ishaan-jaff
6313858687 remove import requests from palm.py 2023-10-02 09:07:14 -07:00
ishaan-jaff
a4d135eef9 modify replicate polling interval 2023-10-02 07:43:38 -07:00
Krish Dholakia
8381bb19a9
Merge pull request #499 from canada4663/bedrock-anthropic-changes
add bedrock.anthropic support for system prompt using <admin> tag
2023-10-02 06:47:33 -07:00
canada4663
2896df2645 added similar changes to anthropic.py based on recommendation from @krrishdholakia 2023-10-01 20:54:36 -07:00
canada4663
07ed0abf82 add bedrock.anthropic support for system prompt using <admin> tag 2023-09-30 21:22:46 -07:00
Krrish Dholakia
3ca79a88bb improvements to proxy cli and finish reason mapping for anthropic 2023-09-30 18:09:16 -07:00
Krrish Dholakia
16c755257b add support for custom hf prompt templates 2023-09-30 15:37:30 -07:00
Ishaan Jaff
202d57f891
Merge pull request #497 from coconut49/main
Update boto3 dependency to version 1.28.57, refactor bedrock client initialization and remove troubleshooting guide from documentation.
2023-09-29 22:31:41 -07:00
Krrish Dholakia
e8ec3e8795 add mistral prompt templating 2023-09-29 21:41:28 -07:00
coconut49
4f67261c3c
Update boto3 dependency to version 1.28.57, refactor bedrock client initialization and remove troubleshooting guide from documentation. 2023-09-30 12:31:26 +08:00
ishaan-jaff
6a81f860f9 add param mapping to claude bedrock 2023-09-29 15:36:57 -07:00
ishaan-jaff
17fc4a7b37 add anthropic on bedrock 2023-09-29 15:02:39 -07:00
ishaan-jaff
3fbad7dfa7 add hf embedding models 2023-09-29 11:57:38 -07:00
ishaan-jaff
af914d4be1 add cohere embedding models 2023-09-29 09:59:31 -07:00
Krrish Dholakia
54409a2a30 fixing claude max token testing 2023-09-27 21:52:30 -07:00
ishaan-jaff
156d4f27de auto-detect HF task 2023-09-27 17:49:31 -07:00
ishaan-jaff
59999e4399 add hf tgi and conversational models 2023-09-27 15:56:45 -07:00
Krrish Dholakia
07c74838ff remove print statement in replicate.py 2023-09-27 10:43:06 -07:00