vlm

package
v0.199.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 15, 2026 License: Apache-2.0 Imports: 8 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package vlm provides image annotation (image -> scene summary + numbered element list) via a side-call to a vision model through the inference gateway. Gated by config.VisionConfig. The gateway also serves local models (e.g. Ollama), so offline annotation is a gateway concern.

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

AnnotateImage sends the image to the configured vision model and parses the JSON reply.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL