Commit graph

77 commits

Author SHA1 Message Date
ishaan-jaff
e0a7ae539e (fix) bug importing litellm 2024-03-05 18:41:39 -08:00
Krrish Dholakia
ee5bedf541 fix(bedrock.py): fix conditional 2024-03-04 21:46:00 -08:00
Krrish Dholakia
87831588c8 fix(utils.py): fix default message object values 2024-03-04 21:19:03 -08:00
Krrish Dholakia
f0a5e0ffe9 fix(bedrock.py): working image calls to claude 3 2024-03-04 18:12:47 -08:00
Krrish Dholakia
dad65ca602 fix(bedrock.py): support anthropic messages api on bedrock (claude-3) 2024-03-04 17:15:47 -08:00
Krrish Dholakia
6c486c2461 fix(bedrock.py): add claude 3 support 2024-03-04 17:15:47 -08:00
Tim Xia
30887760e6 change to snake case 'cause of aws docs 2024-03-02 00:07:21 -05:00
Tim Xia
fe3d7577dc follow camelcase convention 2024-03-01 23:58:03 -05:00
Tim Xia
78a93e40ed Add AmazonMistralConfig 2024-03-01 23:14:00 -05:00
Tim Xia
6f389097d2 add support for bedrock mistral models 2024-03-01 22:45:54 -05:00
Krrish Dholakia
179fef23f9 fix(bedrock.py): fix amazon titan prompt formatting 2024-02-13 22:02:25 -08:00
ishaan-jaff
83e7ebd157 (feat) support bedrock timeout 2024-02-09 14:36:43 -08:00
Krrish Dholakia
6e2c8732c9 fix(bedrock.py): raise exception for amazon titan null response 2024-02-08 21:12:25 -08:00
David Leen
b791dec5b6 Add support for AWS credentials from profile file
https://boto3.amazonaws.com/v1/documentation/api/latest/guide/credentials.html#aws-config-file
2024-02-08 15:10:50 -08:00
Krrish Dholakia
5994c1e7ef feat(bedrock.py): add stable diffusion image generation support 2024-02-03 12:08:38 -08:00
ishaan-jaff
68553ed8dc (fix) use isinstance to check types 2024-01-30 08:31:21 -08:00
ishaan-jaff
4bef067f6a (feat) Bedrock embedding - raise correct exception BadRequest 2024-01-30 08:14:35 -08:00
Krrish Dholakia
e1beaf0945 feat(utils.py): support region based pricing for bedrock + use bedrock's token counts if given 2024-01-26 14:53:58 -08:00
Krrish Dholakia
cc89aa7456 fix(bedrock.py): add support for sts based boto3 initialization
https://github.com/BerriAI/litellm/issues/1476
2024-01-17 12:08:59 -08:00
ishaan-jaff
a5f3907334 (feat) provisioned throughput - bedrock embedding models 2024-01-13 21:07:38 -08:00
ishaan-jaff
a661149a39 (feat) bedrock support provisioned throughput 2024-01-13 15:39:54 -08:00
Krish Dholakia
84879c0318 Merge pull request #1429 from dleen/data
[bug] unbound variable in bedrock
2024-01-12 22:16:11 +05:30
David Leen
1660e4ab72 improve bedrock exception granularity 2024-01-12 16:38:55 +01:00
David Leen
d0e9c9dce9 [bug] unbound variable in bedrock
note: the code was written as `json.dumps({})` even though it is more verbose in order to facilitate easier refactoring in the future

fixes #1428
2024-01-12 12:33:00 +01:00
ishaan-jaff
1f04446222 (fix) bedrock - embedding - support str input 2024-01-11 23:02:12 +05:30
ishaan-jaff
9aac1de191 v0 2024-01-11 22:56:18 +05:30
ishaan-jaff
6672591198 (fix) init_bedrock_client 2024-01-01 22:48:56 +05:30
Krrish Dholakia
79978c44ba refactor: add black formatting 2023-12-25 14:11:20 +05:30
David Manouchehri
98bb605701 Add aws_bedrock_runtime_endpoint support. 2023-12-20 19:31:43 -05:00
Krrish Dholakia
a207f8ea63 bump: version 1.14.4 → 1.14.5.dev1 2023-12-14 15:23:52 -08:00
Krrish Dholakia
02cfefa257 test(test_custom_callback_input.py): embedding callback tests for azure, openai, bedrock 2023-12-11 15:32:46 -08:00
Krrish Dholakia
72591a2165 test(test_custom_callback_input.py): add bedrock testing
n

n
2023-12-11 13:00:01 -08:00
Krrish Dholakia
583de6ab92 fix(bedrock.py): fix output format for cohere embeddings 2023-12-06 22:47:01 -08:00
Krrish Dholakia
feb4e50234 fix(bedrock.py): fix embeddings call 2023-12-06 14:16:00 -08:00
Krrish Dholakia
b5b366626f refactor: fix linting 2023-12-06 13:27:40 -08:00
Krrish Dholakia
a18bdb3f2e fix(bedrock.py): adding support for cohere embeddings 2023-12-06 13:25:18 -08:00
Krrish Dholakia
2a5592abe7 fix(bedrock.py): support ai21 / bedrock streaming 2023-11-29 16:35:06 -08:00
ishaan-jaff
0fdcbad2ca (feat) completion:debugging - show raw POST request 2023-11-27 10:13:37 -08:00
Krish Dholakia
1e99ebfec3 Merge pull request #845 from canada4663/upstream-main
Added support for multiple embeddings via Bedrock
2023-11-21 14:00:06 -08:00
ishaan-jaff
7bc28f3b1c (fix) pydantic errors with response.time 2023-11-20 18:28:19 -08:00
canada4663
5108b00688 bedrock embedding changes pre-testing 2023-11-18 21:00:06 -08:00
David Christian
9c4afd87ed added support for bedrock llama models 2023-11-13 15:41:21 -08:00
Krrish Dholakia
4b74ddcb17 refactor: fixing linting issues 2023-11-11 18:52:28 -08:00
Krrish Dholakia
7b4e21e574 refactor(bedrock.py-+-cohere.py): making bedrock and cohere compatible with openai v1 sdk 2023-11-11 17:33:19 -08:00
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