Function ChatParser

  • A transformer that receives chunks of parsed server sent events from OpenAI and yields the delta of the first choice.

    Parameters

    • Optional chunk: Uint8Array

    Returns AsyncGenerator<Uint8Array, any, unknown>

Generated using TypeDoc