vector

package
v1.1.6 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MultiSearch

func MultiSearch(store core.VectorStore, embedder embedding.Provider, opts SearchOptions) pipeline.Step[*core.RetrievalContext]

MultiSearch 执行并行多路向量搜索 它会检查 Agentic.SubQueries,并为每个查询并行发起搜索

Search creates a new vector search step.

Types

type SearchOptions

type SearchOptions struct {
	TopK        int
	Filters     map[string]any
	Concurrency int // Industrial Gate: number of concurrent sub-queries
}

SearchOptions 搜索选项

Jump to

Keyboard shortcuts

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