Skip to content

GettingStartedGenerator

reference
1 min readUpdated

Kind: Class

Source: atloria-monorepo/packages/doc-automation/src/v2/stages/stage-14-meta/generators/getting-started.generator.ts

Methods

MethodSignatureReturns
generategenerate(input: MetaDocumentationInput, templates: FixedDocTemplate[], reference: MetaCategoryReference)`Promise<{
documents: GeneratedDocument[];
promptTokens: number;
completionTokens: number;

}>` |

Where it refuses work

  • GettingStartedGenerator stops the work with an early return when templates && templates.length > 0.

When something fails

  • GettingStartedGenerator handles failure in 2 places: it logs it and continues in all 2.

Was this page helpful?

Download as PDF