Skip to content

Analysis workflow

Core

report_analyst/ ยท Reciprocal Public License. This is the open core: the Streamlit analyst, chunking, question sets, and benchmarking. It ships in the core Docker image.

One question moves through retrieval, optional LLM scoring, the answer, and evidence assignment. The Report Analyst steps Chunk, Embed, Map, and Answer line up with this pipeline. Map retrieves and attaches passages. Answer runs the question analysis and evidence assignment.

report_analyst.core.workflow_engine.WorkflowStep

Base class for workflow steps

execute(context) async

Execute this workflow step

validate_input(context)

Validate input context for this step

validate_output(context)

Validate output context for this step

report_analyst.core.workflow_engine.WorkflowContext dataclass

Context passed between workflow steps

report_analyst.core.workflow_engine.WorkflowEngine

Workflow engine for orchestrating document analysis steps

execute_workflow(file_path, question_id, question_text, config) async

Execute the full workflow for a question

get_workflow_status()

Get current workflow status