vision

command
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2026 License: MIT Imports: 21 Imported by: 0

Documentation

Overview

Command vision demonstrates indexing image files: each image is described by a vision LLM (title, detailed description, transcription of the visible text), and that description is indexed as ordinary markdown — so images become findable through the same full-text and semantic search as every other document, and are tagged with type=image for metadata filtering.

By default the example runs offline with a fake describer, so it needs no API key. Point it at a real vision model with the -llm flag:

OPENROUTER_API_KEY=... go run ./example/vision -llm <storage-dir>

Usage:

go run ./example/vision [-llm] [-model <model>] <storage-dir>

Jump to

Keyboard shortcuts

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