tools.tool_vector_search module
Semantic search across message history using vector embeddings.
- async tools.tool_vector_search.run(query, top_k=10, channel_id='', *, ctx=None)[source]
Execute this tool and return the result.
- Parameters:
query (
str) – Search query or input string.top_k (
int) – The top k value.channel_id (
str) – Discord/Matrix channel identifier.ctx (ToolContext | None)
- Returns:
Result string.
- Return type: