Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRecognize ¶
func NewRecognize(cfg RecognizeConfig, deps RecognizeDeps) (agentkit.ToolPack, error)
NewRecognize registers tool/recognize: recognize_image via deps.llm and config.model.
Types ¶
type RecognizeConfig ¶
type RecognizeConfig struct {
// Model overrides the vision LLM model; empty uses the provider default.
Model string `json:"model"`
// ImageSystemPrompt overrides the default vision system instruction.
ImageSystemPrompt string `json:"imageSystemPrompt"`
}
func (*RecognizeConfig) SetDefaults ¶ added in v0.3.48
func (c *RecognizeConfig) SetDefaults()
SetDefaults implements pluginkit.Defaulter.
type RecognizeDeps ¶
type RecognizeDeps struct {
LLM agentkit.LLMProvider `json:"llm"`
Workspace workspace.Service `json:"workspace"`
Telemetry captelemetry.Toolkit `json:"telemetry"`
}
type RecognizeImageInput ¶
Click to show internal directories.
Click to hide internal directories.