Documentation
¶
Overview ¶
Package anthropic adapts the official Anthropic Go SDK to Simon's model.Model interface, mirroring Python's simon/models/anthropic.py.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Model ¶
type Model struct {
Client anthropicsdk.Client
ModelStr string
}
Model calls the Anthropic Messages API.
func NewWithOptions ¶
func NewWithOptions(modelName string, opts ...option.RequestOption) *Model
NewWithOptions builds a Model from raw SDK request options, letting callers (notably tests) override the base URL or HTTP client.
Click to show internal directories.
Click to hide internal directories.