package
0.5.1
Repository: https://github.com/belingud/gptcomet.git
Documentation: pkg.go.dev

# Functions

CreateProvider creates a new provider instance with given config.
GetProviders returns a list of all registered providers.
NewAI21LLM creates a new AI21LLM.
NewAzureLLM creates a new AzureLLM.
NewBaseLLM creates a new BaseLLM.
NewChatGLMLLM creates a new ChatGLMLLM.
NewClaudeLLM creates a new ClaudeLLM.
NewCohereLLM creates a new CohereLLM.
NewDeepSeekLLM creates a new DeepSeekLLM.
NewDefaultLLM creates a new DefaultLLM.
NewGeminiLLM creates a new GeminiLLM.
NewGroqLLM creates a new GroqLLM.
NewKimiLLM creates a new KimiLLM.
NewMistralLLM creates a new MistralLLM.
NewOllamaLLM creates a new OllamaLLM.
NewOpenAILLM creates a new OpenAILLM.
NewOpenRouterLLM creates a new OpenRouterLLM.
NewProvider creates a new LLM provider instance based on the given provider name and configuration.
NewSambanovaLLM creates a new SambanovaLLM.
NewSiliconLLM creates a new SiliconLLM.
NewTongyiLLM creates a new TongyiLLM.
NewVertexLLM creates a new VertexLLM.
NewXAILLM creates a new XAILLM.
RegisterProvider registers a new LLM provider constructor.

# Constants

No description provided by the author
No description provided by the author

# Variables

No description provided by the author

# Structs

AI21LLM implements the LLM interface for Groq.
AzureLLM implements the LLM interface for Azure OpenAI.
BaseLLM provides common functionality for all LLM providers.
ChatGLMLLM implements the LLM interface for ChatGLM.
ClaudeLLM is the Claude LLM provider implementation.
CohereLLM implements the LLM interface for Cohere.
DeepSeekLLM implements the LLM interface for DeepSeek.
DefaultLLM provides default implementation of LLM interface.
GeminiLLM implements the LLM interface for Gemini.
GroqLLM implements the LLM interface for Groq.
KimiLLM implements the LLM interface for Kimi.
MistralLLM implements the LLM interface for Mistral.
OllamaLLM is the Ollama LLM provider implementation.
OpenAILLM implements the LLM interface for OpenAI.
OpenRouterLLM implements the LLM interface for OpenRouter.
SambanovaLLM implements the LLM interface for SambaNova.
SiliconLLM implements the LLM interface for Silicon.
TongyiLLM implements the LLM interface for Tongyi (DashScope).
VertexLLM implements the LLM interface for Google Cloud Vertex AI.
XAILLM implements the LLM interface for XAI.

# Interfaces

LLM is the interface that all LLM providers must implement.

# Type aliases

ProviderConstructor is a function that creates a new LLM instance.