interface AITextSession {
    clone(): AITextSession;
    destroy(): void;
    prompt(input): Promise<string>;
    promptStreaming(input): ReadableStream<any>;
}

Methods

Generated using TypeDoc