search
Search indexed text files using token-level relevance matching. Embeds queries and ranks chunks by MaxSim similarity, returning top results with scores and snippets.
Instructions
Search the indexed folder with ColBERT-style MaxSim late interaction.
Embeds the query into token vectors and ranks every indexed chunk by
score(q, d) = sum_i max_j sim(q_i, d_j). Returns up to k results,
highest score first, each with its source file, score, and a snippet.
Args: query: Natural-language or keyword query. k: Maximum number of results to return (default 5).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| k | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |