Documentation
¶
Index ¶
- Variables
- type Driver
- func (d *Driver) GetModel() string
- func (d *Driver) GetName() string
- func (d *Driver) QueryWithImage(ctx context.Context, input string, fsys fs.FS, path string) ([]string, map[string]int64, error)
- func (d *Driver) QueryWithText(ctx context.Context, input string, context []string) ([]string, map[string]int64, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var DriverName = "anthropic"
View Source
var TokenFields = []string{
"InputTokens",
"OutputTokens",
"CacheCreationInputTokens",
"CacheReadInputTokens",
}
Functions ¶
This section is empty.
Types ¶
type Driver ¶
type Driver struct {
// contains filtered or unexported fields
}
func (*Driver) QueryWithImage ¶
Click to show internal directories.
Click to hide internal directories.