Type alias OpenAIEdgeClient

OpenAIEdgeClient: (<T>(endpoint, args, options?) => Promise<ReadableStream<Uint8Array>>)

Type declaration

    • <T>(endpoint, args, options?): Promise<ReadableStream<Uint8Array>>
    • The OpenAI API client for Edge runtime.

      Type Parameters

      Parameters

      Returns Promise<ReadableStream<Uint8Array>>

Generated using TypeDoc