Commit graph

22 commits

Author SHA1 Message Date
ishaan-jaff
ac19302d0d (test) stream chunk builder - azure prompt tokens 2023-12-29 15:45:41 +05:30
Krrish Dholakia
79978c44ba refactor: add black formatting 2023-12-25 14:11:20 +05:30
Krrish Dholakia
b76e3ff626 fix(utils.py): fix azure streaming bug 2023-12-04 12:38:22 -08:00
Krrish Dholakia
68e0eca6b8 fix(utils.py): include system fingerprint in streaming response object 2023-11-30 08:45:52 -08:00
Krrish Dholakia
5450fb26f4 fix(utils.py): azure tool calling streaming 2023-11-27 19:07:38 -08:00
Krrish Dholakia
01a71cd0dc fix(stream_chunk_builder): adding support for tool calling in completion counting 2023-11-27 18:39:47 -08:00
Krrish Dholakia
e3766b01a0 test(test_stream_chunk_builder.py): fix setting api key 2023-11-24 11:47:48 -08:00
Krrish Dholakia
5a9a3aa89c fix(main.py): fix streaming_chunk_builder to return usage 2023-11-24 11:27:04 -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
ishaan-jaff
8a7b2ea2b9 (test) test_stream_chunk_builder 2023-11-01 14:54:00 -07:00
ishaan-jaff
d8c5f50faf (test) stream chunk builder 2023-11-01 08:38:19 -07:00
Krrish Dholakia
cf7e2595b8 fix(utils): adds complete streaming response to success handler 2023-10-07 15:42:00 -07:00
Krrish Dholakia
eb4c7876e2 fix get optional params 2023-10-02 12:02:53 -07:00
WilliamEspegren
ca42b4c942 if "function_call" find name 2023-09-17 19:02:50 +02:00
WilliamEspegren
4bf7272885 rebuild chunks to openAI response
Rebuild the cunks, but does not include the "usage"
2023-09-17 13:07:54 +02:00
WilliamEspegren
a5b15a77a9 append chunk to chunks 2023-09-17 10:29:09 +02:00
WilliamEspegren
3fb86f0fc9 add empty chunks list 2023-09-17 10:28:37 +02:00
WilliamEspegren
9b387cffc5 import stream_chunk_builder 2023-09-17 10:28:01 +02:00
WilliamEspegren
40850ecf53 add max_tokens 2023-09-17 10:27:32 +02:00
WilliamEspegren
684b11b456 add stream_chunk_builder function 2023-09-17 10:26:34 +02:00