Extracts and processes files from compute response data without downloading them. Returns an array of ProcessedFile objects that can be used programmatically.
An array of FileData items from the compute response.
Optional additional files to include (fetched from URLs).
A Promise resolving to an array of ProcessedFile objects.
Will throw an error if file processing fails.
const files = await extractFilesFromComputeResponse(fileData);files.forEach(file => { console.log(`File: ${file.fileName}, Size: ${file.content.length}`);}); Copy
const files = await extractFilesFromComputeResponse(fileData);files.forEach(file => { console.log(`File: ${file.fileName}, Size: ${file.content.length}`);});
Extracts and processes files from compute response data without downloading them. Returns an array of ProcessedFile objects that can be used programmatically.