Aliyun OSS Vector Store icon

Aliyun OSS Vector Store

Store and retrieve vectors using Alibaba Cloud OSS Vector Bucket

Query

AI-generated

Summary

Perform a vector similarity search on the specified Aliyun OSS vector index using embedded query text, optionally filtered by metadata, returning up to a specified maximum number of results with their content, metadata, and similarity scores.

Inputs

  • Index Name (required) — Specifies the OSS vector index to query; must match the index name in your Aliyun OSS bucket.
  • Query Text (required) — The text string to be embedded and used as the search query against the vector index.
  • Limit — Sets the maximum number of similar results to return from the query; defaults to 5 if unspecified.
  • Metadata Filter — An optional JSON object using OSS MongoDB-style operators to filter query results server-side by metadata; must be valid JSON object syntax or left empty.

Output shape

A list of matching vectors, each represented as an item containing JSON with pageContent (text of the matched document), metadata (associated metadata fields), and score (similarity distance).

If no matches are found, the node outputs a single item with an empty results array and a message indicating no results. Valid embeddings input must be connected for the query to execute successfully.

Links

Discussion