Versions in this module Expand all Collapse all v1 v1.0.1 Dec 26, 2025 Changes in this version + func GetPerplexityClient(g *LLMGateway) (*perplexityClient, error) + func RegisterProvider(providerType ProviderType, factory ProviderFactory) + type AnthropicConfig struct + APIKey string + RateLimiter *RateLimitConfig + Timeout time.Duration + type BedrockClaude35Haiku struct + func NewBedrockClaude35Haiku() *BedrockClaude35Haiku + func (m *BedrockClaude35Haiku) ModelName() string + func (m *BedrockClaude35Haiku) Provider() ProviderType + func (m *BedrockClaude35Haiku) SystemPrompt() string + func (m *BedrockClaude35Haiku) WithMaxTokens(n int) *BedrockClaude35Haiku + func (m *BedrockClaude35Haiku) WithSystemPrompt(s string) *BedrockClaude35Haiku + func (m *BedrockClaude35Haiku) WithTemperature(t float64) *BedrockClaude35Haiku + func (m *BedrockClaude35Haiku) WithTopK(k int) *BedrockClaude35Haiku + func (m *BedrockClaude35Haiku) WithTopP(p float64) *BedrockClaude35Haiku + type BedrockClaude35Sonnet struct + func NewBedrockClaude35Sonnet() *BedrockClaude35Sonnet + func (m *BedrockClaude35Sonnet) ModelName() string + func (m *BedrockClaude35Sonnet) Provider() ProviderType + func (m *BedrockClaude35Sonnet) SystemPrompt() string + func (m *BedrockClaude35Sonnet) WithMaxTokens(n int) *BedrockClaude35Sonnet + func (m *BedrockClaude35Sonnet) WithSystemPrompt(s string) *BedrockClaude35Sonnet + func (m *BedrockClaude35Sonnet) WithTemperature(t float64) *BedrockClaude35Sonnet + func (m *BedrockClaude35Sonnet) WithTopK(k int) *BedrockClaude35Sonnet + func (m *BedrockClaude35Sonnet) WithTopP(p float64) *BedrockClaude35Sonnet + type BedrockClaude3Haiku struct + func NewBedrockClaude3Haiku() *BedrockClaude3Haiku + func (m *BedrockClaude3Haiku) ModelName() string + func (m *BedrockClaude3Haiku) Provider() ProviderType + func (m *BedrockClaude3Haiku) SystemPrompt() string + func (m *BedrockClaude3Haiku) WithMaxTokens(n int) *BedrockClaude3Haiku + func (m *BedrockClaude3Haiku) WithSystemPrompt(s string) *BedrockClaude3Haiku + func (m *BedrockClaude3Haiku) WithTemperature(t float64) *BedrockClaude3Haiku + func (m *BedrockClaude3Haiku) WithTopK(k int) *BedrockClaude3Haiku + func (m *BedrockClaude3Haiku) WithTopP(p float64) *BedrockClaude3Haiku + type BedrockClaude3Opus struct + func NewBedrockClaude3Opus() *BedrockClaude3Opus + func (m *BedrockClaude3Opus) ModelName() string + func (m *BedrockClaude3Opus) Provider() ProviderType + func (m *BedrockClaude3Opus) SystemPrompt() string + func (m *BedrockClaude3Opus) WithMaxTokens(n int) *BedrockClaude3Opus + func (m *BedrockClaude3Opus) WithSystemPrompt(s string) *BedrockClaude3Opus + func (m *BedrockClaude3Opus) WithTemperature(t float64) *BedrockClaude3Opus + func (m *BedrockClaude3Opus) WithTopK(k int) *BedrockClaude3Opus + func (m *BedrockClaude3Opus) WithTopP(p float64) *BedrockClaude3Opus + type BedrockClaude3Sonnet struct + func NewBedrockClaude3Sonnet() *BedrockClaude3Sonnet + func (m *BedrockClaude3Sonnet) ModelName() string + func (m *BedrockClaude3Sonnet) Provider() ProviderType + func (m *BedrockClaude3Sonnet) SystemPrompt() string + func (m *BedrockClaude3Sonnet) WithMaxTokens(n int) *BedrockClaude3Sonnet + func (m *BedrockClaude3Sonnet) WithSystemPrompt(s string) *BedrockClaude3Sonnet + func (m *BedrockClaude3Sonnet) WithTemperature(t float64) *BedrockClaude3Sonnet + func (m *BedrockClaude3Sonnet) WithTopK(k int) *BedrockClaude3Sonnet + func (m *BedrockClaude3Sonnet) WithTopP(p float64) *BedrockClaude3Sonnet + type BedrockConfig struct + AccessKeyID string + Profile string + RateLimiter *RateLimitConfig + Region string + SecretAccessKey string + SessionToken string + Timeout time.Duration + type BedrockLlama31Instruct405B struct + func NewBedrockLlama31Instruct405B() *BedrockLlama31Instruct405B + func (m *BedrockLlama31Instruct405B) ModelName() string + func (m *BedrockLlama31Instruct405B) Provider() ProviderType + func (m *BedrockLlama31Instruct405B) SystemPrompt() string + func (m *BedrockLlama31Instruct405B) WithMaxTokens(n int) *BedrockLlama31Instruct405B + func (m *BedrockLlama31Instruct405B) WithSystemPrompt(s string) *BedrockLlama31Instruct405B + func (m *BedrockLlama31Instruct405B) WithTemperature(t float64) *BedrockLlama31Instruct405B + func (m *BedrockLlama31Instruct405B) WithTopP(p float64) *BedrockLlama31Instruct405B + type BedrockLlama31Instruct70B struct + func NewBedrockLlama31Instruct70B() *BedrockLlama31Instruct70B + func (m *BedrockLlama31Instruct70B) ModelName() string + func (m *BedrockLlama31Instruct70B) Provider() ProviderType + func (m *BedrockLlama31Instruct70B) SystemPrompt() string + func (m *BedrockLlama31Instruct70B) WithMaxTokens(n int) *BedrockLlama31Instruct70B + func (m *BedrockLlama31Instruct70B) WithSystemPrompt(s string) *BedrockLlama31Instruct70B + func (m *BedrockLlama31Instruct70B) WithTemperature(t float64) *BedrockLlama31Instruct70B + func (m *BedrockLlama31Instruct70B) WithTopP(p float64) *BedrockLlama31Instruct70B + type BedrockLlama31Instruct8B struct + func NewBedrockLlama31Instruct8B() *BedrockLlama31Instruct8B + func (m *BedrockLlama31Instruct8B) ModelName() string + func (m *BedrockLlama31Instruct8B) Provider() ProviderType + func (m *BedrockLlama31Instruct8B) SystemPrompt() string + func (m *BedrockLlama31Instruct8B) WithMaxTokens(n int) *BedrockLlama31Instruct8B + func (m *BedrockLlama31Instruct8B) WithSystemPrompt(s string) *BedrockLlama31Instruct8B + func (m *BedrockLlama31Instruct8B) WithTemperature(t float64) *BedrockLlama31Instruct8B + func (m *BedrockLlama31Instruct8B) WithTopP(p float64) *BedrockLlama31Instruct8B + type BedrockLlama32Instruct1B struct + func NewBedrockLlama32Instruct1B() *BedrockLlama32Instruct1B + func (m *BedrockLlama32Instruct1B) ModelName() string + func (m *BedrockLlama32Instruct1B) Provider() ProviderType + func (m *BedrockLlama32Instruct1B) SystemPrompt() string + func (m *BedrockLlama32Instruct1B) WithMaxTokens(n int) *BedrockLlama32Instruct1B + func (m *BedrockLlama32Instruct1B) WithSystemPrompt(s string) *BedrockLlama32Instruct1B + func (m *BedrockLlama32Instruct1B) WithTemperature(t float64) *BedrockLlama32Instruct1B + func (m *BedrockLlama32Instruct1B) WithTopP(p float64) *BedrockLlama32Instruct1B + type BedrockLlama32Instruct3B struct + func NewBedrockLlama32Instruct3B() *BedrockLlama32Instruct3B + func (m *BedrockLlama32Instruct3B) ModelName() string + func (m *BedrockLlama32Instruct3B) Provider() ProviderType + func (m *BedrockLlama32Instruct3B) SystemPrompt() string + func (m *BedrockLlama32Instruct3B) WithMaxTokens(n int) *BedrockLlama32Instruct3B + func (m *BedrockLlama32Instruct3B) WithSystemPrompt(s string) *BedrockLlama32Instruct3B + func (m *BedrockLlama32Instruct3B) WithTemperature(t float64) *BedrockLlama32Instruct3B + func (m *BedrockLlama32Instruct3B) WithTopP(p float64) *BedrockLlama32Instruct3B + type BedrockMistral7B struct + func NewBedrockMistral7B() *BedrockMistral7B + func (m *BedrockMistral7B) ModelName() string + func (m *BedrockMistral7B) Provider() ProviderType + func (m *BedrockMistral7B) SystemPrompt() string + func (m *BedrockMistral7B) WithMaxTokens(n int) *BedrockMistral7B + func (m *BedrockMistral7B) WithSystemPrompt(s string) *BedrockMistral7B + func (m *BedrockMistral7B) WithTemperature(t float64) *BedrockMistral7B + func (m *BedrockMistral7B) WithTopK(k int) *BedrockMistral7B + func (m *BedrockMistral7B) WithTopP(p float64) *BedrockMistral7B + type BedrockMistralLarge struct + func NewBedrockMistralLarge() *BedrockMistralLarge + func (m *BedrockMistralLarge) ModelName() string + func (m *BedrockMistralLarge) Provider() ProviderType + func (m *BedrockMistralLarge) SystemPrompt() string + func (m *BedrockMistralLarge) WithMaxTokens(n int) *BedrockMistralLarge + func (m *BedrockMistralLarge) WithSystemPrompt(s string) *BedrockMistralLarge + func (m *BedrockMistralLarge) WithTemperature(t float64) *BedrockMistralLarge + func (m *BedrockMistralLarge) WithTopK(k int) *BedrockMistralLarge + func (m *BedrockMistralLarge) WithTopP(p float64) *BedrockMistralLarge + type BedrockMixtral8x7B struct + func NewBedrockMixtral8x7B() *BedrockMixtral8x7B + func (m *BedrockMixtral8x7B) ModelName() string + func (m *BedrockMixtral8x7B) Provider() ProviderType + func (m *BedrockMixtral8x7B) SystemPrompt() string + func (m *BedrockMixtral8x7B) WithMaxTokens(n int) *BedrockMixtral8x7B + func (m *BedrockMixtral8x7B) WithSystemPrompt(s string) *BedrockMixtral8x7B + func (m *BedrockMixtral8x7B) WithTemperature(t float64) *BedrockMixtral8x7B + func (m *BedrockMixtral8x7B) WithTopK(k int) *BedrockMixtral8x7B + func (m *BedrockMixtral8x7B) WithTopP(p float64) *BedrockMixtral8x7B + type BedrockModel struct + func NewBedrockModel(modelID, modelFamily string) *BedrockModel + func (m *BedrockModel) ModelName() string + func (m *BedrockModel) Provider() ProviderType + func (m *BedrockModel) SystemPrompt() string + func (m *BedrockModel) WithMaxTokens(n int) *BedrockModel + func (m *BedrockModel) WithModelFamily(f string) *BedrockModel + func (m *BedrockModel) WithSystemPrompt(s string) *BedrockModel + func (m *BedrockModel) WithTemperature(t float64) *BedrockModel + func (m *BedrockModel) WithTopK(k int) *BedrockModel + func (m *BedrockModel) WithTopP(p float64) *BedrockModel + type BedrockTitanTextExpress struct + func NewBedrockTitanTextExpress() *BedrockTitanTextExpress + func (m *BedrockTitanTextExpress) ModelName() string + func (m *BedrockTitanTextExpress) Provider() ProviderType + func (m *BedrockTitanTextExpress) SystemPrompt() string + func (m *BedrockTitanTextExpress) WithMaxTokens(n int) *BedrockTitanTextExpress + func (m *BedrockTitanTextExpress) WithSystemPrompt(s string) *BedrockTitanTextExpress + func (m *BedrockTitanTextExpress) WithTemperature(t float64) *BedrockTitanTextExpress + func (m *BedrockTitanTextExpress) WithTopP(p float64) *BedrockTitanTextExpress + type BedrockTitanTextLite struct + func NewBedrockTitanTextLite() *BedrockTitanTextLite + func (m *BedrockTitanTextLite) ModelName() string + func (m *BedrockTitanTextLite) Provider() ProviderType + func (m *BedrockTitanTextLite) SystemPrompt() string + func (m *BedrockTitanTextLite) WithMaxTokens(n int) *BedrockTitanTextLite + func (m *BedrockTitanTextLite) WithSystemPrompt(s string) *BedrockTitanTextLite + func (m *BedrockTitanTextLite) WithTemperature(t float64) *BedrockTitanTextLite + func (m *BedrockTitanTextLite) WithTopP(p float64) *BedrockTitanTextLite + type BedrockTitanTextPremier struct + func NewBedrockTitanTextPremier() *BedrockTitanTextPremier + func (m *BedrockTitanTextPremier) ModelName() string + func (m *BedrockTitanTextPremier) Provider() ProviderType + func (m *BedrockTitanTextPremier) SystemPrompt() string + func (m *BedrockTitanTextPremier) WithMaxTokens(n int) *BedrockTitanTextPremier + func (m *BedrockTitanTextPremier) WithSystemPrompt(s string) *BedrockTitanTextPremier + func (m *BedrockTitanTextPremier) WithTemperature(t float64) *BedrockTitanTextPremier + func (m *BedrockTitanTextPremier) WithTopP(p float64) *BedrockTitanTextPremier + type Claude35Haiku struct + func NewClaude35Haiku() *Claude35Haiku + func (m *Claude35Haiku) ModelName() string + func (m *Claude35Haiku) Provider() ProviderType + func (m *Claude35Haiku) SystemPrompt() string + func (m *Claude35Haiku) WithMaxTokens(n int) *Claude35Haiku + func (m *Claude35Haiku) WithSystemPrompt(s string) *Claude35Haiku + func (m *Claude35Haiku) WithTemperature(t float64) *Claude35Haiku + func (m *Claude35Haiku) WithTopK(k int) *Claude35Haiku + func (m *Claude35Haiku) WithTopP(p float64) *Claude35Haiku + func (m *Claude35Haiku) WithVersion(v string) *Claude35Haiku + type Claude35Sonnet struct + func NewClaude35Sonnet() *Claude35Sonnet + func (m *Claude35Sonnet) ModelName() string + func (m *Claude35Sonnet) Provider() ProviderType + func (m *Claude35Sonnet) SystemPrompt() string + func (m *Claude35Sonnet) WithMaxTokens(n int) *Claude35Sonnet + func (m *Claude35Sonnet) WithSystemPrompt(s string) *Claude35Sonnet + func (m *Claude35Sonnet) WithTemperature(t float64) *Claude35Sonnet + func (m *Claude35Sonnet) WithTopK(k int) *Claude35Sonnet + func (m *Claude35Sonnet) WithTopP(p float64) *Claude35Sonnet + func (m *Claude35Sonnet) WithVersion(v string) *Claude35Sonnet + type Claude37Sonnet struct + func NewClaude37Sonnet() *Claude37Sonnet + func (m *Claude37Sonnet) ModelName() string + func (m *Claude37Sonnet) Provider() ProviderType + func (m *Claude37Sonnet) SystemPrompt() string + func (m *Claude37Sonnet) WithMaxTokens(n int) *Claude37Sonnet + func (m *Claude37Sonnet) WithSystemPrompt(s string) *Claude37Sonnet + func (m *Claude37Sonnet) WithTemperature(t float64) *Claude37Sonnet + func (m *Claude37Sonnet) WithThinkingBudget(n int) *Claude37Sonnet + func (m *Claude37Sonnet) WithTopK(k int) *Claude37Sonnet + func (m *Claude37Sonnet) WithTopP(p float64) *Claude37Sonnet + func (m *Claude37Sonnet) WithVersion(v string) *Claude37Sonnet + type Claude3Haiku struct + func NewClaude3Haiku() *Claude3Haiku + func (m *Claude3Haiku) ModelName() string + func (m *Claude3Haiku) Provider() ProviderType + func (m *Claude3Haiku) SystemPrompt() string + func (m *Claude3Haiku) WithMaxTokens(n int) *Claude3Haiku + func (m *Claude3Haiku) WithSystemPrompt(s string) *Claude3Haiku + func (m *Claude3Haiku) WithTemperature(t float64) *Claude3Haiku + func (m *Claude3Haiku) WithTopK(k int) *Claude3Haiku + func (m *Claude3Haiku) WithTopP(p float64) *Claude3Haiku + type Claude3Opus struct + func NewClaude3Opus() *Claude3Opus + func (m *Claude3Opus) ModelName() string + func (m *Claude3Opus) Provider() ProviderType + func (m *Claude3Opus) SystemPrompt() string + func (m *Claude3Opus) WithMaxTokens(n int) *Claude3Opus + func (m *Claude3Opus) WithSystemPrompt(s string) *Claude3Opus + func (m *Claude3Opus) WithTemperature(t float64) *Claude3Opus + func (m *Claude3Opus) WithTopK(k int) *Claude3Opus + func (m *Claude3Opus) WithTopP(p float64) *Claude3Opus + func (m *Claude3Opus) WithVersion(v string) *Claude3Opus + type Claude3Sonnet struct + func NewClaude3Sonnet() *Claude3Sonnet + func (m *Claude3Sonnet) ModelName() string + func (m *Claude3Sonnet) Provider() ProviderType + func (m *Claude3Sonnet) SystemPrompt() string + func (m *Claude3Sonnet) WithMaxTokens(n int) *Claude3Sonnet + func (m *Claude3Sonnet) WithSystemPrompt(s string) *Claude3Sonnet + func (m *Claude3Sonnet) WithTemperature(t float64) *Claude3Sonnet + func (m *Claude3Sonnet) WithTopK(k int) *Claude3Sonnet + func (m *Claude3Sonnet) WithTopP(p float64) *Claude3Sonnet + type ClaudeHaiku45 struct + func NewClaudeHaiku45() *ClaudeHaiku45 + func (m *ClaudeHaiku45) ModelName() string + func (m *ClaudeHaiku45) Provider() ProviderType + func (m *ClaudeHaiku45) SystemPrompt() string + func (m *ClaudeHaiku45) WithMaxTokens(n int) *ClaudeHaiku45 + func (m *ClaudeHaiku45) WithSystemPrompt(s string) *ClaudeHaiku45 + func (m *ClaudeHaiku45) WithTemperature(t float64) *ClaudeHaiku45 + func (m *ClaudeHaiku45) WithThinkingBudget(n int) *ClaudeHaiku45 + func (m *ClaudeHaiku45) WithTopK(k int) *ClaudeHaiku45 + func (m *ClaudeHaiku45) WithTopP(p float64) *ClaudeHaiku45 + type ClaudeOpus4 struct + func NewClaudeOpus4() *ClaudeOpus4 + func (m *ClaudeOpus4) ModelName() string + func (m *ClaudeOpus4) Provider() ProviderType + func (m *ClaudeOpus4) SystemPrompt() string + func (m *ClaudeOpus4) WithMaxTokens(n int) *ClaudeOpus4 + func (m *ClaudeOpus4) WithSystemPrompt(s string) *ClaudeOpus4 + func (m *ClaudeOpus4) WithTemperature(t float64) *ClaudeOpus4 + func (m *ClaudeOpus4) WithThinkingBudget(n int) *ClaudeOpus4 + func (m *ClaudeOpus4) WithTopK(k int) *ClaudeOpus4 + func (m *ClaudeOpus4) WithTopP(p float64) *ClaudeOpus4 + type ClaudeOpus45 struct + func NewClaudeOpus45() *ClaudeOpus45 + func (m *ClaudeOpus45) ModelName() string + func (m *ClaudeOpus45) Provider() ProviderType + func (m *ClaudeOpus45) SystemPrompt() string + func (m *ClaudeOpus45) WithMaxTokens(n int) *ClaudeOpus45 + func (m *ClaudeOpus45) WithSystemPrompt(s string) *ClaudeOpus45 + func (m *ClaudeOpus45) WithTemperature(t float64) *ClaudeOpus45 + func (m *ClaudeOpus45) WithThinkingBudget(n int) *ClaudeOpus45 + func (m *ClaudeOpus45) WithTopK(k int) *ClaudeOpus45 + func (m *ClaudeOpus45) WithTopP(p float64) *ClaudeOpus45 + type ClaudeSonnet4 struct + func NewClaudeSonnet4() *ClaudeSonnet4 + func (m *ClaudeSonnet4) ModelName() string + func (m *ClaudeSonnet4) Provider() ProviderType + func (m *ClaudeSonnet4) SystemPrompt() string + func (m *ClaudeSonnet4) WithMaxTokens(n int) *ClaudeSonnet4 + func (m *ClaudeSonnet4) WithSystemPrompt(s string) *ClaudeSonnet4 + func (m *ClaudeSonnet4) WithTemperature(t float64) *ClaudeSonnet4 + func (m *ClaudeSonnet4) WithThinkingBudget(n int) *ClaudeSonnet4 + func (m *ClaudeSonnet4) WithTopK(k int) *ClaudeSonnet4 + func (m *ClaudeSonnet4) WithTopP(p float64) *ClaudeSonnet4 + type ClaudeSonnet45 struct + func NewClaudeSonnet45() *ClaudeSonnet45 + func (m *ClaudeSonnet45) ModelName() string + func (m *ClaudeSonnet45) Provider() ProviderType + func (m *ClaudeSonnet45) SystemPrompt() string + func (m *ClaudeSonnet45) WithMaxTokens(n int) *ClaudeSonnet45 + func (m *ClaudeSonnet45) WithSystemPrompt(s string) *ClaudeSonnet45 + func (m *ClaudeSonnet45) WithTemperature(t float64) *ClaudeSonnet45 + func (m *ClaudeSonnet45) WithThinkingBudget(n int) *ClaudeSonnet45 + func (m *ClaudeSonnet45) WithTopK(k int) *ClaudeSonnet45 + func (m *ClaudeSonnet45) WithTopP(p float64) *ClaudeSonnet45 + type CodeLlama struct + func NewCodeLlama() *CodeLlama + func (m *CodeLlama) ModelName() string + func (m *CodeLlama) Provider() ProviderType + func (m *CodeLlama) SystemPrompt() string + func (m *CodeLlama) WithMaxTokens(n int) *CodeLlama + func (m *CodeLlama) WithNumCtx(n int) *CodeLlama + func (m *CodeLlama) WithRepeatPenalty(p float64) *CodeLlama + func (m *CodeLlama) WithSeed(s int) *CodeLlama + func (m *CodeLlama) WithSystemPrompt(s string) *CodeLlama + func (m *CodeLlama) WithTemperature(t float64) *CodeLlama + func (m *CodeLlama) WithTopK(k int) *CodeLlama + func (m *CodeLlama) WithTopP(p float64) *CodeLlama + type DeepSeekCoder struct + func NewDeepSeekCoder() *DeepSeekCoder + func (m *DeepSeekCoder) ModelName() string + func (m *DeepSeekCoder) Provider() ProviderType + func (m *DeepSeekCoder) SystemPrompt() string + func (m *DeepSeekCoder) WithMaxTokens(n int) *DeepSeekCoder + func (m *DeepSeekCoder) WithNumCtx(n int) *DeepSeekCoder + func (m *DeepSeekCoder) WithRepeatPenalty(p float64) *DeepSeekCoder + func (m *DeepSeekCoder) WithSeed(s int) *DeepSeekCoder + func (m *DeepSeekCoder) WithSystemPrompt(s string) *DeepSeekCoder + func (m *DeepSeekCoder) WithTemperature(t float64) *DeepSeekCoder + func (m *DeepSeekCoder) WithTopK(k int) *DeepSeekCoder + func (m *DeepSeekCoder) WithTopP(p float64) *DeepSeekCoder + type GPT35Turbo struct + func NewGPT35Turbo() *GPT35Turbo + func (m *GPT35Turbo) ModelName() string + func (m *GPT35Turbo) Provider() ProviderType + func (m *GPT35Turbo) SystemPrompt() string + func (m *GPT35Turbo) WithMaxTokens(n int) *GPT35Turbo + func (m *GPT35Turbo) WithSystemPrompt(s string) *GPT35Turbo + func (m *GPT35Turbo) WithTemperature(t float64) *GPT35Turbo + func (m *GPT35Turbo) WithTopP(p float64) *GPT35Turbo + func (m *GPT35Turbo) WithVersion(v string) *GPT35Turbo + type GPT4 struct + func NewGPT4() *GPT4 + func (m *GPT4) ModelName() string + func (m *GPT4) Provider() ProviderType + func (m *GPT4) SystemPrompt() string + func (m *GPT4) WithMaxTokens(n int) *GPT4 + func (m *GPT4) WithSystemPrompt(s string) *GPT4 + func (m *GPT4) WithTemperature(t float64) *GPT4 + func (m *GPT4) WithTopP(p float64) *GPT4 + func (m *GPT4) WithVersion(v string) *GPT4 + type GPT41 struct + func NewGPT41() *GPT41 + func (m *GPT41) ModelName() string + func (m *GPT41) Provider() ProviderType + func (m *GPT41) SystemPrompt() string + func (m *GPT41) WithMaxTokens(n int) *GPT41 + func (m *GPT41) WithSystemPrompt(s string) *GPT41 + func (m *GPT41) WithTemperature(t float64) *GPT41 + func (m *GPT41) WithTopP(p float64) *GPT41 + func (m *GPT41) WithVersion(v string) *GPT41 + type GPT41Mini struct + func NewGPT41Mini() *GPT41Mini + func (m *GPT41Mini) ModelName() string + func (m *GPT41Mini) Provider() ProviderType + func (m *GPT41Mini) SystemPrompt() string + func (m *GPT41Mini) WithMaxTokens(n int) *GPT41Mini + func (m *GPT41Mini) WithSystemPrompt(s string) *GPT41Mini + func (m *GPT41Mini) WithTemperature(t float64) *GPT41Mini + func (m *GPT41Mini) WithTopP(p float64) *GPT41Mini + type GPT41Nano struct + func NewGPT41Nano() *GPT41Nano + func (m *GPT41Nano) ModelName() string + func (m *GPT41Nano) Provider() ProviderType + func (m *GPT41Nano) SystemPrompt() string + func (m *GPT41Nano) WithMaxTokens(n int) *GPT41Nano + func (m *GPT41Nano) WithSystemPrompt(s string) *GPT41Nano + func (m *GPT41Nano) WithTemperature(t float64) *GPT41Nano + func (m *GPT41Nano) WithTopP(p float64) *GPT41Nano + type GPT4Turbo struct + func NewGPT4Turbo() *GPT4Turbo + func (m *GPT4Turbo) ModelName() string + func (m *GPT4Turbo) Provider() ProviderType + func (m *GPT4Turbo) SystemPrompt() string + func (m *GPT4Turbo) WithMaxTokens(n int) *GPT4Turbo + func (m *GPT4Turbo) WithSystemPrompt(s string) *GPT4Turbo + func (m *GPT4Turbo) WithTemperature(t float64) *GPT4Turbo + func (m *GPT4Turbo) WithTopP(p float64) *GPT4Turbo + func (m *GPT4Turbo) WithVersion(v string) *GPT4Turbo + type GPT4o struct + func NewGPT4o() *GPT4o + func (m *GPT4o) ModelName() string + func (m *GPT4o) Provider() ProviderType + func (m *GPT4o) SystemPrompt() string + func (m *GPT4o) WithMaxTokens(n int) *GPT4o + func (m *GPT4o) WithSystemPrompt(s string) *GPT4o + func (m *GPT4o) WithTemperature(t float64) *GPT4o + func (m *GPT4o) WithTopP(p float64) *GPT4o + func (m *GPT4o) WithVersion(v string) *GPT4o + type GPT4oMini struct + func NewGPT4oMini() *GPT4oMini + func (m *GPT4oMini) ModelName() string + func (m *GPT4oMini) Provider() ProviderType + func (m *GPT4oMini) SystemPrompt() string + func (m *GPT4oMini) WithMaxTokens(n int) *GPT4oMini + func (m *GPT4oMini) WithSystemPrompt(s string) *GPT4oMini + func (m *GPT4oMini) WithTemperature(t float64) *GPT4oMini + func (m *GPT4oMini) WithTopP(p float64) *GPT4oMini + func (m *GPT4oMini) WithVersion(v string) *GPT4oMini + type GPT5 struct + func NewGPT5() *GPT5 + func (m *GPT5) ModelName() string + func (m *GPT5) Provider() ProviderType + func (m *GPT5) SystemPrompt() string + func (m *GPT5) WithMaxCompletionTokens(n int) *GPT5 + func (m *GPT5) WithReasoningEffort(e string) *GPT5 + func (m *GPT5) WithSystemPrompt(s string) *GPT5 + type GPT51 struct + func NewGPT51() *GPT51 + func (m *GPT51) ModelName() string + func (m *GPT51) Provider() ProviderType + func (m *GPT51) SystemPrompt() string + func (m *GPT51) WithMaxCompletionTokens(n int) *GPT51 + func (m *GPT51) WithReasoningEffort(e string) *GPT51 + func (m *GPT51) WithSystemPrompt(s string) *GPT51 + type GPT51Codex struct + func NewGPT51Codex() *GPT51Codex + func (m *GPT51Codex) ModelName() string + func (m *GPT51Codex) Provider() ProviderType + func (m *GPT51Codex) SystemPrompt() string + func (m *GPT51Codex) WithMaxCompletionTokens(n int) *GPT51Codex + func (m *GPT51Codex) WithReasoningEffort(e string) *GPT51Codex + func (m *GPT51Codex) WithSystemPrompt(s string) *GPT51Codex + type GPT51CodexMini struct + func NewGPT51CodexMini() *GPT51CodexMini + func (m *GPT51CodexMini) ModelName() string + func (m *GPT51CodexMini) Provider() ProviderType + func (m *GPT51CodexMini) SystemPrompt() string + func (m *GPT51CodexMini) WithMaxCompletionTokens(n int) *GPT51CodexMini + func (m *GPT51CodexMini) WithReasoningEffort(e string) *GPT51CodexMini + func (m *GPT51CodexMini) WithSystemPrompt(s string) *GPT51CodexMini + type GPT51Mini struct + func NewGPT51Mini() *GPT51Mini + func (m *GPT51Mini) ModelName() string + func (m *GPT51Mini) Provider() ProviderType + func (m *GPT51Mini) SystemPrompt() string + func (m *GPT51Mini) WithMaxCompletionTokens(n int) *GPT51Mini + func (m *GPT51Mini) WithReasoningEffort(e string) *GPT51Mini + func (m *GPT51Mini) WithSystemPrompt(s string) *GPT51Mini + type GPT51Nano struct + func NewGPT51Nano() *GPT51Nano + func (m *GPT51Nano) ModelName() string + func (m *GPT51Nano) Provider() ProviderType + func (m *GPT51Nano) SystemPrompt() string + func (m *GPT51Nano) WithMaxCompletionTokens(n int) *GPT51Nano + func (m *GPT51Nano) WithReasoningEffort(e string) *GPT51Nano + func (m *GPT51Nano) WithSystemPrompt(s string) *GPT51Nano + type GPT5Mini struct + func NewGPT5Mini() *GPT5Mini + func (m *GPT5Mini) ModelName() string + func (m *GPT5Mini) Provider() ProviderType + func (m *GPT5Mini) SystemPrompt() string + func (m *GPT5Mini) WithMaxCompletionTokens(n int) *GPT5Mini + func (m *GPT5Mini) WithReasoningEffort(e string) *GPT5Mini + func (m *GPT5Mini) WithSystemPrompt(s string) *GPT5Mini + type GPT5Nano struct + func NewGPT5Nano() *GPT5Nano + func (m *GPT5Nano) ModelName() string + func (m *GPT5Nano) Provider() ProviderType + func (m *GPT5Nano) SystemPrompt() string + func (m *GPT5Nano) WithMaxCompletionTokens(n int) *GPT5Nano + func (m *GPT5Nano) WithReasoningEffort(e string) *GPT5Nano + func (m *GPT5Nano) WithSystemPrompt(s string) *GPT5Nano + type GPT5Pro struct + func NewGPT5Pro() *GPT5Pro + func (m *GPT5Pro) ModelName() string + func (m *GPT5Pro) Provider() ProviderType + func (m *GPT5Pro) SystemPrompt() string + func (m *GPT5Pro) WithMaxCompletionTokens(n int) *GPT5Pro + func (m *GPT5Pro) WithReasoningEffort(e string) *GPT5Pro + func (m *GPT5Pro) WithSystemPrompt(s string) *GPT5Pro + type GPT5Turbo struct + func NewGPT5Turbo() *GPT5Turbo + func (m *GPT5Turbo) ModelName() string + func (m *GPT5Turbo) Provider() ProviderType + func (m *GPT5Turbo) SystemPrompt() string + func (m *GPT5Turbo) WithMaxCompletionTokens(n int) *GPT5Turbo + func (m *GPT5Turbo) WithReasoningEffort(e string) *GPT5Turbo + func (m *GPT5Turbo) WithSystemPrompt(s string) *GPT5Turbo + type Gateway interface + Close func() error + Generate func(ctx context.Context, model Model, prompt string) (*GenerationResponse, error) + Health func(ctx context.Context, provider ProviderType) error + IsRegistered func(provider ProviderType) bool + ListRegisteredProviders func() []ProviderType + type Gemini15Flash struct + func NewGemini15Flash() *Gemini15Flash + func (m *Gemini15Flash) ModelName() string + func (m *Gemini15Flash) Provider() ProviderType + func (m *Gemini15Flash) SystemPrompt() string + func (m *Gemini15Flash) WithMaxTokens(n int) *Gemini15Flash + func (m *Gemini15Flash) WithSystemPrompt(s string) *Gemini15Flash + func (m *Gemini15Flash) WithTemperature(t float64) *Gemini15Flash + func (m *Gemini15Flash) WithTopK(k int) *Gemini15Flash + func (m *Gemini15Flash) WithTopP(p float64) *Gemini15Flash + func (m *Gemini15Flash) WithVersion(v string) *Gemini15Flash + type Gemini15Flash8b struct + func NewGemini15Flash8b() *Gemini15Flash8b + func (m *Gemini15Flash8b) ModelName() string + func (m *Gemini15Flash8b) Provider() ProviderType + func (m *Gemini15Flash8b) SystemPrompt() string + func (m *Gemini15Flash8b) WithMaxTokens(n int) *Gemini15Flash8b + func (m *Gemini15Flash8b) WithSystemPrompt(s string) *Gemini15Flash8b + func (m *Gemini15Flash8b) WithTemperature(t float64) *Gemini15Flash8b + func (m *Gemini15Flash8b) WithTopK(k int) *Gemini15Flash8b + func (m *Gemini15Flash8b) WithTopP(p float64) *Gemini15Flash8b + type Gemini15Pro struct + func NewGemini15Pro() *Gemini15Pro + func (m *Gemini15Pro) ModelName() string + func (m *Gemini15Pro) Provider() ProviderType + func (m *Gemini15Pro) SystemPrompt() string + func (m *Gemini15Pro) WithMaxTokens(n int) *Gemini15Pro + func (m *Gemini15Pro) WithSystemPrompt(s string) *Gemini15Pro + func (m *Gemini15Pro) WithTemperature(t float64) *Gemini15Pro + func (m *Gemini15Pro) WithTopK(k int) *Gemini15Pro + func (m *Gemini15Pro) WithTopP(p float64) *Gemini15Pro + func (m *Gemini15Pro) WithVersion(v string) *Gemini15Pro + type Gemini20Flash struct + func NewGemini20Flash() *Gemini20Flash + func (m *Gemini20Flash) ModelName() string + func (m *Gemini20Flash) Provider() ProviderType + func (m *Gemini20Flash) SystemPrompt() string + func (m *Gemini20Flash) WithMaxTokens(n int) *Gemini20Flash + func (m *Gemini20Flash) WithSystemPrompt(s string) *Gemini20Flash + func (m *Gemini20Flash) WithTemperature(t float64) *Gemini20Flash + func (m *Gemini20Flash) WithTopK(k int) *Gemini20Flash + func (m *Gemini20Flash) WithTopP(p float64) *Gemini20Flash + type Gemini20FlashExp struct + func NewGemini20FlashExp() *Gemini20FlashExp + func (m *Gemini20FlashExp) ModelName() string + func (m *Gemini20FlashExp) Provider() ProviderType + func (m *Gemini20FlashExp) SystemPrompt() string + func (m *Gemini20FlashExp) WithMaxTokens(n int) *Gemini20FlashExp + func (m *Gemini20FlashExp) WithSystemPrompt(s string) *Gemini20FlashExp + func (m *Gemini20FlashExp) WithTemperature(t float64) *Gemini20FlashExp + func (m *Gemini20FlashExp) WithTopK(k int) *Gemini20FlashExp + func (m *Gemini20FlashExp) WithTopP(p float64) *Gemini20FlashExp + type Gemini20FlashLite struct + func NewGemini20FlashLite() *Gemini20FlashLite + func (m *Gemini20FlashLite) ModelName() string + func (m *Gemini20FlashLite) Provider() ProviderType + func (m *Gemini20FlashLite) SystemPrompt() string + func (m *Gemini20FlashLite) WithMaxTokens(n int) *Gemini20FlashLite + func (m *Gemini20FlashLite) WithSystemPrompt(s string) *Gemini20FlashLite + func (m *Gemini20FlashLite) WithTemperature(t float64) *Gemini20FlashLite + func (m *Gemini20FlashLite) WithTopK(k int) *Gemini20FlashLite + func (m *Gemini20FlashLite) WithTopP(p float64) *Gemini20FlashLite + type Gemini20FlashThinking struct + func NewGemini20FlashThinking() *Gemini20FlashThinking + func (m *Gemini20FlashThinking) ModelName() string + func (m *Gemini20FlashThinking) Provider() ProviderType + func (m *Gemini20FlashThinking) SystemPrompt() string + func (m *Gemini20FlashThinking) WithMaxTokens(n int) *Gemini20FlashThinking + func (m *Gemini20FlashThinking) WithSystemPrompt(s string) *Gemini20FlashThinking + func (m *Gemini20FlashThinking) WithTemperature(t float64) *Gemini20FlashThinking + func (m *Gemini20FlashThinking) WithTopK(k int) *Gemini20FlashThinking + func (m *Gemini20FlashThinking) WithTopP(p float64) *Gemini20FlashThinking + type Gemini20ProExp struct + func NewGemini20ProExp() *Gemini20ProExp + func (m *Gemini20ProExp) ModelName() string + func (m *Gemini20ProExp) Provider() ProviderType + func (m *Gemini20ProExp) SystemPrompt() string + func (m *Gemini20ProExp) WithMaxTokens(n int) *Gemini20ProExp + func (m *Gemini20ProExp) WithSystemPrompt(s string) *Gemini20ProExp + func (m *Gemini20ProExp) WithTemperature(t float64) *Gemini20ProExp + func (m *Gemini20ProExp) WithTopK(k int) *Gemini20ProExp + func (m *Gemini20ProExp) WithTopP(p float64) *Gemini20ProExp + type Gemini25Flash struct + func NewGemini25Flash() *Gemini25Flash + func (m *Gemini25Flash) ModelName() string + func (m *Gemini25Flash) Provider() ProviderType + func (m *Gemini25Flash) SystemPrompt() string + func (m *Gemini25Flash) WithMaxTokens(n int) *Gemini25Flash + func (m *Gemini25Flash) WithSystemPrompt(s string) *Gemini25Flash + func (m *Gemini25Flash) WithTemperature(t float64) *Gemini25Flash + func (m *Gemini25Flash) WithTopK(k int) *Gemini25Flash + func (m *Gemini25Flash) WithTopP(p float64) *Gemini25Flash + func (m *Gemini25Flash) WithVersion(v string) *Gemini25Flash + type Gemini25Pro struct + func NewGemini25Pro() *Gemini25Pro + func (m *Gemini25Pro) ModelName() string + func (m *Gemini25Pro) Provider() ProviderType + func (m *Gemini25Pro) SystemPrompt() string + func (m *Gemini25Pro) WithMaxTokens(n int) *Gemini25Pro + func (m *Gemini25Pro) WithSystemPrompt(s string) *Gemini25Pro + func (m *Gemini25Pro) WithTemperature(t float64) *Gemini25Pro + func (m *Gemini25Pro) WithTopK(k int) *Gemini25Pro + func (m *Gemini25Pro) WithTopP(p float64) *Gemini25Pro + func (m *Gemini25Pro) WithVersion(v string) *Gemini25Pro + type Gemini3Flash struct + func NewGemini3Flash() *Gemini3Flash + func (m *Gemini3Flash) ModelName() string + func (m *Gemini3Flash) Provider() ProviderType + func (m *Gemini3Flash) SystemPrompt() string + func (m *Gemini3Flash) WithMaxTokens(n int) *Gemini3Flash + func (m *Gemini3Flash) WithSystemPrompt(s string) *Gemini3Flash + func (m *Gemini3Flash) WithTemperature(t float64) *Gemini3Flash + func (m *Gemini3Flash) WithTopK(k int) *Gemini3Flash + func (m *Gemini3Flash) WithTopP(p float64) *Gemini3Flash + func (m *Gemini3Flash) WithVersion(v string) *Gemini3Flash + type Gemini3Pro struct + func NewGemini3Pro() *Gemini3Pro + func (m *Gemini3Pro) ModelName() string + func (m *Gemini3Pro) Provider() ProviderType + func (m *Gemini3Pro) SystemPrompt() string + func (m *Gemini3Pro) WithMaxTokens(n int) *Gemini3Pro + func (m *Gemini3Pro) WithSystemPrompt(s string) *Gemini3Pro + func (m *Gemini3Pro) WithTemperature(t float64) *Gemini3Pro + func (m *Gemini3Pro) WithTopK(k int) *Gemini3Pro + func (m *Gemini3Pro) WithTopP(p float64) *Gemini3Pro + func (m *Gemini3Pro) WithVersion(v string) *Gemini3Pro + type Gemini3Ultra struct + func NewGemini3Ultra() *Gemini3Ultra + func (m *Gemini3Ultra) ModelName() string + func (m *Gemini3Ultra) Provider() ProviderType + func (m *Gemini3Ultra) SystemPrompt() string + func (m *Gemini3Ultra) WithMaxTokens(n int) *Gemini3Ultra + func (m *Gemini3Ultra) WithSystemPrompt(s string) *Gemini3Ultra + func (m *Gemini3Ultra) WithTemperature(t float64) *Gemini3Ultra + func (m *Gemini3Ultra) WithTopK(k int) *Gemini3Ultra + func (m *Gemini3Ultra) WithTopP(p float64) *Gemini3Ultra + type Gemma2 struct + func NewGemma2() *Gemma2 + func (m *Gemma2) ModelName() string + func (m *Gemma2) Provider() ProviderType + func (m *Gemma2) SystemPrompt() string + func (m *Gemma2) WithMaxTokens(n int) *Gemma2 + func (m *Gemma2) WithNumCtx(n int) *Gemma2 + func (m *Gemma2) WithRepeatPenalty(p float64) *Gemma2 + func (m *Gemma2) WithSeed(s int) *Gemma2 + func (m *Gemma2) WithSystemPrompt(s string) *Gemma2 + func (m *Gemma2) WithTemperature(t float64) *Gemma2 + func (m *Gemma2) WithTopK(k int) *Gemma2 + func (m *Gemma2) WithTopP(p float64) *Gemma2 + type GenerationResponse struct + FinishReason string + Metadata map[string]string + Model string + Provider ProviderType + Text string + Usage TokenUsage + type GoogleConfig struct + APIKey string + RateLimiter *RateLimitConfig + Timeout time.Duration + type HTTPStatusError struct + Message string + StatusCode int + func (e *HTTPStatusError) Error() string + func (e *HTTPStatusError) IsRateLimited() bool + type ImageResult struct + Alt string + Height int + SourceURL string + URL string + Width int + type LLMGateway struct + func New(configs []ProviderConfig, opts ...Option) (*LLMGateway, error) + func (g *LLMGateway) Close() error + func (g *LLMGateway) Generate(ctx context.Context, model Model, prompt string) (*GenerationResponse, error) + func (g *LLMGateway) Health(ctx context.Context, provider ProviderType) error + func (g *LLMGateway) IsRegistered(provider ProviderType) bool + func (g *LLMGateway) ListRegisteredProviders() []ProviderType + type Llama3 struct + func NewLlama3() *Llama3 + func (m *Llama3) ModelName() string + func (m *Llama3) Provider() ProviderType + func (m *Llama3) SystemPrompt() string + func (m *Llama3) WithMaxTokens(n int) *Llama3 + func (m *Llama3) WithNumCtx(n int) *Llama3 + func (m *Llama3) WithRepeatPenalty(p float64) *Llama3 + func (m *Llama3) WithSeed(s int) *Llama3 + func (m *Llama3) WithSystemPrompt(s string) *Llama3 + func (m *Llama3) WithTemperature(t float64) *Llama3 + func (m *Llama3) WithTopK(k int) *Llama3 + func (m *Llama3) WithTopP(p float64) *Llama3 + type Llama31 struct + func NewLlama31() *Llama31 + func (m *Llama31) ModelName() string + func (m *Llama31) Provider() ProviderType + func (m *Llama31) SystemPrompt() string + func (m *Llama31) WithMaxTokens(n int) *Llama31 + func (m *Llama31) WithNumCtx(n int) *Llama31 + func (m *Llama31) WithRepeatPenalty(p float64) *Llama31 + func (m *Llama31) WithSeed(s int) *Llama31 + func (m *Llama31) WithSystemPrompt(s string) *Llama31 + func (m *Llama31) WithTemperature(t float64) *Llama31 + func (m *Llama31) WithTopK(k int) *Llama31 + func (m *Llama31) WithTopP(p float64) *Llama31 + type Llama32 struct + func NewLlama32() *Llama32 + func (m *Llama32) ModelName() string + func (m *Llama32) Provider() ProviderType + func (m *Llama32) SystemPrompt() string + func (m *Llama32) WithMaxTokens(n int) *Llama32 + func (m *Llama32) WithNumCtx(n int) *Llama32 + func (m *Llama32) WithRepeatPenalty(p float64) *Llama32 + func (m *Llama32) WithSeed(s int) *Llama32 + func (m *Llama32) WithSystemPrompt(s string) *Llama32 + func (m *Llama32) WithTemperature(t float64) *Llama32 + func (m *Llama32) WithTopK(k int) *Llama32 + func (m *Llama32) WithTopP(p float64) *Llama32 + type LogEvent interface + Bool func(key string, val bool) LogEvent + Err func(err error) LogEvent + Int func(key string, val int) LogEvent + Int64 func(key string, val int64) LogEvent + Msg func(msg string) + Str func(key, val string) LogEvent + type Logger interface + Debug func() LogEvent + Error func() LogEvent + Info func() LogEvent + type Mistral struct + func NewMistral() *Mistral + func (m *Mistral) ModelName() string + func (m *Mistral) Provider() ProviderType + func (m *Mistral) SystemPrompt() string + func (m *Mistral) WithMaxTokens(n int) *Mistral + func (m *Mistral) WithNumCtx(n int) *Mistral + func (m *Mistral) WithRepeatPenalty(p float64) *Mistral + func (m *Mistral) WithSeed(s int) *Mistral + func (m *Mistral) WithSystemPrompt(s string) *Mistral + func (m *Mistral) WithTemperature(t float64) *Mistral + func (m *Mistral) WithTopK(k int) *Mistral + func (m *Mistral) WithTopP(p float64) *Mistral + type Mixtral struct + func NewMixtral() *Mixtral + func (m *Mixtral) ModelName() string + func (m *Mixtral) Provider() ProviderType + func (m *Mixtral) SystemPrompt() string + func (m *Mixtral) WithMaxTokens(n int) *Mixtral + func (m *Mixtral) WithNumCtx(n int) *Mixtral + func (m *Mixtral) WithRepeatPenalty(p float64) *Mixtral + func (m *Mixtral) WithSeed(s int) *Mixtral + func (m *Mixtral) WithSystemPrompt(s string) *Mixtral + func (m *Mixtral) WithTemperature(t float64) *Mixtral + func (m *Mixtral) WithTopK(k int) *Mixtral + func (m *Mixtral) WithTopP(p float64) *Mixtral + type Model interface + ModelName func() string + Provider func() ProviderType + SystemPrompt func() string + type NopLogger struct + func (n *NopLogger) Debug() LogEvent + func (n *NopLogger) Error() LogEvent + func (n *NopLogger) Info() LogEvent + type O1 struct + func NewO1() *O1 + func (m *O1) ModelName() string + func (m *O1) Provider() ProviderType + func (m *O1) SystemPrompt() string + func (m *O1) WithMaxCompletionTokens(n int) *O1 + func (m *O1) WithReasoningEffort(e string) *O1 + func (m *O1) WithSystemPrompt(s string) *O1 + func (m *O1) WithVersion(v string) *O1 + type O1Mini struct + func NewO1Mini() *O1Mini + func (m *O1Mini) ModelName() string + func (m *O1Mini) Provider() ProviderType + func (m *O1Mini) SystemPrompt() string + func (m *O1Mini) WithMaxCompletionTokens(n int) *O1Mini + func (m *O1Mini) WithReasoningEffort(e string) *O1Mini + func (m *O1Mini) WithSystemPrompt(s string) *O1Mini + func (m *O1Mini) WithVersion(v string) *O1Mini + type O1Preview struct + func NewO1Preview() *O1Preview + func (m *O1Preview) ModelName() string + func (m *O1Preview) Provider() ProviderType + func (m *O1Preview) SystemPrompt() string + func (m *O1Preview) WithMaxCompletionTokens(n int) *O1Preview + func (m *O1Preview) WithReasoningEffort(e string) *O1Preview + func (m *O1Preview) WithSystemPrompt(s string) *O1Preview + func (m *O1Preview) WithVersion(v string) *O1Preview + type O1Pro struct + func NewO1Pro() *O1Pro + func (m *O1Pro) ModelName() string + func (m *O1Pro) Provider() ProviderType + func (m *O1Pro) SystemPrompt() string + func (m *O1Pro) WithMaxCompletionTokens(n int) *O1Pro + func (m *O1Pro) WithReasoningEffort(e string) *O1Pro + func (m *O1Pro) WithSystemPrompt(s string) *O1Pro + func (m *O1Pro) WithVersion(v string) *O1Pro + type O3 struct + func NewO3() *O3 + func (m *O3) ModelName() string + func (m *O3) Provider() ProviderType + func (m *O3) SystemPrompt() string + func (m *O3) WithMaxCompletionTokens(n int) *O3 + func (m *O3) WithReasoningEffort(e string) *O3 + func (m *O3) WithSystemPrompt(s string) *O3 + func (m *O3) WithVersion(v string) *O3 + type O3Mini struct + func NewO3Mini() *O3Mini + func (m *O3Mini) ModelName() string + func (m *O3Mini) Provider() ProviderType + func (m *O3Mini) SystemPrompt() string + func (m *O3Mini) WithMaxCompletionTokens(n int) *O3Mini + func (m *O3Mini) WithReasoningEffort(e string) *O3Mini + func (m *O3Mini) WithSystemPrompt(s string) *O3Mini + func (m *O3Mini) WithVersion(v string) *O3Mini + type O3Pro struct + func NewO3Pro() *O3Pro + func (m *O3Pro) ModelName() string + func (m *O3Pro) Provider() ProviderType + func (m *O3Pro) SystemPrompt() string + func (m *O3Pro) WithMaxCompletionTokens(n int) *O3Pro + func (m *O3Pro) WithReasoningEffort(e string) *O3Pro + func (m *O3Pro) WithSystemPrompt(s string) *O3Pro + type O4Mini struct + func NewO4Mini() *O4Mini + func (m *O4Mini) ModelName() string + func (m *O4Mini) Provider() ProviderType + func (m *O4Mini) SystemPrompt() string + func (m *O4Mini) WithMaxCompletionTokens(n int) *O4Mini + func (m *O4Mini) WithReasoningEffort(e string) *O4Mini + func (m *O4Mini) WithSystemPrompt(s string) *O4Mini + func (m *O4Mini) WithVersion(v string) *O4Mini + type OllamaConfig struct + BaseURL string + RateLimiter *RateLimitConfig + Timeout time.Duration + type OllamaModel struct + func NewOllamaModel(modelName string) *OllamaModel + func (m *OllamaModel) ModelName() string + func (m *OllamaModel) Provider() ProviderType + func (m *OllamaModel) SystemPrompt() string + func (m *OllamaModel) WithMaxTokens(n int) *OllamaModel + func (m *OllamaModel) WithNumCtx(n int) *OllamaModel + func (m *OllamaModel) WithRepeatPenalty(p float64) *OllamaModel + func (m *OllamaModel) WithSeed(s int) *OllamaModel + func (m *OllamaModel) WithSystemPrompt(s string) *OllamaModel + func (m *OllamaModel) WithTemperature(t float64) *OllamaModel + func (m *OllamaModel) WithTopK(k int) *OllamaModel + func (m *OllamaModel) WithTopP(p float64) *OllamaModel + type OpenAIConfig struct + APIKey string + BaseURL string + RateLimiter *RateLimitConfig + Timeout time.Duration + type Option func(*LLMGateway) + func WithLogger(logger Logger) Option + func WithZerolog(logger zerolog.Logger) Option + type PerplexityConfig struct + APIKey string + RateLimiter *RateLimitConfig + Timeout time.Duration + type Phi3 struct + func NewPhi3() *Phi3 + func (m *Phi3) ModelName() string + func (m *Phi3) Provider() ProviderType + func (m *Phi3) SystemPrompt() string + func (m *Phi3) WithMaxTokens(n int) *Phi3 + func (m *Phi3) WithNumCtx(n int) *Phi3 + func (m *Phi3) WithRepeatPenalty(p float64) *Phi3 + func (m *Phi3) WithSeed(s int) *Phi3 + func (m *Phi3) WithSystemPrompt(s string) *Phi3 + func (m *Phi3) WithTemperature(t float64) *Phi3 + func (m *Phi3) WithTopK(k int) *Phi3 + func (m *Phi3) WithTopP(p float64) *Phi3 + type Provider interface + Close func() error + Generate func(ctx context.Context, model Model, prompt string) (*GenerationResponse, error) + Health func(ctx context.Context) error + type ProviderConfig interface + type ProviderFactory func(config ProviderConfig, logger Logger) (Provider, error) + type ProviderType string + const ProviderAnthropic + const ProviderBedrock + const ProviderGoogle + const ProviderOllama + const ProviderOpenAI + const ProviderPerplexity + type Qwen2 struct + func NewQwen2() *Qwen2 + func (m *Qwen2) ModelName() string + func (m *Qwen2) Provider() ProviderType + func (m *Qwen2) SystemPrompt() string + func (m *Qwen2) WithMaxTokens(n int) *Qwen2 + func (m *Qwen2) WithNumCtx(n int) *Qwen2 + func (m *Qwen2) WithRepeatPenalty(p float64) *Qwen2 + func (m *Qwen2) WithSeed(s int) *Qwen2 + func (m *Qwen2) WithSystemPrompt(s string) *Qwen2 + func (m *Qwen2) WithTemperature(t float64) *Qwen2 + func (m *Qwen2) WithTopK(k int) *Qwen2 + func (m *Qwen2) WithTopP(p float64) *Qwen2 + type RateLimitConfig struct + BackoffMultiplier float64 + InitialBackoff time.Duration + MaxBackoff time.Duration + MaxRetries int + func DefaultRateLimitConfig() *RateLimitConfig + type RetryFunc func() error + type SearchOptions struct + CountryCode string + DomainFilter []string + LanguageCode string + RecencyFilter string + ReturnImages bool + SafeSearch bool + type SearchResponse struct + Images []ImageResult + Results []SearchResult + type SearchResult struct + Author string + DatePublished string + Snippet string + Title string + URL string + type Sonar struct + func NewSonar() *Sonar + func (m *Sonar) ModelName() string + func (m *Sonar) Provider() ProviderType + func (m *Sonar) SystemPrompt() string + func (m *Sonar) WithMaxTokens(n int) *Sonar + func (m *Sonar) WithReturnImages(b bool) *Sonar + func (m *Sonar) WithReturnRelatedQuestions(b bool) *Sonar + func (m *Sonar) WithSearchDomainFilter(domains []string) *Sonar + func (m *Sonar) WithSearchRecencyFilter(f string) *Sonar + func (m *Sonar) WithSystemPrompt(s string) *Sonar + func (m *Sonar) WithTemperature(t float64) *Sonar + func (m *Sonar) WithTopK(k int) *Sonar + func (m *Sonar) WithTopP(p float64) *Sonar + type SonarDeepResearch struct + func NewSonarDeepResearch() *SonarDeepResearch + func (m *SonarDeepResearch) ModelName() string + func (m *SonarDeepResearch) Provider() ProviderType + func (m *SonarDeepResearch) SystemPrompt() string + func (m *SonarDeepResearch) WithMaxTokens(n int) *SonarDeepResearch + func (m *SonarDeepResearch) WithReturnImages(b bool) *SonarDeepResearch + func (m *SonarDeepResearch) WithReturnRelatedQuestions(b bool) *SonarDeepResearch + func (m *SonarDeepResearch) WithSearchDomainFilter(domains []string) *SonarDeepResearch + func (m *SonarDeepResearch) WithSearchRecencyFilter(f string) *SonarDeepResearch + func (m *SonarDeepResearch) WithSystemPrompt(s string) *SonarDeepResearch + func (m *SonarDeepResearch) WithTemperature(t float64) *SonarDeepResearch + func (m *SonarDeepResearch) WithTopK(k int) *SonarDeepResearch + func (m *SonarDeepResearch) WithTopP(p float64) *SonarDeepResearch + type SonarPro struct + func NewSonarPro() *SonarPro + func (m *SonarPro) ModelName() string + func (m *SonarPro) Provider() ProviderType + func (m *SonarPro) SystemPrompt() string + func (m *SonarPro) WithMaxTokens(n int) *SonarPro + func (m *SonarPro) WithReturnImages(b bool) *SonarPro + func (m *SonarPro) WithReturnRelatedQuestions(b bool) *SonarPro + func (m *SonarPro) WithSearchDomainFilter(domains []string) *SonarPro + func (m *SonarPro) WithSearchRecencyFilter(f string) *SonarPro + func (m *SonarPro) WithSystemPrompt(s string) *SonarPro + func (m *SonarPro) WithTemperature(t float64) *SonarPro + func (m *SonarPro) WithTopK(k int) *SonarPro + func (m *SonarPro) WithTopP(p float64) *SonarPro + type SonarReasoning struct + func NewSonarReasoning() *SonarReasoning + func (m *SonarReasoning) ModelName() string + func (m *SonarReasoning) Provider() ProviderType + func (m *SonarReasoning) SystemPrompt() string + func (m *SonarReasoning) WithMaxTokens(n int) *SonarReasoning + func (m *SonarReasoning) WithReturnImages(b bool) *SonarReasoning + func (m *SonarReasoning) WithReturnRelatedQuestions(b bool) *SonarReasoning + func (m *SonarReasoning) WithSearchDomainFilter(domains []string) *SonarReasoning + func (m *SonarReasoning) WithSearchRecencyFilter(f string) *SonarReasoning + func (m *SonarReasoning) WithSystemPrompt(s string) *SonarReasoning + func (m *SonarReasoning) WithTemperature(t float64) *SonarReasoning + func (m *SonarReasoning) WithTopK(k int) *SonarReasoning + func (m *SonarReasoning) WithTopP(p float64) *SonarReasoning + type SonarReasoningPro struct + func NewSonarReasoningPro() *SonarReasoningPro + func (m *SonarReasoningPro) ModelName() string + func (m *SonarReasoningPro) Provider() ProviderType + func (m *SonarReasoningPro) SystemPrompt() string + func (m *SonarReasoningPro) WithMaxTokens(n int) *SonarReasoningPro + func (m *SonarReasoningPro) WithReturnImages(b bool) *SonarReasoningPro + func (m *SonarReasoningPro) WithReturnRelatedQuestions(b bool) *SonarReasoningPro + func (m *SonarReasoningPro) WithSearchDomainFilter(domains []string) *SonarReasoningPro + func (m *SonarReasoningPro) WithSearchRecencyFilter(f string) *SonarReasoningPro + func (m *SonarReasoningPro) WithSystemPrompt(s string) *SonarReasoningPro + func (m *SonarReasoningPro) WithTemperature(t float64) *SonarReasoningPro + func (m *SonarReasoningPro) WithTopK(k int) *SonarReasoningPro + func (m *SonarReasoningPro) WithTopP(p float64) *SonarReasoningPro + type TokenUsage struct + CompletionTokens int + PromptTokens int + TotalTokens int + type ZerologAdapter struct + func NewZerologAdapter(logger zerolog.Logger) *ZerologAdapter + func (z *ZerologAdapter) Debug() LogEvent + func (z *ZerologAdapter) Error() LogEvent + func (z *ZerologAdapter) Info() LogEvent