Commit graph

1706 commits

Author SHA1 Message Date
ishaan-jaff
52e2730e44 (test) AI21 test 2023-11-14 15:01:50 -08:00
ishaan-jaff
e1ea6f2cc7 (fix) AI21 exception mapping - raise error when status !=200 2023-11-14 15:01:22 -08:00
ishaan-jaff
ebdd559175 (fix) APIError set body=None 2023-11-14 14:50:22 -08:00
ishaan-jaff
c5e81bfb19 (fix) linting fix 2023-11-14 14:40:59 -08:00
ishaan-jaff
74845f12a7 (test) completion azure_ad_token 2023-11-14 12:48:31 -08:00
ishaan-jaff
7a3fa18a64 (feat) pass azure_ad_token to embedding 2023-11-14 12:48:31 -08:00
ishaan-jaff
c903fcc6f3 (feat) pass azure_ad_token to completion 2023-11-14 12:48:31 -08:00
Krrish Dholakia
1283f345dc fix(simple_proxy.md): enable setting a master key to protect proxy endpoints 2023-11-14 12:44:33 -08:00
ishaan-jaff
1bb99af134 (fix) azure_ad_token 2023-11-14 12:20:14 -08:00
ishaan-jaff
e3369bb260 (test) azure_ad_token 2023-11-14 12:12:14 -08:00
ishaan-jaff
90e7f28522 (feat) add azure_ad_token 2023-11-14 12:12:14 -08:00
ishaan-jaff
cd4ed86a77 (feat) completion:azure - add azure_ad_token 2023-11-14 12:12:14 -08:00
Krrish Dholakia
526eb99ade fix(palm.py): exception mapping bad requests / filtered responses 2023-11-14 11:53:13 -08:00
Jack Collins
abbf19bce2 Provide response to ServiceUnavailableError where needed 2023-11-13 21:20:40 -08:00
Jack Collins
bcc1ab6605 Add response and body to APIStatus init call 2023-11-13 21:17:47 -08:00
Krrish Dholakia
34fea89fb0 fix(utils.py): streaming 2023-11-13 18:15:14 -08:00
Krrish Dholakia
68a4229d0c test(test_streaming.py): turning on print verbose for streaming tests 2023-11-13 18:00:48 -08:00
Krrish Dholakia
c86be7665d test(utils.py): adding logging for azure streaming 2023-11-13 17:53:15 -08:00
Krrish Dholakia
40f5805386 test(utils.py): test logging 2023-11-13 17:41:45 -08:00
Krrish Dholakia
b572e9fe3a test(utils.py): add logging and fix azure streaming 2023-11-13 17:24:13 -08:00
Krrish Dholakia
63daffb91b test(utils.py): additional logging 2023-11-13 17:13:41 -08:00
Krrish Dholakia
97e8fc640c test(utils.py): additional logging 2023-11-13 17:06:24 -08:00
Krrish Dholakia
e984122117 test(utils.py): additional logging 2023-11-13 16:59:04 -08:00
Krrish Dholakia
39e784fb8b test(utils.py): adding more logging for streaming test 2023-11-13 16:54:16 -08:00
Krrish Dholakia
1032b49f23 bump: version 1.0.0.dev1 → 1.0.0 2023-11-13 16:48:53 -08:00
Krrish Dholakia
4031f25345 test(test_streaming.py): adding retries to streaming tests 2023-11-13 16:34:59 -08:00
Krrish Dholakia
777a924e6b fix(utils.py): fix response object mapping 2023-11-13 15:58:25 -08:00
David Christian
9c4afd87ed added support for bedrock llama models 2023-11-13 15:41:21 -08:00
Krrish Dholakia
8ff9d8fabe fix(main.py): fix linting errors 2023-11-13 15:31:46 -08:00
Krrish Dholakia
4e233c915b fix(router.py): enable calling router with instructor 2023-11-13 15:16:57 -08:00
Krrish Dholakia
11b63bfba7 fix(promptlayer.py): fixing promptlayer logging integration 2023-11-13 15:04:15 -08:00
Krrish Dholakia
6ca8528c25 fix(main.py): fix linting errors 2023-11-13 14:52:37 -08:00
Krrish Dholakia
330708e7ef fix(tests): fixing response objects for testing 2023-11-13 14:39:30 -08:00
Krrish Dholakia
bdf801d987 fix(together_ai.py): exception mapping for tgai 2023-11-13 13:17:15 -08:00
Krrish Dholakia
d8121737d6 test(test_completion.py): cleanup tests 2023-11-13 11:23:38 -08:00
Krrish Dholakia
b6eea3cf8e fix(timeout.py): fix timeout issue 2023-11-13 11:07:17 -08:00
ishaan-jaff
8ae511b178 (fix) proxy cli maintain back comp with openai < 1.00 2023-11-13 11:06:59 -08:00
ishaan-jaff
aec5ad0f66 (fix) proxy cli compatible with openai v1.0.0 2023-11-13 10:58:20 -08:00
ishaan-jaff
91e6ac36c3 (fix) proxy_server convert chunk to dict() 2023-11-13 10:58:20 -08:00
Krrish Dholakia
8ba438b3a2 fix(caching.py): dump model response object as json 2023-11-13 10:41:04 -08:00
ishaan-jaff
a1f1262d18 (fix) text completion response 2023-11-13 10:29:23 -08:00
ishaan-jaff
cdd40ae45f (fix) proxy cli use openai v1.0.0 2023-11-13 10:08:48 -08:00
ishaan-jaff
a0ef7da7e0 (test) deepinfra with openai v1.0.0 2023-11-13 09:51:45 -08:00
ishaan-jaff
f388000566 (fix) deepinfra with openai v1.0.0 2023-11-13 09:51:22 -08:00
ishaan-jaff
523fa7c81c (fix) proxy + docs: use openai.chat.completions.create instead of openai.ChatCompletions 2023-11-13 08:24:26 -08:00
ishaan-jaff
cf244fc5bf (test) token_counter 2023-11-13 08:02:46 -08:00
ishaan-jaff
8656a6aff7 (fix) token_counter - use openai token counter only for chat completion 2023-11-13 08:00:27 -08:00
ishaan-jaff
ea2c029c50 (test) add test token counter 2023-11-13 07:42:08 -08:00
Krrish Dholakia
8db19d0af4 fix(utils.py): replacing openai.error import statements 2023-11-11 19:25:21 -08:00
Krrish Dholakia
d9f54f04e3 build(main.py): trigger testing 2023-11-11 19:20:48 -08:00