image

package
v1.1.9 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package image provides image retrieval steps for multimodal RAG pipelines.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Search(
	store core.VectorStore,
	topK int,
	logger logging.Logger,
	metrics core.Metrics,
) pipeline.Step[*core.RetrievalContext]

Search creates an image-based vector search step with logger and metrics.

Parameters:

  • store: vector store to search
  • topK: number of results to retrieve (default: 10)
  • logger: structured logger (auto-defaults to NoopLogger if nil)
  • metrics: metrics collector (optional, can be nil)

Example:

p.AddStep(image.Search(store, 20, logger, metrics))

Types

This section is empty.

Jump to

Keyboard shortcuts

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