similar_documents
Find similar documents by chunk ID, filter by collection, and control the number of results returned.
Instructions
Find documents similar to a given chunk.
Args:
chunk_id: The chunk ID to find similar documents for.
collection: Optional collection to search in.
top_k: Number of similar results to return.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top_k | No | ||
| chunk_id | Yes | ||
| collection | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |