Data Characteristics
Gene therapy AAV (adeno-associated virus vector) regulations and SOP documents primarily source data from regulatory agencies (e.g., FDA, EMA, NMPA) guidelines, industry association standards, and internal pharmaceutical quality management system documents. These documents are typically PDFs, Word files, or internal knowledge base pages. Updates are infrequent, occurring when new regulations or technical guidelines are issued. Document structures are rigorous, containing specialized terminology, regulatory clauses, experimental procedures, quality control indicators, and risk assessment matrices. Key fields include regulation number, version number, effective date, revision history, scope, operating procedures, quality standards, deviation handling, and approval records. Dosage units often include vg/mL (viral genome copies per milliliter) and MOI (multiplicity of infection). Purity and potency are expressed as percentages or titers.
Constraints on Reference and Traceability
The specialized, rigorous, and regulatory nature of gene therapy AAV documents places high demands on reference and traceability. First, regulation numbers and version numbers are critical for accuracy and timeliness. The system must precisely identify and display this metadata. Second, operating procedures and quality standards are often described in segments. RAG retrieval must locate specific paragraphs or clauses to support precise referencing. Third, when dealing with key indicators like dosage and purity, the system must correctly identify units and maintain complete context to avoid citation errors from truncation or misunderstanding. Furthermore, since regulatory updates are infrequent but impactful, the system needs to handle archiving and retrieval of old document versions. It must also provide comparisons between new and old versions when necessary to support traceability. Accurate referencing directly impacts compliance; any vague or imprecise citation can introduce risk.
Configuration Settings
| Configuration Item | Recommended Value | Rationale |
|---|---|---|
Chunk size (Segment Length) | 500–800 characters | Balances the completeness of regulatory clauses with retrieval granularity, avoiding the cutting of critical provisions. |
Chunk Overlap Length (Segment Overlap Length) | 50 characters | Ensures contextual continuity and reduces semantic loss due to segment boundaries. |
Recall count (Recall Count) | Top 5–8 items | Increases the recall of highly relevant and comprehensive regulatory clauses, improving accuracy. |
Similarity threshold (Similarity Threshold) | 0.75–0.85 | Strictly controls similarity to ensure recalled regulations and SOP content are highly relevant. |
Rerank result count (Reranked Return Count) | 3 items | Further selects the most core items as final references based on high-quality recall. |
Metadata Retention Strategy | Retain All | Regulation numbers, version numbers, and effective dates are crucial for traceability. |
Common Pitfalls
- Retrieval results only return reference titles without specific content: This usually occurs when
Chunk size(Segment Length) is too small orRecall count(Recall Count) is insufficient, leading to recalled text fragments lacking context. Alternatively, theAI Chatcomponent in the workflow might not be configured correctly forKnowledge Base Citationdata format. - Outdated or incorrect regulatory versions are cited: This happens when the
Metadata Retention Strategyfails to effectively identify and differentiate document version information, or when the knowledge base contains incorrectly tagged old document versions. - Knowledge base retrieval misses relevant content that actually exists: Possible reasons include overly lengthy document content with unclear semantic boundaries, leading to improper
Chunk size(Segment Length) settings, or an excessively highSimilarity threshold(Similarity Threshold), preventing effective content from being accurately matched.
Verification Steps
- Select several representative gene therapy AAV regulatory questions. Verify that the returned references include specific regulation numbers, version numbers, and effective dates. Compare them against original documents to confirm information consistency.
- For questions involving specific operating procedures or quality indicators, check if the cited text can pinpoint the exact paragraph in the original document. Verify that numerical values and units are complete and accurate.
- Simulate questions about differences between new and old versions of regulations. Observe whether the system can recall relevant fragments from both new and old version documents and display their differences, or clearly indicate the currently effective version.
The values provided are common starting points and should be measured against your own 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.