Commit graph

1456 commits

Author SHA1 Message Date
Krrish Dholakia
d3323ba637 refactor(openai.py): making it compatible for openai v1
BREAKING CHANGE:
2023-11-11 15:33:02 -08:00
ishaan-jaff
b74b051385 (test) tokenizer worked test 2023-11-11 12:13:57 -08:00
ishaan-jaff
96bca9a836 (test) try/pass APIError for TG AI 2023-11-11 11:34:15 -08:00
ishaan-jaff
96f0a068e6 (test) gpt4 vision 2023-11-11 10:34:37 -08:00
Ishaan Jaff
fd6064b571
Merge pull request #787 from duc-phamh/improve_message_trimming
Improve message trimming
2023-11-11 09:39:43 -08:00
ishaan-jaff
9d3a28e391 (test) async_fn with stream 2023-11-10 17:47:15 -08:00
ishaan-jaff
c2c186eb28 (test) add gpt-4 vision 2023-11-10 17:34:40 -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
91dc9a34e5 test(test_langfuse.py): add retries to langfuse test 2023-11-10 15:09:21 -08:00
Krrish Dholakia
40edb546dc test(test_streaming.py): set cache to none 2023-11-10 15:04:01 -08:00
ishaan-jaff
1c1a260065 (test) replicate with streaming, num retries 2023-11-10 12:46:33 -08:00
Krrish Dholakia
18a8bd5543 fix(utils.py): return function call as part of response object 2023-11-10 11:02:10 -08:00
Krrish Dholakia
a4c9e6bd46 fix(utils.py): fix cached responses - translate dict to objects 2023-11-10 10:38:20 -08:00
Krrish Dholakia
86f9bb0af6 test(test_completion.py): fix openai testing 2023-11-09 19:05:34 -08:00
Krrish Dholakia
7769abe432 fix(test_caching.py): flaky test 2023-11-09 18:54:21 -08:00
Krrish Dholakia
3d4c5e10a7 fix(utils.py): fix sync streaming 2023-11-09 18:47:20 -08:00
Krrish Dholakia
249cde3d40 fix(main.py): accepting azure deployment_id 2023-11-09 18:16:02 -08:00
ishaan-jaff
523c540051 (replicate) deployments 2023-11-09 18:10:38 -08:00
Krrish Dholakia
62e83ce75a test(test_completion.py): fix test case 2023-11-09 17:43:18 -08:00
Krrish Dholakia
e12bff6d7f refactor(azure.py): enabling async streaming with aiohttp 2023-11-09 16:41:06 -08:00
Krrish Dholakia
c053782d96 refactor(openai.py): support aiohttp streaming 2023-11-09 16:15:30 -08:00
Krrish Dholakia
86ef2a02f7 fix(azure.py): adding support for aiohttp calls on azure + openai 2023-11-09 10:40:33 -08:00
Duc Pham
eeac3954d5 Reverted error while refactoring 2023-11-10 01:35:41 +07:00
Duc Pham
07e8cf1d9a Improved trimming logic and OpenAI token counter 2023-11-10 01:26:13 +07:00
Krrish Dholakia
9bfbdc18fb feat(utils.py): enable returning complete response when stream=true 2023-11-09 09:17:51 -08:00
ishaan-jaff
c149829e1f run ci/cd again 2023-11-08 20:24:41 -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
ishaan-jaff
01a7660a12 (test) replicate with params 2023-11-08 14:28:06 -08:00
ishaan-jaff
4dd7e2519f (test) add text completion steaming test 2023-11-08 11:59:31 -08:00
ishaan-jaff
55eb274f36 (test) remove dup hf test 2023-11-08 09:54:40 -08:00
ishaan-jaff
b8ebab5d4f (test) router functionality 2023-11-08 09:48:48 -08:00
ishaan-jaff
39ca8b5043 bump: version 0.13.7 → 0.13.8 2023-11-08 09:46:57 -08:00
Krrish Dholakia
193cbe632f fix(utils.py): llmmonitor integration 2023-11-07 15:49:32 -08:00
ishaan-jaff
7309fd6225 (fix) ignore rate limit error for gpt4 turbo 2023-11-06 18:34:45 -08:00
Krrish Dholakia
6a45879932 bump: version 0.13.6.dev3 → 0.13.6 2023-11-06 18:19:20 -08:00
ishaan-jaff
81d3230651 (test) run ci/cd again 2023-11-06 18:13:18 -08:00
ishaan-jaff
6185d73db5 (test) run ci/cd again 2023-11-06 18:11:29 -08:00
ishaan-jaff
7219fcb968 (test) hf inference api - text_completion 2023-11-06 17:56:41 -08:00
ishaan-jaff
592fc12710 (fix) linting errors 2023-11-06 14:42:12 -08:00
ishaan-jaff
1df6dd986d (test) hf max tokens, temp 2023-11-06 14:38:21 -08:00
ishaan-jaff
8d9e2574cf (test) add gpt-4-turbo 2023-11-06 13:32:53 -08:00
ishaan-jaff
07761ac93f (test) text_completion 2023-11-06 13:17:49 -08:00
ishaan-jaff
f591d79376 (fix) linting fixes 2023-11-06 13:02:11 -08:00
Krrish Dholakia
6e7e409615 fix(utils.py): remove special characters from streaming output 2023-11-06 12:21:50 -08:00
Krrish Dholakia
65c01eae23 fix(huggingface_restapi.py): output parsing chat template models 2023-11-06 11:43:12 -08:00
ishaan-jaff
4344ae66b8 (test) text completion 2023-11-06 09:10:48 -08:00