Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GatewayAnnotator ¶
type GatewayAnnotator struct {
// contains filtered or unexported fields
}
GatewayAnnotator annotates images with a one-off side-call to a vision-capable provider/model routed through the inference gateway - the same mechanism conversation-title generation uses.
func NewGatewayAnnotator ¶
func NewGatewayAnnotator(client sdk.Client, cfg *config.Config) *GatewayAnnotator
NewGatewayAnnotator creates a gateway-backed annotator.
func (*GatewayAnnotator) AnnotateImage ¶
func (a *GatewayAnnotator) AnnotateImage(ctx context.Context, img agentdomain.ImageAttachment, opts agentdomain.AnnotateOptions) (*agentdomain.ImageAnnotation, error)
AnnotateImage sends the image to the configured vision model and parses the JSON reply.
Click to show internal directories.
Click to hide internal directories.