Commit graph

1120 commits

Author SHA1 Message Date
ishaan-jaff
6645c510ac (fix) linting 2023-11-16 12:25:46 -08:00
Krrish Dholakia
9c2e74b6ea fix(azure.py): fix linting errors 2023-11-16 12:15:50 -08:00
ishaan-jaff
3b75dfe490 (fix) linting 2023-11-16 11:44:26 -08:00
ishaan-jaff
985f9b1ec1 (feat) text_completion add rules on when to use engine & model together 2023-11-16 11:37:31 -08:00
Rodney Rodriguez
f2d8bfd40d bugfixes for ollama 2023-11-15 19:27:06 -06:00
Krrish Dholakia
6d1b8945dd fix(huggingface_restapi.py): fix linting errors 2023-11-15 15:34:21 -08:00
Krrish Dholakia
e35ce15a89 refactor(huggingface_restapi.py): moving async completion + streaming to real async calls 2023-11-15 15:14:21 -08:00
Krrish Dholakia
0f6713993d fix(router.py): enabling retrying with expo backoff (without tenacity) for router 2023-11-14 20:57:51 -08:00
Krrish Dholakia
5d58bb9cd0 fix(main.py): misrouting ollama models to nlp cloud 2023-11-14 18:55:08 -08:00
ishaan-jaff
d25d4d26bd (feat) debug ollama POST request 2023-11-14 17:53:48 -08:00
Krrish Dholakia
9b582b2c85 fix(main.py): keep client consistent across calls + exponential backoff retry on ratelimit errors 2023-11-14 16:26:05 -08:00
ishaan-jaff
c5e81bfb19 (fix) linting fix 2023-11-14 14:40:59 -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
ishaan-jaff
cd4ed86a77 (feat) completion:azure - add azure_ad_token 2023-11-14 12:12:14 -08:00
Krrish Dholakia
8ff9d8fabe fix(main.py): fix linting errors 2023-11-13 15:31:46 -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
ishaan-jaff
f388000566 (fix) deepinfra with openai v1.0.0 2023-11-13 09:51:22 -08:00
Krrish Dholakia
d9f54f04e3 build(main.py): trigger testing 2023-11-11 19:20:48 -08:00
Krrish Dholakia
4b74ddcb17 refactor: fixing linting issues 2023-11-11 18:52:28 -08:00
Krrish Dholakia
e7d1840d5f fix(main.py): fix caching for router 2023-11-11 17:45:23 -08:00
Krrish Dholakia
c0a757a25f refactor(azure.py): working azure completion calls with openai v1 sdk 2023-11-11 16:44:39 -08:00
Krrish Dholakia
1ec07c0aba refactor(openai.py): working openai chat + text completion for openai v1 sdk 2023-11-11 16:25:10 -08:00
Krrish Dholakia
a5ec85b1f2 refactor(openai.py): making it compatible for openai v1
BREAKING CHANGE:
2023-11-11 15:33:02 -08:00
Krrish Dholakia
54b4130d54 fix(text_completion.py): fix routing logic 2023-11-10 15:46:37 -08:00
Krrish Dholakia
548605def8 fix(utils.py): return function call as part of response object 2023-11-10 11:02:10 -08:00
Krrish Dholakia
67e8b12a09 fix(utils.py): fix cached responses - translate dict to objects 2023-11-10 10:38:20 -08:00
Pratham Soni
fc2f4cecdc add custom open ai models to asyncio call 2023-11-09 20:47:46 -08:00
Krrish Dholakia
af7468e9bc fix(main.py): accepting azure deployment_id 2023-11-09 18:16:02 -08:00
Krrish Dholakia
1affa89ad7 test: fix linting issues 2023-11-09 16:50:43 -08:00
Krrish Dholakia
272a6dc9b0 refactor(azure.py): enabling async streaming with aiohttp 2023-11-09 16:41:06 -08:00
Krrish Dholakia
9b278f567b refactor(openai.py): support aiohttp streaming 2023-11-09 16:15:30 -08:00
Krrish Dholakia
1d46891ceb fix(azure.py): adding support for aiohttp calls on azure + openai 2023-11-09 10:40:33 -08:00
Krrish Dholakia
8ee4b1f603 feat(utils.py): enable returning complete response when stream=true 2023-11-09 09:17:51 -08:00
Krrish Dholakia
678249ee09 refactor(azure.py): moving embeddings to http call 2023-11-08 19:07:21 -08:00
Krrish Dholakia
880768f83d refactor(openai.py): moving embedding calls to http 2023-11-08 19:01:17 -08:00
Krrish Dholakia
e66373bd47 refactor(openai.py): moving openai text completion calls to http 2023-11-08 18:40:03 -08:00
Krrish Dholakia
decf86b145 refactor(openai.py): moving openai chat completion calls to http 2023-11-08 17:40:41 -08:00
Krrish Dholakia
17f5e46080 refactor(azure.py): moving azure openai calls to http calls 2023-11-08 16:52:18 -08:00
ishaan-jaff
11ee52207e (feat) add streaming for text_completion 2023-11-08 11:58:07 -08:00
ishaan-jaff
f8bcf32c4f (feat) parallel HF text completion + completion_with_retries show exception 2023-11-06 17:58:06 -08:00
ishaan-jaff
fdded281a9 (fix) bug fix: completion, text_completion, check if optional params are not None and pass to LLM 2023-11-06 13:17:19 -08:00
ishaan-jaff
70fc10c010 (fix) linting fixes 2023-11-06 13:02:11 -08:00
ishaan-jaff
de66e42fd0 (fix) text_completion naming 2023-11-06 12:47:06 -08:00
ishaan-jaff
82e44c7f84 (fix) text completion linting 2023-11-06 11:53:50 -08:00
ishaan-jaff
2a15da509f (fix) text_completion fixes 2023-11-06 09:11:10 -08:00
ishaan-jaff
a2f8ab7eb1 (feat) text_completion add docstring 2023-11-06 08:36:09 -08:00
Krrish Dholakia
f7c5595a0d fix(main.py): fixing print_verbose 2023-11-04 14:41:34 -07:00