Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OpenAIClient ¶
type OpenAIClient struct {
// contains filtered or unexported fields
}
OpenAIClient implements OpenAI-compatible LLM interactions. It can be used for OpenAI, DeepSeek, Groq, etc.
func NewOpenAIClient ¶
func NewOpenAIClient(apiKey, endpoint, model string, logger *slog.Logger) *OpenAIClient
NewOpenAIClient creates a new OpenAI compatible client.
Click to show internal directories.
Click to hide internal directories.