Skip to content

Query — CLI Command

Usage

momentry query <QUERY>

Description

Perform RAG (Retrieval-Augmented Generation) query against video content.

Arguments

Argument Type Required Description
QUERY string Yes Query text to search

Options

None.

Examples

# Simple query
momentry query "What happened in the beginning?"

# Query about specific topic
momentry query "Who is the main speaker?"

Agent Callable

Format: momentry query '<json-args>'

JSON Args:

{
  "query": "What happened in the beginning?"
}

Returns: JSON with search results and answer.

  • vectorize — Vectorize chunks for search
  • agent — Agent-based intelligent query
  • chunk — Generate searchable chunks