ragserver/json/documents.json
yumoqing 254bf8e9b2 feat: initial ragserver - web app skeleton with data models, CRUD, and build scripts
- ahserver web app on port 9190
- DB: rag (test/test123, utf8mb4)
- 7 data models: knowledge_bases, documents, document_chunks, entities, entity_relations, subscriptions, engine_configs, usage_logs
- 4 CRUD definitions: knowledge_bases, documents, subscriptions, engine_configs
- build.sh clones all foundation modules + rag-pipeline + services
- independent venv, bricks frontend, RBAC support
2026-07-21 17:00:53 +08:00

26 lines
1006 B
JSON

{
"tblname": "documents",
"params": {
"title": "文档管理",
"browserfields": [
{"field": "file_name", "title": "文件名", "width": "25%"},
{"field": "file_type", "title": "类型", "width": "10%"},
{"field": "file_size", "title": "大小", "width": "10%"},
{"field": "chunk_count", "title": "分片数", "width": "8%"},
{"field": "status", "title": "状态", "width": "10%"},
{"field": "kb_id", "title": "知识库", "width": "17%"},
{"field": "created_at", "title": "上传时间", "width": "20%"}
],
"editfields": [
{"field": "file_name", "uitype": "Text", "required": true},
{"field": "kb_id", "uitype": "Text", "required": true},
{"field": "file_type", "uitype": "Text"}
],
"searchfields": ["file_name"],
"sort": "created_at desc",
"data_filter": {
"org_id": "{{userorgid}}"
}
}
}