{ "widgettype": "VBox", "options": { "width": "100%", "height": "100%", "padding": "0" }, "subwidgets": [ { "widgettype": "HBox", "options": { "width": "100%", "alignItems": "center", "marginBottom": "24px" }, "subwidgets": [ { "widgettype": "Title2", "options": { "text": "知识库管理" } }, { "widgettype": "Filler" }, { "widgettype": "Text", "options": { "text": "向量知识库的文档管理、检索与测试", "cfontsize": 1.2 } } ] }, { "widgettype": "TabPanel", "options": { "tab_wide": "auto", "interval": "15px", "height": "calc(100% - 50px)", "width": "100%", "tab_pos": "top", "items": [ { "name": "add", "label": "添加文件", "refresh": true, "content": { "widgettype": "urlwidget", "options": { "url": "{{entire_url('/rag/add.ui')}}" } } }, { "name": "query", "label": "查询知识库", "refresh": true, "content": { "widgettype": "urlwidget", "options": { "url": "{{entire_url('/rag/query.ui')}}" } } }, { "name": "manage", "label": "文档管理", "refresh": true, "content": { "widgettype": "urlwidget", "options": { "url": "{{entire_url('/rag/knowledge_base')}}" } } } ] } } ] }