Directories
¶
| Path | Synopsis |
|---|---|
|
Package auth provides authentication and authorization utilities for AI providers.
|
Package auth provides authentication and authorization utilities for AI providers. |
|
Package backend provides HTTP server infrastructure for building AI-powered backend services.
|
Package backend provides HTTP server infrastructure for building AI-powered backend services. |
|
extensions
Package extensions provides a plugin system for extending backend functionality.
|
Package extensions provides a plugin system for extending backend functionality. |
|
handlers
Package handlers provides HTTP request handlers for the AI Provider Kit backend.
|
Package handlers provides HTTP request handlers for the AI Provider Kit backend. |
|
middleware
Package middleware provides HTTP middleware components for the backend server.
|
Package middleware provides HTTP middleware components for the backend server. |
|
Package backendtypes defines types for backend server configuration and API communication.
|
Package backendtypes defines types for backend server configuration and API communication. |
|
Package factory provides the provider factory pattern for creating and managing AI provider instances.
|
Package factory provides the provider factory pattern for creating and managing AI provider instances. |
|
Package metrics provides a centralized metrics collection system for ai-provider-kit.
|
Package metrics provides a centralized metrics collection system for ai-provider-kit. |
|
Package oauthmanager provides OAuth credential management and rotation for AI providers.
|
Package oauthmanager provides OAuth credential management and rotation for AI providers. |
|
providers
|
|
|
anthropic
Package anthropic provides an Anthropic Claude AI provider implementation.
|
Package anthropic provides an Anthropic Claude AI provider implementation. |
|
anthropic/bedrock
Package bedrock provides AWS Bedrock integration middleware for the Anthropic provider.
|
Package bedrock provides AWS Bedrock integration middleware for the Anthropic provider. |
|
anthropic/vertex
Package vertex provides Google Vertex AI integration for Anthropic Claude models.
|
Package vertex provides Google Vertex AI integration for Anthropic Claude models. |
|
azure
Package azure provides integration with Azure OpenAI Service
|
Package azure provides integration with Azure OpenAI Service |
|
base
Package base provides common functionality and utilities for AI providers.
|
Package base provides common functionality and utilities for AI providers. |
|
cerebras
Package cerebras provides a Cerebras AI provider implementation.
|
Package cerebras provides a Cerebras AI provider implementation. |
|
common
Package common provides shared utilities and infrastructure for AI provider implementations.
|
Package common provides shared utilities and infrastructure for AI provider implementations. |
|
common/auth
Package auth provides authentication utilities and helper functions for AI provider implementations
|
Package auth provides authentication utilities and helper functions for AI provider implementations |
|
common/config
Package config provides configuration utilities for AI provider implementations
|
Package config provides configuration utilities for AI provider implementations |
|
common/errors
Package errors provides rich error context for AI provider operations.
|
Package errors provides rich error context for AI provider operations. |
|
common/middleware
Package middleware provides a flexible middleware infrastructure for AI provider requests and responses.
|
Package middleware provides a flexible middleware infrastructure for AI provider requests and responses. |
|
common/models
Package models provides model metadata, caching, and registry functionality for AI providers, including capability tracking and discovery.
|
Package models provides model metadata, caching, and registry functionality for AI providers, including capability tracking and discovery. |
|
common/retry
Package retry provides retry infrastructure for AI provider implementations.
|
Package retry provides retry infrastructure for AI provider implementations. |
|
common/streaming
Package streaming provides streaming utilities for AI provider implementations.
|
Package streaming provides streaming utilities for AI provider implementations. |
|
common/streaming/decoders
Package decoders provides pluggable stream decoders for various streaming formats including Server-Sent Events (SSE), NDJSON, and EventStream.
|
Package decoders provides pluggable stream decoders for various streaming formats including Server-Sent Events (SSE), NDJSON, and EventStream. |
|
common/telemetry
Package telemetry provides telemetry utilities for AI provider tracking and monitoring.
|
Package telemetry provides telemetry utilities for AI provider tracking and monitoring. |
|
gemini
Package gemini provides backend routing and schema conversion for Gemini API vs Vertex AI.
|
Package gemini provides backend routing and schema conversion for Gemini API vs Vertex AI. |
|
ollama
Package ollama provides an Ollama AI provider implementation.
|
Package ollama provides an Ollama AI provider implementation. |
|
openai
Package openai provides integration with OpenAI's GPT models including chat completions, streaming, tool calling, and authentication support.
|
Package openai provides integration with OpenAI's GPT models including chat completions, streaming, tool calling, and authentication support. |
|
openrouter
Package openrouter provides an OpenRouter AI provider implementation.
|
Package openrouter provides an OpenRouter AI provider implementation. |
|
qwen
Package qwen provides integration with Qwen (Alibaba Cloud) AI models supporting both API key and OAuth authentication, streaming, and tool calling.
|
Package qwen provides integration with Qwen (Alibaba Cloud) AI models supporting both API key and OAuth authentication, streaming, and tool calling. |
|
virtual
Package virtual provides composite provider implementations that combine multiple underlying providers.
|
Package virtual provides composite provider implementations that combine multiple underlying providers. |
|
virtual/fallback
Package fallback provides a virtual provider that implements fallback logic.
|
Package fallback provides a virtual provider that implements fallback logic. |
|
virtual/loadbalance
Package loadbalance provides a virtual provider that distributes requests across multiple providers.
|
Package loadbalance provides a virtual provider that distributes requests across multiple providers. |
|
virtual/racing
Package racing provides a virtual provider that races multiple providers concurrently.
|
Package racing provides a virtual provider that races multiple providers concurrently. |
|
Package ratelimit provides rate limiting functionality for AI provider API requests.
|
Package ratelimit provides rate limiting functionality for AI provider API requests. |
|
Package testutil provides mock implementations and testing utilities for the AI Provider Kit.
|
Package testutil provides mock implementations and testing utilities for the AI Provider Kit. |
|
Package toolvalidator provides validation utilities for tool definitions and tool calls.
|
Package toolvalidator provides validation utilities for tool definitions and tool calls. |
|
Package types defines the core types and interfaces for the AI provider kit.
|
Package types defines the core types and interfaces for the AI provider kit. |
|
Package utils provides utility functions for token estimation, tool call validation, and embedded error detection.
|
Package utils provides utility functions for token estimation, tool call validation, and embedded error detection. |
Click to show internal directories.
Click to hide internal directories.