vector_search
Conduct semantic, lexical, or hybrid searches to retrieve related knowledge from vector databases based on a query question.
Instructions
Manage search operations.
Actions:
'semantic_search': Retrieves and gathers related knowledge from the vector database instance using the question variable.
'lexical_search': This is a lexical or term based search that retrieves and gathers related knowledge from the database instance using the question variable via BM25.
'search': Performs a hybrid search combining semantic (vector) and lexical (BM25) methods.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | host | |
| port | No | port | |
| rrf_k | No | rrf k | |
| action | Yes | Action to perform. Must be one of: 'semantic_search', 'lexical_search', 'search' | |
| db_name | No | db name | |
| db_path | No | db path | |
| db_type | No | db type | |
| password | No | password | |
| question | No | question | |
| username | No | username | |
| bm25_weight | No | bm25 weight | |
| number_results | No | number results | |
| collection_name | No | collection name | |
| semantic_weight | No | semantic weight |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||