orchestrator¶
academic_doc_generator.review.orchestrator
¶
run_review_pipeline(pdf_path, llm_client=None, groq_free=False, output_folder=None)
¶
Run the peer review pipeline and produce a Markdown review.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
pdf_path
|
str | Path
|
Path to the paper PDF. |
required |
llm_client
|
Optional[LLMClientProtocol]
|
LLMClient instance for API access. If None, creates a new one. |
None
|
groq_free
|
bool
|
Whether to apply throttling for free-tier. |
False
|
output_folder
|
Optional[str | Path]
|
Folder to save the markdown. Defaults to PDF folder. |
None
|
Returns:
| Type | Description |
|---|---|
ReviewResult
|
Path to the generated markdown file. |