QA Analysis Skill
Workflow
- Identify the target document_id from conversation context
- Call
get_document_segmentsto check segment count - If total_segments == 1 → proceed with segment_index=0
- If total_segments > 1 → ask user which page/segment to analyze
- Ask user what question they want answered (if not already specified)
- Call
add_document_qawith the parameters - Present the result to the user