Package detail

openai-partial-stream

st3w4r14.1kMIT0.3.9

  • Convert a stream of token into a parsable JSON object before the stream ends. - Implement Streaming UI in LLM-based AI application. - Leverage OpenAI Function Calling for early stream processing. - Parse JSON stream into distinct

stream, tokens, openai, json-parser

readme

OpenaAI Partial Stream Library

  • Convert a stream of token into a parsable JSON object before the stream ends.
  • Implement Streaming UI in LLM-based AI application.
  • Leverage OpenAI Function Calling for early stream processing.
  • Parse JSON stream into distinct entities.
  • Engage your users with a real-time experience.

Installation

npm install openai-partial-stream

Usage Example on GitHub

Follow the Work