UNPKG

ai-sdk-ollama

Version:

Vercel AI SDK Provider for Ollama using official ollama-js library

25 lines 710 B
import { streamText as _streamText } from 'ai'; type AIStreamTextOptions = Parameters<typeof _streamText>[0]; export type StreamTextOptions = AIStreamTextOptions & { enhancedOptions?: { /** * @default true */ enableToolLogging?: boolean; /** * @default true */ enableStreamingSynthesis?: boolean; /** * @default 10 */ minStreamLength?: number; /** * @default 3000 */ synthesisTimeout?: number; }; }; export declare function streamText(options: StreamTextOptions): Promise<Awaited<ReturnType<typeof _streamText>>>; export {}; //# sourceMappingURL=stream-text.d.ts.map