hybrid_search
Blend vector similarity and Postgres full-text search to rank rows by relevance. Configure weights to balance semantic and keyword matching for hybrid retrieval.
Instructions
Rank rows by a weighted blend of vector similarity and Postgres full-text search.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| k | No | ||
| table | Yes | ||
| metric | No | cosine | |
| schema | No | public | |
| query_text | Yes | ||
| text_column | Yes | ||
| vector_weight | No | ||
| return_columns | No | ||
| query_embedding | Yes | ||
| embedding_column | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |