- Preparing search index...
- The search index is not available
openai-streams
- OpenAI<T>(endpoint, args, options?): Promise<ReadableStream<Uint8Array>>
-
Type Parameters
-
T extends "completions" | "edits" | "embeddings" | "images" | "fine-tunes" | "chat"
Returns Promise<ReadableStream<Uint8Array>>
OpenAI Edge client.
Create a new completion stream. Stream of strings by default, set
mode: 'raw'
for the raw stream of JSON objects.