ask_knowledge
Ask questions against your locally indexed Markdown knowledge base and get citation-backed answers generated offline through Ollama, with source references.
Instructions
RAG 问答:检索知识库片段 + 本地生成模型回答,附引用来源。零积分、离线可用。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"question": "<question>"
},
"name": "ask_knowledge"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top_k | No | 检索片段数(默认 5) | |
| question | Yes | 向知识库提问 |