openai-partial-stream
openai-partial-stream copied to clipboard
Turn a stream of token into a parsable JSON object as soon as possible. Enable Streaming UI for AI app based on LLM.
Add check to see if tools is being used instead of functions.
Thank you so much for the work on this! It's an awesome contribution. On running the Color example in an endpoint I get status of "COMPLETED", when the output didn't...
I have an entity/schema that has nested objects. Even with StreamObjectKeyValueTokens, my streaming behaves more like StreamObjectKeyValue whereby one field only becomes available when its value is complete. I suspect...
I'd really like to add support for declaration maps so that in my VS Code I can use Go-to-Definition to navigate to the .ts files instead of .mts or .mjs...
I am using Azure OpenAI and trying to use this library for streaming the json object. Getting this error ``` error: TypeError: Cannot read properties of undefined (reading 'delta') at...
I'm trying to achieve the above in OpenAI Assistants API. ``` let assistantId = assistantDetails.assistantId; // Create a thread using the assistantId const thread = await openai.beta.threads.create(); // Pass in...