@chinmaymk/aikit v0.0.40
@chinmaymk/aikit v0.0.40
Types
- FinishReason
- TextContent
- ImageContent
- AudioContent
- ToolResultContent
- Content
- Tool
- ToolCall
- Message
- GenerationUsage
- StreamChunk
- StreamResult
- EmbeddingUsage
- EmbeddingResult
- EmbeddingResponse
- ProxyProvider
Interfaces
- AnthropicMessage
- EmbeddingOptions
- EmbeddingProviderOptions
- OpenAIEmbeddingOptions
- GoogleEmbeddingOptions
- GenerationOptions
- ProviderOptions
- OpenAIResponsesOptions
- OpenAIOptions
- GoogleOptions
- AnthropicOptions
Functions
- createOpenAI
- createAnthropic
- createGoogle
- createOpenAIResponses
- createOpenAIEmbeddings
- createGoogleEmbeddings
- createEmbeddingsProvider
- createProvider
- userText
- systemText
- assistantText
- userImage
- userAudio
- userMultipleImages
- userMultipleAudio
- userContent
- assistantWithToolCalls
- toolResult
- textContent
- imageContent
- audioContent
- toolResultContent
- createTool
- processAnthropicStream
- handleStreamEvent
- handleContentBlockStart
- handleContentBlockDelta
- handleMessageDelta
- transformMessages
- transformMessage
- buildContentBlocks
- formatToolChoice
- mapFinishReason
- extractUsageFromAnthropicEvent
- anthropic
- googleEmbeddings
- openai
- openaiEmbeddings
- openaiResponses
- createProxyProvider
- callProxyProvider
- collectDeltas
- collectStream
- processStream
- printStream
- filterStream
- mapStream
- toReadableStream
Type Aliases
- AnthropicContentBlock
- AnthropicStreamEvent
- WithApiKey
- StreamingGenerateFunction
- EmbedFunction
- GenerateFunction
- ProviderConfig
- ProviderFactory
- EmbeddingProviderFactory
- OpenAIProvider
- AnthropicProvider
- GoogleProvider
- OpenAIResponsesProvider
- OpenAIEmbeddingProvider
- GoogleEmbeddingProvider
- AnyGenerationProvider
- AnyEmbeddingProvider
- GenerationProviderType
- EmbeddingProviderType