Kind: Function
Source: atloria-monorepo/packages/doc-automation/src/v2/services/business-context-extractor.ts
Parse the AI response into a BusinessContext object. Handles JSON extraction from various response formats (raw, code blocks, wrapped).
Signature
tsfunction parseExtractionResponse(response: string, sources: ContextSource[], rawText: string): BusinessContext
Parameters
| Name | Type |
|---|---|
response | string |
sources | ContextSource[] |
rawText | string |
Returns: BusinessContext
Was this page helpful?