search
Semantically search a text collection and retrieve the top-k most relevant chunks with a cosine similarity score.
Instructions
Semantic search a collection. Returns the top-k chunks with a 0-1 cosine score.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| k | No | ||
| query | Yes | ||
| collection | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |