Documentation
¶
Index ¶
Constants ¶
View Source
const DefaultLLMModel = "claude-3-sonnet-20240229"
DefaultLLMModel is the default Anthropic model when none is specified.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service implements a minimal Anthropic messages API client compatible with services.LLMService.
func NewLLMService ¶
NewLLMService creates a new Anthropic LLM service. apiKey should be the Anthropic API key; model is the messages model (e.g. "claude-3-sonnet-20240229").
Click to show internal directories.
Click to hide internal directories.