Commit graph

92 commits

Author SHA1 Message Date
ishaan-jaff
b262f0846b (test) update testing streaming for open ai v1.0.0+ 2023-11-18 19:04:41 -08:00
ishaan-jaff
4b110b3fa4 (test) palm streaming test 2023-11-18 17:32:15 -08:00
ishaan-jaff
80002e9a14 (test) remove unused tests 2023-11-18 17:25:42 -08:00
ishaan-jaff
349a1472df (test) openai streaming + function calling 2023-11-18 17:01:46 -08:00
Krrish Dholakia
bf0f8b824c fix(azure.py): use openai client sdk for handling sync+async calling 2023-11-16 12:08:12 -08:00
Krrish Dholakia
bb51216846 fix(openai.py): supporting openai client sdk for handling sync + async calls (incl. for openai-compatible apis) 2023-11-16 10:35:03 -08:00
Krrish Dholakia
fe9c1e2b45 test(test_streaming.py): turning on print verbose for streaming tests 2023-11-13 18:00:48 -08:00
Krrish Dholakia
afc19caf0f test(utils.py): adding logging for azure streaming 2023-11-13 17:53:15 -08:00
Krrish Dholakia
42d0925209 test(test_streaming.py): adding retries to streaming tests 2023-11-13 16:34:59 -08:00
Krrish Dholakia
38ff412b9a fix(utils.py): fix response object mapping 2023-11-13 15:58:25 -08:00
Krrish Dholakia
8a3b771e50 fix(tests): fixing response objects for testing 2023-11-13 14:39:30 -08:00
Krrish Dholakia
547598a134 refactor(bedrock.py-+-cohere.py): making bedrock and cohere compatible with openai v1 sdk 2023-11-11 17:33:19 -08:00
Krrish Dholakia
39c2597c33 refactor(azure.py): working azure completion calls with openai v1 sdk 2023-11-11 16:44:39 -08:00
Krrish Dholakia
d0bd932b3c refactor(openai.py): working openai chat + text completion for openai v1 sdk 2023-11-11 16:25:10 -08:00
Krrish Dholakia
d3323ba637 refactor(openai.py): making it compatible for openai v1
BREAKING CHANGE:
2023-11-11 15:33:02 -08:00
Krrish Dholakia
697497cdfa test(test_streaming.py): set cache to none 2023-11-10 15:24:17 -08:00
ishaan-jaff
2c32f4a588 (test) fix caching 2023-11-10 15:23:56 -08:00
Krrish Dholakia
40edb546dc test(test_streaming.py): set cache to none 2023-11-10 15:04:01 -08:00
Krrish Dholakia
9bfbdc18fb feat(utils.py): enable returning complete response when stream=true 2023-11-09 09:17:51 -08:00
Krrish Dholakia
84f68b2cd1 test(test_streaming.py): fix linting errors 2023-11-08 19:31:06 -08:00
Krrish Dholakia
c2cbdb23fd refactor(openai.py): moving openai text completion calls to http 2023-11-08 18:40:03 -08:00
Krrish Dholakia
c57ed0a9d7 refactor(openai.py): moving openai chat completion calls to http 2023-11-08 17:40:41 -08:00
Krrish Dholakia
53abc31c27 refactor(azure.py): moving azure openai calls to http calls 2023-11-08 16:52:18 -08:00
Krrish Dholakia
caa199d851 test: removing unstable tests 2023-10-30 21:10:36 -07:00
Krrish Dholakia
0ed3917b09 feat(main.py): add support for maritalk api 2023-10-30 17:36:51 -07:00
Krrish Dholakia
b178596d05 test(test_streaming.py): commenting out sagemaker test due to aws key issue 2023-10-28 12:10:07 -07:00
Krrish Dholakia
9c0b475a14 test(test_proxy.py): deprecating cli tool 2023-10-21 15:53:42 -07:00
ishaan-jaff
3548a6ffc3 (test) test accessing class attributes for streamed responses 2023-10-20 13:06:25 -07:00
ishaan-jaff
3da89a58ae (test) temp comment unstable NLP Cloud API test 2023-10-12 18:24:37 -07:00
ishaan-jaff
dc879910e7 (test) load_dotenv in streaming tests 2023-10-12 16:35:33 -07:00
ishaan-jaff
e01d83cea6 (feat) bedrock add finish_reason to streaming responses 2023-10-12 16:22:34 -07:00
ishaan-jaff
0937d07d6d (test) catch bedrock RateLimitErrors 2023-10-12 16:04:32 -07:00
ishaan-jaff
93ceafc44b (test) try replicate test streaming with verbose mode 2023-10-12 15:48:20 -07:00
ishaan-jaff
cc2b19b893 (test) fix failing replicate test, catch AuthenticationError 2023-10-12 15:24:33 -07:00
ishaan-jaff
67168bf802 (test) openai api currently flaky - leading to failures 2023-10-11 22:32:53 -07:00
ishaan-jaff
60e9433476 (test) flaky cohere endpoint for streaming 2023-10-11 22:11:20 -07:00
ishaan-jaff
b9d249ba32 (test) fix streaming test - running into rate limits, set max_tokens 2023-10-11 21:32:00 -07:00
Krrish Dholakia
af2fd0e0de fix: fix value error if model returns empty completion 2023-10-10 10:11:40 -07:00
Krrish Dholakia
29b2fa7f75 fix(test-fixes): test fixes 2023-10-10 08:09:42 -07:00
Krrish Dholakia
7e34736a38 fix(add-custom-success-callback-for-streaming): add custom success callback for streaming 2023-10-06 15:02:02 -07:00
Krrish Dholakia
512769e841 support n param for hf 2023-10-03 07:10:13 -07:00
Krrish Dholakia
0daf2e3880 fixes to get optional params 2023-10-02 14:44:11 -07:00
Krrish Dholakia
5ee4d10656 fix streaming test 2023-09-30 15:59:27 -07:00
Krrish Dholakia
16c755257b add support for custom hf prompt templates 2023-09-30 15:37:30 -07:00
Krrish Dholakia
905a3f08ee fix streaming tests 2023-09-29 22:41:04 -07:00
Krrish Dholakia
e8ec3e8795 add mistral prompt templating 2023-09-29 21:41:28 -07:00
ishaan-jaff
b5299d946d flaky bedrock test 2023-09-28 20:09:19 -07:00
ishaan-jaff
de6493afa0 flaky bedrock streaming test 2023-09-28 20:06:10 -07:00
ishaan-jaff
a364b36f9e new test for deep infra 2023-09-26 13:15:39 -07:00
ishaan-jaff
6dfe3febf4 add palm stream testing 2023-09-26 12:32:59 -07:00