Skip to content

本页尚未翻译

本页内容仍为英文原文,源自官方文档 tutorials/search/vector-arithmetic。中文翻译正在分批进行中。

Semantic result merging ​

Add and subtract embeddings to steer a query toward or away from a concept.

Explores vector arithmetic: manipulating embeddings to capture relationships a single query vector cannot. Adding or subtracting the vector representation of a concept shifts the query, which makes searches more nuanced than a literal similarity lookup.

说明

This example is a runnable notebook in the vectordb-recipes repository rather than a page here.

Open in ColabRun it end to end in the browser.View on GitHubRead the source.