Documentation ¶
Index ¶
Constants ¶
View Source
const ( ModelClaude_3_Haiku = Model(anthropic.ModelClaude_3_Haiku_20240307) ModelClaude_3_5_Sonnet = Model(anthropic.ModelClaude3_5SonnetLatest) )
View Source
const ( MessageRoleSystem = MessageRole(openai.ChatMessageRoleSystem) MessageRoleUser = MessageRole(openai.ChatMessageRoleUser) MessageRoleAssistant = MessageRole(openai.ChatMessageRoleAssistant) MessageRoleFunction = MessageRole(openai.ChatMessageRoleFunction) MessageRoleTool = MessageRole(openai.ChatMessageRoleTool) )
View Source
const ( ModelLlama3_2_1B = Model("llama3.2-1b") ModelLlama3_2_3B = Model("llama3.2-3b") ModelGPT4o = Model(openai.GPT4o) )
View Source
const (
ModelGemini_1_5_Flash = Model("gemini-1.5-flash")
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnthropicClient ¶
type AnthropicClient struct {
// contains filtered or unexported fields
}
func NewAnthropicClient ¶
func NewAnthropicClient(opts NewAnthropicClientOptions) *AnthropicClient
type GoogleClient ¶
type GoogleClient struct {
// contains filtered or unexported fields
}
func NewGoogleClient ¶
func NewGoogleClient(opts NewGoogleClientOptions) *GoogleClient
type Message ¶
type Message struct { Content string Name string Role MessageRole }
type MessageRole ¶
type MessageRole string
type NewGoogleClientOptions ¶
type NewOpenAIClientOptions ¶
type OpenAIClient ¶
type OpenAIClient struct {
// contains filtered or unexported fields
}
func NewOpenAIClient ¶
func NewOpenAIClient(opts NewOpenAIClientOptions) *OpenAIClient
Click to show internal directories.
Click to hide internal directories.