Documentation
¶
Overview ¶
Package anthropicprovider implements the llmprovider.Provider interface using the official Anthropic Go SDK (github.com/anthropics/anthropic-sdk-go).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client implements llmprovider.Provider for Anthropic.
func (*Client) GenerateContent ¶
func (c *Client) GenerateContent( ctx context.Context, messages []llmprovider.Message, options ...llmprovider.CallOption, ) (*llmprovider.Response, error)
GenerateContent sends messages to Anthropic and returns the response.
Click to show internal directories.
Click to hide internal directories.