44 lines
1.5 KiB
JSON
44 lines
1.5 KiB
JSON
[
|
|
{
|
|
"name": "semantic_search",
|
|
"description": "**Core Function**: Perform semantic-level retrieval on document.txt based on input content, enabling discovery of content semantically similar to keywords within document.txt.\n\n**Applicable Scenarios**: Semantic retrieval of text content, previewing data structure, gaining data insights from text content.\n\n**Limitations**: Poor performance for numeric content searches (weight, price, length, quantity, etc.), recommended to use `multi_keyword-search` instead.",
|
|
"inputSchema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"queries": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"description": "List of search query texts to search simultaneously"
|
|
},
|
|
"query": {
|
|
"type": "string",
|
|
"description": "Single search query text (for backward compatibility)"
|
|
},
|
|
"embeddings_file": {
|
|
"type": "string",
|
|
"description": "Path to embeddings pickle file"
|
|
},
|
|
"top_k": {
|
|
"type": "integer",
|
|
"description": "Maximum number of results to return per query, default 50",
|
|
"default": 50
|
|
}
|
|
},
|
|
"required": [
|
|
"embeddings_file"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"name": "get_model_info",
|
|
"description": "Get current model information including model path, loading status, etc.",
|
|
"inputSchema": {
|
|
"type": "object",
|
|
"properties": {},
|
|
"required": []
|
|
}
|
|
}
|
|
]
|