FAQ Generator#
Creates FAQ lists from medical documents.
Features#
- Automatic Q&A generation
- Policy interpretation
- Patient-friendly language
- Structured formatting
Parameters#
ParameterTypeDefaultRequiredDescription--input, -istring-YesSource document file path--audience, -astringgeneralNoTarget audience (patients, researchers, general)--output, -ostringstdoutNoOutput file path--format, -fstringjsonNoOutput format (json, markdown, text)
json
{
"faqs": [{"question": "", "answer": ""}],
"topic": "string"
}
Risk Assessment#
Risk IndicatorAssessmentLevelCode ExecutionNo scripts includedLowNetwork AccessNo external API callsLowFile System AccessRead-only within workspaceLowInstruction TamperingStandard prompt guidelinesLowData ExposureInput/output within sessionLow
Security Checklist#
- No hardcoded credentials or API keys
- No unauthorized file system access (../)
- No network requests to external services
- Output does not expose sensitive information
- Prompt injection protections in place
Evaluation Criteria#
Success Metrics#
- FAQ accurately represents source document content
- Language is appropriate for specified audience (patients/researchers)
- Questions cover key points of the document
- Answers are clear, concise, and medically accurate
- Format follows structured JSON schema
Test Cases#
- Basic FAQ Generation: Input simple medical protocol → Output valid FAQ list
- Audience Adaptation: Same input with different audiences → Appropriate tone shift
- Complex Document: Input lengthy policy document → Comprehensive FAQ coverage
- Edge Case: Input ambiguous content → Handles gracefully with clarifying questions
Lifecycle Status#
-
Current Stage: Draft
-
Next Review Date: 2026-03-06
-
Known Issues: None
-
Planned Improvements:
- Add support for multi-language output
- Enhance medical terminology handling