fabricatio_typst.actions.article
Actions for transmitting tasks to targets.
Classes
Extract the essence of article(s) in text format from the paths specified in the task dependencies. |
|
Fix the article essence based on the bibtex key. |
|
Generate an outline for the article based on the extracted essence. |
|
Generate the initial article outline based on the article proposal. |
|
Extract the outline from the raw outline. |
|
Fix introspected errors in the article outline. |
|
Generate the article based on the outline. |
|
Load the article from the outline and typst code. |
|
Write the chapter summary. |
|
Write the research content summary. |
Module Contents
- class fabricatio_typst.actions.article.ExtractArticleEssence(/, **data: Any)
Bases:
fabricatio_core.models.action.Action,fabricatio_core.capabilities.propose.ProposeExtract the essence of article(s) in text format from the paths specified in the task dependencies.
Notes
This action is designed to extract vital information from articles with Markdown format, which is pure text, and which is converted from pdf files using magic-pdf from the MinerU project, see https://github.com/opendatalab/MinerU
- class fabricatio_typst.actions.article.FixArticleEssence(/, **data: Any)
Bases:
fabricatio_core.models.action.ActionFix the article essence based on the bibtex key.
- class fabricatio_typst.actions.article.GenerateArticleProposal(/, **data: Any)
Bases:
fabricatio_core.models.action.Action,fabricatio_core.capabilities.propose.ProposeGenerate an outline for the article based on the extracted essence.
- class fabricatio_typst.actions.article.GenerateInitialOutline(/, **data: Any)
Bases:
fabricatio_core.models.action.Action,fabricatio_capabilities.capabilities.extract.Extract,fabricatio_improve.capabilities.correct.CorrectGenerate the initial article outline based on the article proposal.
- extract_kwargs: fabricatio_core.models.kwargs_types.ValidateKwargs[fabricatio_typst.models.article_outline.ArticleOutline | None] = None
The kwargs to extract the outline.
- class fabricatio_typst.actions.article.ExtractOutlineFromRaw(/, **data: Any)
Bases:
fabricatio_core.models.action.Action,fabricatio_capabilities.capabilities.extract.ExtractExtract the outline from the raw outline.
- class fabricatio_typst.actions.article.FixIntrospectedErrors(/, **data: Any)
Bases:
fabricatio_core.models.action.Action,fabricatio_rule.capabilities.censor.CensorFix introspected errors in the article outline.
- ruleset: fabricatio_rule.models.rule.RuleSet | None = None
The ruleset to use to fix the introspected errors.
- class fabricatio_typst.actions.article.GenerateArticle(/, **data: Any)
Bases:
fabricatio_core.models.action.Action,fabricatio_rule.capabilities.censor.CensorGenerate the article based on the outline.
- ruleset: fabricatio_rule.models.rule.RuleSet | None = None
- class fabricatio_typst.actions.article.LoadArticle(/, **data: Any)
Bases:
fabricatio_core.models.action.ActionLoad the article from the outline and typst code.
- class fabricatio_typst.actions.article.WriteChapterSummary(/, **data: Any)
Bases:
fabricatio_core.models.action.Action,fabricatio_core.capabilities.usages.UseLLMWrite the chapter summary.
- output_key: str = 'summarized_article'
The key under which the summarized article will be stored in the output.
- class fabricatio_typst.actions.article.WriteResearchContentSummary(/, **data: Any)
Bases:
fabricatio_core.models.action.Action,fabricatio_core.capabilities.usages.UseLLMWrite the research content summary.
- output_key: str = 'summarized_article'
The key under which the summarized article will be stored in the output.