VideoDB icon

VideoDB

Interact with the VideoDB API

Search in a Collection

AI-generated

Summary

Perform a semantic search query within a specified collection in VideoDB, filtering results by index type and applying optional thresholds to refine results.

Inputs

  • Collection Name or ID (required) — Select the collection to search within by choosing from the list or specifying an ID via expression.
  • Query (required) — The search text query to perform on the collection.
  • Search Type (required) — Currently only 'Semantic' search type is supported.
  • Index Type (required) — Define the index to search on, either 'Spoken Word' or 'Scene'.
  • Result Threshold — Minimum number of search results to return; defaults to 0.
  • Score Threshold — Minimum score for returned results; defaults to 0.
  • Dynamic Score Percentage — Percentage for dynamic scoring adjustment; defaults to 0.

Output shape

a JSON object with the search results from the collection as returned by the VideoDB API

The output includes matching items based on the semantic search over the selected index type within the specified collection. Result count and scores can be filtered using the thresholds provided.

Links

Discussion