Merge branch 'master' into prod
This commit is contained in:
commit
24dd1afbeb
@ -1,21 +0,0 @@
|
|||||||
[
|
|
||||||
{
|
|
||||||
"name": "rag_retrieve",
|
|
||||||
"description": "调用RAG检索API,根据查询内容检索相关文档。返回包含相关内容的markdown格式结果。",
|
|
||||||
"inputSchema": {
|
|
||||||
"type": "object",
|
|
||||||
"properties": {
|
|
||||||
"query": {
|
|
||||||
"type": "string",
|
|
||||||
"description": "检索查询内容"
|
|
||||||
},
|
|
||||||
"top_k": {
|
|
||||||
"type": "integer",
|
|
||||||
"description": "返回结果的最大数量,默认50",
|
|
||||||
"default": 50
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": ["query"]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
21
mcp/tools/rag_retrieve_tools.json
Normal file
21
mcp/tools/rag_retrieve_tools.json
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
"name": "rag_retrieve",
|
||||||
|
"description": "Call RAG retrieval API to retrieve relevant documents based on query content. Returns markdown format results containing relevant content.",
|
||||||
|
"inputSchema": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"query": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Retrieval query content"
|
||||||
|
},
|
||||||
|
"top_k": {
|
||||||
|
"type": "integer",
|
||||||
|
"description": "Maximum number of results to return, default 50",
|
||||||
|
"default": 50
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": ["query"]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
Loading…
Reference in New Issue
Block a user