Function TokenParser

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

    Parameters

    • Optional chunk: Uint8Array

    Returns AsyncGenerator<Uint8Array, any, unknown>

Generated using TypeDoc