Kind: Class
Source: atloria-monorepo/packages/doc-automation/src/v2/utils/stage-result-store.ts
Methods
| Method | Signature | Returns |
|---|---|---|
setParseResult | setParseResult(result: ParseResult) | void |
setChunkResult | setChunkResult(result: ChunkResult) | void |
setFeatureResult | setFeatureResult(result: FeatureResult) | void |
setAnalysisResult | setAnalysisResult(result: AnalysisResult) | void |
setSynthesisResult | setSynthesisResult(result: SynthesisResult) | void |
setStructureResult | setStructureResult(result: StructureResult) | void |
setPhaseResult | setPhaseResult(result: PhaseResult) | void |
setSessionResult | setSessionResult(result: SessionResult) | void |
setPlanResult | setPlanResult(result: PlanResult) | void |
setGenerationResult | setGenerationResult(result: GenerationResult) | void |
setVerificationResult | setVerificationResult(result: VerificationResult) | void |
setMetaDocResult | setMetaDocResult(result: MetaDocumentationResult) | void |
setKnowledgeReferenceStore | setKnowledgeReferenceStore(store: KnowledgeReferenceStore) | void |
getParseResult | getParseResult() | `ParseResult |
getChunkResult | getChunkResult() | `ChunkResult |
getFeatureResult | getFeatureResult() | `FeatureResult |
getAnalysisResult | getAnalysisResult() | `AnalysisResult |
getSynthesisResult | getSynthesisResult() | `SynthesisResult |
getStructureResult | getStructureResult() | `StructureResult |
getPhaseResult | getPhaseResult() | `PhaseResult |
getSessionResult | getSessionResult() | `SessionResult |
getPlanResult | getPlanResult() | `PlanResult |
getGenerationResult | getGenerationResult() | `GenerationResult |
getVerificationResult | getVerificationResult() | `VerificationResult |
getMetaDocResult | getMetaDocResult() | `MetaDocumentationResult |
getKnowledgeReferenceStore | getKnowledgeReferenceStore() | `KnowledgeReferenceStore |
getKnowledgeReference | getKnowledgeReference(category: MetaKnowledgeCategory) | `MetaCategoryReference |
getChunkAnalysis | getChunkAnalysis(chunkId: string) | `ChunkAnalysis |
getChunkAnalyses | getChunkAnalyses() | ChunkAnalysis[] |
getChunksForFeature | getChunksForFeature(featureId: string) | string[] |
getFeaturesForChunk | getFeaturesForChunk(chunkId: string) | string[] |
getChunkById | getChunkById(chunkId: string) | `Chunk |
getFeatureById | getFeatureById(featureId: string) | `UserFeature |
getEntitiesForChunk | getEntitiesForChunk(chunkId: string) | Entity[] |
clear | clear() | void |
getMemoryEstimate | getMemoryEstimate() | number |
Where it refuses work
StageResultStorestops the work with an early return whenobj === undefined || obj === null.
When something fails
StageResultStorehandles failure in 1 place: it turns it into a return value in all 1.
Was this page helpful?