providers/

directory
v1.0.59 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 22, 2025 License: MIT

Directories

Path Synopsis
Package anthropic provides an Anthropic Claude AI provider implementation.
Package anthropic provides an Anthropic Claude AI provider implementation.
bedrock
Package bedrock provides AWS Bedrock integration middleware for the Anthropic provider.
Package bedrock provides AWS Bedrock integration middleware for the Anthropic provider.
vertex
Package vertex provides Google Vertex AI integration for Anthropic Claude models.
Package vertex provides Google Vertex AI integration for Anthropic Claude models.
Package azure provides integration with Azure OpenAI Service
Package azure provides integration with Azure OpenAI Service
Package base provides common functionality and utilities for AI providers.
Package base provides common functionality and utilities for AI providers.
Package cerebras provides a Cerebras AI provider implementation.
Package cerebras provides a Cerebras AI provider implementation.
Package common provides shared utilities and infrastructure for AI provider implementations.
Package common provides shared utilities and infrastructure for AI provider implementations.
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
config
Package config provides configuration utilities for AI provider implementations
Package config provides configuration utilities for AI provider implementations
errors
Package errors provides rich error context for AI provider operations.
Package errors provides rich error context for AI provider operations.
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.
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.
retry
Package retry provides retry infrastructure for AI provider implementations.
Package retry provides retry infrastructure for AI provider implementations.
streaming
Package streaming provides streaming utilities for AI provider implementations.
Package streaming provides streaming utilities for AI provider implementations.
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.
telemetry
Package telemetry provides telemetry utilities for AI provider tracking and monitoring.
Package telemetry provides telemetry utilities for AI provider tracking and monitoring.
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.
Package ollama provides an Ollama AI provider implementation.
Package ollama provides an Ollama AI provider implementation.
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.
Package openrouter provides an OpenRouter AI provider implementation.
Package openrouter provides an OpenRouter AI provider implementation.
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.
Package virtual provides composite provider implementations that combine multiple underlying providers.
Package virtual provides composite provider implementations that combine multiple underlying providers.
fallback
Package fallback provides a virtual provider that implements fallback logic.
Package fallback provides a virtual provider that implements fallback logic.
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.
racing
Package racing provides a virtual provider that races multiple providers concurrently.
Package racing provides a virtual provider that races multiple providers concurrently.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL