Documentation ¶
Index ¶
Constants ¶
View Source
const ApiKeyHeader = "X-Openline-API-KEY"
Variables ¶
This section is empty.
Functions ¶
func InvokeAnthropic ¶
Types ¶
type AnthropicClient ¶
type AnthropicClient struct {
// contains filtered or unexported fields
}
func NewAnthropicClient ¶
func NewAnthropicClient(cfg *config.AiModelConfigAnthropic) *AnthropicClient
type AnthropicModel ¶
type AnthropicModel struct {
Client *AnthropicClient
}
func NewModel ¶
func NewModel(apiKey, apiPath, model string) *AnthropicModel
Click to show internal directories.
Click to hide internal directories.