0a9588abb7
- Add pagination support to findAll (page, limit query params) - Add findByTemplateId method to service - Add GET /by-template/:templateId endpoint to controller - Service already includes CRUD for QuestionBank and QuestionBankItem
129 lines
6.5 KiB
Plaintext
129 lines
6.5 KiB
Plaintext
--- Cluster Health ---
|
|
{
|
|
cluster_name: 'docker-cluster',
|
|
status: 'yellow',
|
|
timed_out: false,
|
|
number_of_nodes: 1,
|
|
number_of_data_nodes: 1,
|
|
active_primary_shards: 1,
|
|
active_shards: 1,
|
|
relocating_shards: 0,
|
|
initializing_shards: 0,
|
|
unassigned_shards: 1,
|
|
unassigned_primary_shards: 0,
|
|
delayed_unassigned_shards: 0,
|
|
number_of_pending_tasks: 0,
|
|
number_of_in_flight_fetch: 0,
|
|
task_max_waiting_in_queue_millis: 0,
|
|
active_shards_percent_as_number: 50
|
|
}
|
|
|
|
--- Indices ---
|
|
[
|
|
{
|
|
health: 'yellow',
|
|
status: 'open',
|
|
index: 'knowledge_base',
|
|
uuid: 'CB8KMnlZT-uNmB4SW0Xb8w',
|
|
pri: '1',
|
|
rep: '1',
|
|
'docs.count': '13',
|
|
'docs.deleted': '0',
|
|
'store.size': '283.8kb',
|
|
'pri.store.size': '283.8kb',
|
|
'dataset.size': '283.8kb'
|
|
}
|
|
]
|
|
|
|
--- Mapping for "knowledge_base" ---
|
|
{
|
|
"properties": {
|
|
"chunkIndex": {
|
|
"type": "integer"
|
|
},
|
|
"content": {
|
|
"type": "text",
|
|
"analyzer": "standard"
|
|
},
|
|
"createdAt": {
|
|
"type": "date"
|
|
},
|
|
"endPosition": {
|
|
"type": "integer"
|
|
},
|
|
"fileId": {
|
|
"type": "keyword"
|
|
},
|
|
"fileMimeType": {
|
|
"type": "keyword"
|
|
},
|
|
"fileName": {
|
|
"type": "keyword"
|
|
},
|
|
"startPosition": {
|
|
"type": "integer"
|
|
},
|
|
"tenantId": {
|
|
"type": "keyword"
|
|
},
|
|
"title": {
|
|
"type": "text"
|
|
},
|
|
"userId": {
|
|
"type": "keyword"
|
|
},
|
|
"vector": {
|
|
"type": "dense_vector",
|
|
"dims": 1024,
|
|
"index": true,
|
|
"similarity": "cosine",
|
|
"index_options": {
|
|
"type": "bbq_hnsw",
|
|
"m": 16,
|
|
"ef_construction": 100,
|
|
"rescore_vector": {
|
|
"oversample": 3
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
--- Total Documents ---
|
|
{
|
|
count: 13,
|
|
_shards: { total: 1, successful: 1, skipped: 0, failed: 0 }
|
|
}
|
|
|
|
--- Document Distribution by tenantId ---
|
|
[]
|
|
|
|
--- Sample Documents (last 5) ---
|
|
[
|
|
{
|
|
"id": "70ce5a96-1c8c-4e17-b034-6ffb184221f6_chunk_3",
|
|
"fileName": "AI人才定义框架 (AI Competency Framework).pdf",
|
|
"contentPreview": "体为核心、成本可控、可持续演进系\n统设计哲学。\n\n📖 术语统一定义 (Unified Glossary)\n\nA. 框架核心维度\n\n术语 英文 定义\n\n工作能\n力\n\nWork Competency\n个"
|
|
},
|
|
{
|
|
"id": "70ce5a96-1c8c-4e17-b034-6ffb184221f6_chunk_2",
|
|
"fileName": "AI人才定义框架 (AI Competency Framework).pdf",
|
|
"contentPreview": "键场景实现模型精度或成本的显著优化\n(有量化证据)。\n\n[ ] 完整周期领导:领导一个复杂项目完成 ≥7周 的先进范式全周期管理,产出完整资产。\n\n使用说明\n\n1. 评估流程:满足当前级别的要求后可进"
|
|
},
|
|
{
|
|
"id": "70ce5a96-1c8c-4e17-b034-6ffb184221f6_chunk_1",
|
|
"fileName": "AI人才定义框架 (AI Competency Framework).pdf",
|
|
"contentPreview": "🎓 评估检查清单 (Assessment Checklist)\n\n通用评估原则 (Universal Assessment Principles)\n\n1. 平衡性原则: 四个维度能力需均衡发展\n2."
|
|
},
|
|
{
|
|
"id": "70ce5a96-1c8c-4e17-b034-6ffb184221f6_chunk_0",
|
|
"fileName": "AI人才定义框架 (AI Competency Framework).pdf",
|
|
"contentPreview": "AI人才定义框架 (AI Competency Framework)\n\n📋 框架概述 (Framework Overview)\n\n本框架整合了四个关键维度的能力要求,形成完整的AI人才发展路径:\n\n"
|
|
},
|
|
{
|
|
"id": "79fc8d69-d26e-485e-8bb0-711f11123cd1_chunk_2",
|
|
"fileName": "AI人才定义框架 (AI Competency Framework).pdf",
|
|
"contentPreview": "4章\n说明:需系统化总结快捷键、对话技巧、\n上下文管理心法等内部经验。\n\nL3\n整合\n与机\n制化\n\n工\n作\n能\n力\n\n1. 《技术方案设计(TECH SPEC)\n模板》 (各大公司内部可参考的公\n开模"
|
|
}
|
|
]
|