Files
smartai/ts/index.ts
T

19 lines
673 B
TypeScript

export { getModel, getModelSetup } from './smartai.classes.smartai.js';
export type {
IOpenAiProviderOptions,
ISmartAiModelSetup,
ISmartAiOptions,
TOpenAiReasoningEffort,
TOpenAiTextVerbosity,
TProvider,
TSmartAiProviderOptions,
IOllamaModelOptions,
LanguageModelV3,
} from './smartai.interfaces.js';
export { createAnthropicCachingMiddleware } from './smartai.middleware.anthropic.js';
export { createOllamaModel } from './smartai.provider.ollama.js';
// Re-export commonly used ai-sdk functions for consumer convenience
export { generateText, streamText, tool, jsonSchema } from 'ai';
export type { ModelMessage, ToolSet, StreamTextResult } from 'ai';