Kind: Class
Source: atloria-monorepo/packages/doc-automation/src/v2/stages/stage-10-generation/knowledge-collector.ts
Methods
| Method | Signature | Returns |
|---|---|---|
collect | collect(doc: GeneratedDocument, meta: DocClassificationMeta) | void |
getReference | getReference(category: MetaKnowledgeCategory) | MetaCategoryReference |
getAllReferences | getAllReferences() | KnowledgeReferenceStore |
finalize | finalize() | KnowledgeReferenceStore |
getStats | getStats() | `{ |
totalDocsProcessed: number; totalDocsClassified: number; classificationFailures: number;
}` |
Where it refuses work
KnowledgeCollectorstops the work with an early return when!entries.
When something fails
KnowledgeCollectorhandles failure in 1 place: it turns it into a return value in all 1.
Was this page helpful?