Documentation
¶
Index ¶
Constants ¶
View Source
const ( MaxNumberOfTokens = 8192 ToolNameRegex = `^[a-zA-Z0-9_-]{1,64}$` )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Anthropic ¶
type Anthropic struct { ProjectID string Location string // contains filtered or unexported fields }
func (*Anthropic) DefineModel ¶
func (a *Anthropic) DefineModel(g *genkit.Genkit, name string, info *ai.ModelInfo) (ai.Model, error)
DefineModel adds the model to the registry
Click to show internal directories.
Click to hide internal directories.