feat(docs): add structured output example and details
This commit is contained in:
12
src/index.ts
12
src/index.ts
@@ -16,12 +16,20 @@ export type {
|
||||
CompletionResponse,
|
||||
CompletionChunk,
|
||||
ProviderInfo,
|
||||
TokenUsage
|
||||
TokenUsage,
|
||||
ResponseType
|
||||
} from './types/index.js';
|
||||
|
||||
// Error types
|
||||
export { AIProviderError, AIErrorType } from './types/index.js';
|
||||
|
||||
// Response type utilities
|
||||
export {
|
||||
createResponseType,
|
||||
generateResponseTypePrompt,
|
||||
validateResponseType
|
||||
} from './types/index.js';
|
||||
|
||||
// Base provider
|
||||
export { BaseAIProvider } from './providers/base.js';
|
||||
|
||||
@@ -50,4 +58,4 @@ export const SUPPORTED_PROVIDERS = ['claude', 'openai', 'gemini', 'openwebui'] a
|
||||
/**
|
||||
* Package version
|
||||
*/
|
||||
export const VERSION = '1.0.0';
|
||||
export const VERSION = '1.2.0';
|
||||
Reference in New Issue
Block a user