orchestrator¶
academic_doc_generator.colloquium.orchestrator
¶
High-level pipeline with comprehensive type annotations for colloquium protocol generation.
run_pipeline(config)
¶
Execute the full colloquium protocol generation pipeline.
This function orchestrates the complete workflow for creating a LaTeX template (and optionally a compiled PDF) that documents the protocol of a thesis colloquium. It processes the thesis PDF, extracts metadata, rewrites examiner comments, and generates a formal letter in LaTeX format.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
config
|
ColloquiumWorkflowConfig
|
Configuration object for the colloquium workflow. |
required |
Returns:
| Type | Description |
|---|---|
ColloquiumWorkflowResult
|
ColloquiumWorkflowResult object containing paths to generated files. |
Raises:
| Type | Description |
|---|---|
FileNotFoundError
|
If the provided |
ValueError
|
If required location parameters are missing (e.g., room for campus). |
CalledProcessError
|
If LaTeX compilation fails when |
Exception
|
Any errors raised by the LLM API (e.g., authentication issues). |