Generate M&A due diligence PDF reports with LlamaIndex, OpenAI, Pinecone, and S3
Retrieve Parsed Content
Receive Upload Request
Split Uploaded Files + Build Deal ID
Iterate Files for Parsing
noOp
Get Pinecone Index Stats
Upsert Chunks to Pinecone
noOp
Generate Embeddings (Ingest)
noOp
Prepare Parsed Text Document
noOp
Collect Ingested Deal IDs
aggregate
Prepare Analysis Context
Run Due Diligence AI Analysis
openai
OpenAI Chat Model (5-mini)
gpt-5-mini
Parse Structured Analysis JSON
noOp
Retrieve Context from Pinecone
noOp
Generate Embeddings (Retrieval)
noOp
Map Analysis to Report Fields
Render DD Report HTML
noOp
Render PDF from HTML
puppeteer
Convert PDF Base64 to Binary File
noOp
Upload Report PDF to S3
s3
Build Public Report URL
Merge Analysis + Report URL
Is Parsing Job Complete?
Upload File to LlamaParse
api.cloud.llamaindex.ai
Check LlamaParse Job Status
Wait 10s Before Recheck
noOp
Return API Response
noOp
Normalize Parsed Text Payload
Check Deal Namespace Cache
Cache Hit?
Prepare S3 File Metadata
Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.
Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.