package
0.0.12
Repository: https://github.com/kris-hansen/comanda.git
Documentation: pkg.go.dev

# Functions

NewAnthropicProvider creates a new Anthropic provider instance.
NewDeepseekProvider creates a new Deepseek provider instance.
NewGoogleProvider creates a new Google provider instance.
NewOllamaProvider creates a new Ollama provider instance.
NewOpenAIProvider creates a new OpenAI provider instance.
NewXAIProvider creates a new X.AI provider instance.

# Variables

DetectProvider determines the appropriate provider based on the model name.

# Structs

AnthropicProvider handles Anthropic family of models.
DeepseekProvider handles Deepseek family of models.
FileInput represents a file to be processed by the model.
GoogleProvider handles Google AI (Gemini) family of models.
ModelConfig represents configuration options for model calls.
OllamaProvider handles Ollama family of models.
OllamaRequest represents the request structure for Ollama API.
OllamaResponse represents the response structure from Ollama API.
OpenAIProvider handles OpenAI family of models.
XAIProvider handles X.AI family of models.

# Interfaces

Provider represents a model provider (e.g., Anthropic, OpenAI).

# Type aliases

DetectProviderFunc is the type for the provider detection function.