Function OpenAI

  • OpenAI Edge client.

    Create a new completion stream. Stream of strings by default, set mode: 'raw' for the raw stream of JSON objects.

    Type Parameters

    • T extends "completions" | "edits" | "embeddings" | "images" | "fine-tunes" | "chat"

    Parameters

    Returns Promise<ReadableStream<Uint8Array>>

Generated using TypeDoc