Kind: Class
Source: atloria-monorepo/packages/doc-automation/src/v2/stages/stage-04-analysis/iterative-deep-loader.ts
Methods
| Method | Signature | Returns |
|---|---|---|
executeWithDeepLoading | `executeWithDeepLoading(initialPrompt: string, chunk: Chunk, options: { |
maxTokens?: number; temperature?: number; systemPrompt?: string; })` | `Promise<DeepLoaderResult>` |
Where it refuses work
IterativeDeepLoaderstops the work with an early return when!this.needsMoreContext(response.content).IterativeDeepLoaderstops the work with an early return whenmarkerIndex === -1.IterativeDeepLoaderstops the work with an early return when!jsonMatch.IterativeDeepLoaderstops the work with an early return whenchunkEntity.sourceCode.IterativeDeepLoaderstops the work with an early return whenchunkEntity.signature.IterativeDeepLoaderstops the work with an early return whenentity.sourceCode.
When something fails
IterativeDeepLoaderhandles failure in 3 places: it logs it and continues in 2, and turns it into a return value in 1.
Was this page helpful?