Commit graph

33 commits

Author SHA1 Message Date
Krrish Dholakia
d53a0d9663 refactor(bedrock.py): better exception mapping for bedrock + huggingface 2023-11-04 16:12:12 -07:00
Krrish Dholakia
d0b23a2722 refactor(all-files): removing all print statements; adding pre-commit + flake8 to prevent future regressions 2023-11-04 12:50:15 -07:00
Krrish Dholakia
64b6b0155d fix(bedrock.py): add exception mapping coverage for authentication scenarios 2023-11-03 18:25:34 -07:00
Krrish Dholakia
8bf8464fc2 fix(bedrock.py): fix bedrock exception mapping 2023-11-03 18:14:12 -07:00
ishaan-jaff
10f72f0f4a (fix) bedrock: remove check for - if "error" in outputText 2023-11-03 18:06:23 -07:00
ishaan-jaff
0668d8d81e (feat) embedding() add bedrock/amazon.titan-embed-text-v1 2023-11-01 13:55:28 -07:00
ishaan-jaff
c6229b7113 (feat) add bedrock.cohere streaming 2023-10-31 22:26:43 -07:00
canada4663
49033bbe27 add ability to use custom AWS Bedrock Runtime endpoint via environment or .env variable AWS_BEDROCK_RUNTIME_ENDPOINT or as a parameter to init_bedrock_client 2023-10-28 22:25:45 -07:00
canada4663
46ef5a94b9 add in ability to read AWS boto3 default AWS Region name if litellm .env config AWS_REGION_NAME not available 2023-10-28 21:43:48 -07:00
ishaan-jaff
75d45c27c1 (fix) bedrock region name defaults to None 2023-10-27 10:17:45 -07:00
ishaan-jaff
194b6263c7 (feat) add model_response.usage.completion_tokens for bedrock, palm, petals, sagemaker 2023-10-27 09:51:50 -07:00
Krrish Dholakia
2f9e112c14 fix(anthropic.py-+-bedrock.py): anthropic prompt format 2023-10-20 10:56:15 -07:00
Krrish Dholakia
d0b4dfd26c feat(proxy_server): adds create-proxy feature 2023-10-12 18:27:07 -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
Zeeshan Hooda
c85588ced7 (test) add bedrock existing client auth test 2023-10-09 03:39:40 -06:00
Zeeshan Hooda
7cfbf48bcb (docs) bedrock pass existing client to completion 2023-10-09 01:14:53 -06:00
Zeeshan Hooda
62dd17b97b (feat) bedrock pass client to completion 2023-10-09 00:51:58 -06:00
ishaan-jaff
fc10894a86 (feat) bedrock auth in completion 2023-10-07 15:27:58 -07:00
Krrish Dholakia
37f9626422 fix(bedrock.py): adding provider-specific configs 2023-10-05 23:49:20 -07:00
Krrish Dholakia
69cdf5347a style(test_completion.py): fix merge conflict 2023-10-05 22:09:38 -07:00
Krrish Dholakia
d49a36004c Fixes to bedrock 2023-10-02 16:09:06 -07:00
canada4663
e5150aa067 added similar changes to anthropic.py based on recommendation from @krrishdholakia 2023-10-01 20:54:36 -07:00
canada4663
811b737b0b add bedrock.anthropic support for system prompt using <admin> tag 2023-09-30 21:22:46 -07:00
coconut49
b0e21246c7 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
aaa5ac0488 add param mapping to claude bedrock 2023-09-29 15:36:57 -07:00
ishaan-jaff
9263319afc add anthropic on bedrock 2023-09-29 15:02:39 -07:00
ishaan-jaff
9ee3faed5b streaming for amazon titan bedrock 2023-09-16 09:57:16 -07:00
ishaan-jaff
8a1a090fba support optional params for bedrock amazon 2023-09-16 09:19:07 -07:00
ishaan-jaff
c8c1f25684 linting fix bedrock 2023-09-14 14:26:23 -07:00
ishaan-jaff
ccb0b7fc78 bedrock.py fixes 2023-09-14 14:15:39 -07:00
ishaan-jaff
486fe00ba6 add bedrock to main and init 2023-09-14 13:51:09 -07:00
ishaan-jaff
f5931a7235 v0 bedrock support 2023-09-04 12:40:40 -07:00