ai-sdk-ollama
Version:
Vercel AI SDK Provider for Ollama using official ollama-js library
11 lines • 1.15 kB
TypeScript
export { createOllama, ollama, type OllamaProvider, type OllamaProviderSettings, type OllamaChatSettings, type OllamaEmbeddingSettings, type OllamaProviderOptions, type OllamaChatProviderOptions, type OllamaEmbeddingProviderOptions, } from './provider.browser.js';
export { OllamaRerankingModel, type OllamaRerankingSettings, type OllamaRerankingProviderOptions, } from './models/reranking-model.js';
export { OllamaError } from './utils/ollama-error.js';
export type { OllamaErrorData } from './utils/ollama-error.js';
export { cosineSimilarity } from './utils/cosine-similarity.js';
export { parseToolArguments, resolveToolCallingOptions, } from './utils/tool-calling-reliability.js';
export type { ToolCallingOptions, ResolvedToolCallingOptions, ToolCallResult, ReliableToolCallResult, ToolDefinition, } from './utils/tool-calling-reliability.js';
export type { ObjectGenerationOptions } from './utils/object-generation-reliability.js';
export { generateText, type GenerateTextOptions, } from './functions/generate-text.js';
export { streamText, type StreamTextOptions } from './functions/stream-text.js';
//# sourceMappingURL=index.browser.d.ts.map