Data Characteristics
Policy and Standard Operating Procedure (SOP) documents in health management typically originate from national health commissions, regional health commissions, industry association standards, and internal institutional regulations. Update frequencies vary. National-level policies might revise annually or every few years, while internal institutional SOPs could update quarterly or semi-annually. Document structures are usually hierarchical and chapter-based, often including sections like introduction, scope, responsibilities, procedures, and appendices. Common fields include "Policy Number," "Publication Date," "Revision Version Number," "Effective Date," and "Responsible Department." Process descriptions involve specific medical terminology, operational steps, and risk control points. Units primarily appear as time (e.g., "minutes," "hours"), frequency (e.g., "daily," "weekly"), and specific medical measurement units (e.g., "mg/dL," "mmol/L").
Constraints Imposed by These Characteristics on "Reference and Traceability"
The hierarchical structure and version control of health management policy documents demand high precision in reference sourcing. Policies and SOPs can update frequently. Citing outdated content from older versions can lead to obsolete information and compliance risks. Therefore, the system must pinpoint the specific version and chapter when providing references. The extensive professional terminology and process descriptions in these documents require the RAG model to accurately identify context during retrieval, avoiding reference errors due to semantic ambiguity. For example, different versions of a "Diabetes Health Management Process" might have subtle differences. The system needs to distinguish these and trace back to specific revision records. Additionally, "Publication Date" and "Effective Date" fields are critical for determining information timeliness. The system must leverage this metadata to optimize its reference strategy.
Configuration Guidelines
| Configuration Item | Suggested Value | Rationale for this Value |
|---|---|---|
chunk_size | 800–1200 characters | Balances semantic completeness and retrieval efficiency, preventing critical information fragmentation during chunking. |
chunk_overlap | 100 characters | Ensures contextual continuity and handles cross-paragraph reference requirements. |
top_k | top 5 | Covers diverse retrieval results, increasing the probability of hitting relevant policies. |
similarity_threshold | 0.75 | Balances retrieval breadth and precision, filtering out low-relevance content. |
rerank_top_n | top 3 | Improves the relevance of final references, focusing on the most accurate policy entries. |
metadata_filter (Effective Date) | Calibrated by measurement | Prioritizes retrieval of the latest effective policy versions, avoiding citation of outdated information. |
Three Common Mistakes
- The cited content does not match the query topic, but the reference source points to a relevant document. This usually happens because
similarity_thresholdis set too low, leading to the retrieval of semantically similar but irrelevant paragraphs. - The answer does not contain knowledge base content, but the reference list shows the correct document path. This might occur if
top_kis set too low, or if highly relevant content is filtered out during post-processing and does not make it into the final answer. - The system returns an outdated version of a policy as a reference, leading to inaccurate information. This indicates that the document's "Effective Date" or "Revision Version Number" metadata was not fully utilized for effective filtering during data processing or retrieval.
How to Verify Configuration
- For typical queries, check if the cited policy version in the answer is the latest effective version. Verify if the date configurations in
metadata_filterare active. - Use test cases that include multiple policy versions. Verify if the system can accurately cite specific chapters and clauses based on the query context. Observe the impact of
chunk_sizeandchunk_overlapon chunking effectiveness. - Compare
top_kretrieval results withrerank_top_nresults. Evaluate if the reranking mechanism effectively improves the relevance of cited entries. Check ifsimilarity_thresholdreasonably filters out noise.
Note: The values provided are common starting points. They should be measured against specific samples.
Question material comes from public community discussions. Configuration values are common starting points and should be measured against your own samples. Verified on 2026-09-21.