Commit graph

330 commits

Author SHA1 Message Date
Krrish Dholakia
9ca06e2827 fix(huggingface_restapi.py): raise better exceptions for unprocessable hf responses 2023-12-05 07:28:21 -08:00
Krish Dholakia
eab7d41cd3 Merge pull request #970 from nbaldwin98/fixing-replicate-sys-prompt
fix system prompts for replicate
2023-12-04 16:39:44 -08:00
ishaan-jaff
9506f66846 (feat) replicate/deployments: add POST Req view 2023-12-04 13:43:03 -08:00
chabala98
a8f2639e11 fix system prompts for replicate 2023-12-01 13:16:35 +01:00
ishaan-jaff
6ca30724df (feat) aembedding: return raw openai response 2023-11-30 20:02:47 -08:00
Krrish Dholakia
052ed7ff8c fix(azure.py): logging fix 2023-11-30 14:13:40 -08:00
Krrish Dholakia
0e1c747f12 fix(router.py): support cloudflare ai gateway for azure models on router 2023-11-30 14:09:06 -08:00
Krrish Dholakia
49684e9eb4 fix(azure.py): fix linting errors 2023-11-30 13:32:29 -08:00
Krrish Dholakia
526cc3a9c4 feat(main.py): add support for azure-openai via cloudflare ai gateway 2023-11-30 13:19:49 -08:00
ishaan-jaff
1a1b549caa (chore) linting fix 2023-11-29 19:58:12 -08:00
Krrish Dholakia
a05722571b fix(replicate.py): fix custom prompt formatting 2023-11-29 19:44:09 -08:00
ishaan-jaff
dc9bafa959 (feat) Embedding: Async Azure 2023-11-29 19:43:47 -08:00
ishaan-jaff
ca03f83597 (feat) async embeddings: OpenAI 2023-11-29 19:35:08 -08:00
Krrish Dholakia
2a5592abe7 fix(bedrock.py): support ai21 / bedrock streaming 2023-11-29 16:35:06 -08:00
ishaan-jaff
5132976b53 (fix) azure: remove max retries before completion 2023-11-29 16:09:31 -08:00
Krrish Dholakia
ff865ab2c5 fix(azure.py): fix error handling for openai/azure streaming 2023-11-29 11:52:24 -08:00
ishaan-jaff
7f34298ef8 (fix) using AzureOpenAI client 2023-11-28 17:17:40 -08:00
ishaan-jaff
171f23e4fb (fix) completion:openai-pop out max_retries from completion kwargs 2023-11-28 17:09:58 -08:00
ishaan-jaff
b733cee3f9 (feat+test) use passed OpenAI client 2023-11-28 16:09:10 -08:00
ishaan-jaff
a2d7623d6e (feat) completion: Azure allow users to pass client to router 2023-11-28 15:56:52 -08:00
ishaan-jaff
ad6a3fb8fe (feat) allow users to pass azure client for acmompletion 2023-11-28 15:44:56 -08:00
Krrish Dholakia
5450fb26f4 fix(utils.py): azure tool calling streaming 2023-11-27 19:07:38 -08:00
ishaan-jaff
f61a74f886 (linting) fix 2023-11-27 10:27:51 -08:00
ishaan-jaff
0fdcbad2ca (feat) completion:debugging - show raw POST request 2023-11-27 10:13:37 -08:00
ishaan-jaff
4bd13bc006 (feat) completion:sagemaker - support chat models 2023-11-27 10:11:10 -08:00
ishaan-jaff
bb4116f2ab (feat) completion:sagemaker - better debugging 2023-11-27 09:08:20 -08:00
ishaan-jaff
9efc714471 (fix) acompletion: Raise same error as completion 2023-11-25 15:33:46 -08:00
Krrish Dholakia
0b2c1496d2 fix: fix nlp cloud streaming 2023-11-25 13:45:23 -08:00
Krrish Dholakia
20ca1b32eb bump: version 1.7.0 → 1.7.1 2023-11-25 12:34:28 -08:00
Krrish Dholakia
28cdebf0f2 fix(openai.py): fix linting issues 2023-11-25 12:21:29 -08:00
Krrish Dholakia
c22b71bb04 fix(utils.py): fix embedding response output parsing 2023-11-25 12:06:57 -08:00
ishaan-jaff
19b1d8f44a (feat) embedding: better logging 2023-11-25 11:10:06 -08:00
ishaan-jaff
5462ba9a9d (feat) logging: for embedding openai.py 2023-11-25 11:10:06 -08:00
ishaan-jaff
62eb9371b4 (feat) 10x faster embeddings 2023-11-24 17:02:57 -08:00
ishaan-jaff
13361e3d62 (fix) add azure/ to model. TY Krrish ! 2023-11-23 21:44:08 -08:00
ishaan-jaff
b520ace9dd (feat) cost tracking for azure llms 2023-11-23 21:41:38 -08:00
Krrish Dholakia
78d13ea6eb fix(vertex_ai.py): fix exception mapping for vertex ai 2023-11-23 17:35:33 -08:00
ishaan-jaff
150d030d9f (fix) azure: better debugging 2023-11-23 16:08:59 -08:00
Krish Dholakia
320a6fefec Merge pull request #885 from Codium-ai/bugfix/hf_timeout
Do not timeout when calling HF through acomplete
2023-11-23 07:48:59 -08:00
Ori Kotek
cc5dbbf53f Do not timeout when calling HF through acomplete 2023-11-23 15:56:59 +02:00
maqsoodshaik
3c5b002b90 this commit fixes #883 2023-11-23 12:45:38 +01:00
ishaan-jaff
8d074475c4 (fix) linting error 2023-11-22 16:22:05 -08:00
ishaan-jaff
52cd291482 (feat) embedding() support for timeouts 2023-11-22 14:25:55 -08:00
ishaan-jaff
a66d2ecb68 (fix) Azure - only use ad_token when api_key is None 2023-11-22 14:25:55 -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
Krrish Dholakia
aad17a5479 fix(huggingface_restapi.pyu): fix linting errors 2023-11-21 10:05:35 -08:00
Krrish Dholakia
a1c342c3ad feat(factory.py): add support for anthropic system prompts for claude 2.1 2023-11-21 09:57:26 -08:00
Krrish Dholakia
53d71c229f fix(huggingface_restapi.py): fixing formatting 2023-11-21 09:57:26 -08:00
Krrish Dholakia
c48e775908 fix(huggingface_restapi.py): fix huggingface response format 2023-11-21 09:57:26 -08:00
Krrish Dholakia
c425fb7eeb fix(huggingface_restapi.py): handle generate text output 2023-11-21 09:57:26 -08:00