gpt-4o-2024-08-06· OpenAI
WildChat-4.8M (AI2)
The mermaid code: " graph TD A[Start] --> B[Input PDF with Engineering Drawings] B -->…
- User
The mermaid code: " graph TD A[Start] --> B[Input PDF with Engineering Drawings] B --> C[Extract Text/Images from PDF] C --> D[Input Extracted Data to Multimodal LLM] D --> E[Generate Initial Process Flow Chart] E --> F{Is Process Flow Chart Correct?}
F -- Yes --> G[Feed Flow Chart and Drawings to LLM for Further Processing] G --> H[Generate Additional Documents] H --> I{Documents: \n Process Special Characteristics,\n PV Plan, Data Collection List,\n New Fixture and Equipment List,\n Process FPY, GR&R List,\n Process Capability Summary List,\n PPK Data List,\n Drawings and BOM,\n PFMEA,\n Control Plan} I --> J[User Validates/Edits Final Output] F -- No --> K[User Edits the Process Flow Chart] K --> L[Resubmit Corrected Flow Chart] L --> G J --> M[Store All Documents for New Production Line] M --> N[(Local Feedback Storage for Retraining)] N --> O[Retrain/Improve LLM with New Data] O --> D J --> P[Optional: RAG System Implementation] P --> Q[Validate/Adjust Output using RAG] Q --> R[Store in Local Feedback Storage] M --> Z[End]" However, \n is not correct in mermaid, modify it
- Assistant
Certainly! The correct way to insert line breaks in Mermaid for labels is to use
<br>instead of\n. Here is your modified Mermaid code:graph TD A[Start] --> B[Input PDF with Engineering Drawings] B --> C[Extract Text/Images from PDF] C --> D[Input Extracted Data to Multimodal LLM] D --> E[Generate Initial Process Flow Chart] E --> F{Is Process Flow Chart Correct?} F -- Yes --> G[Feed Flow Chart and Drawings to LLM for Further Processing] G --> H[Generate Additional Documents] H --> I{Documents: <br> Process Special Characteristics,<br> PV Plan, Data Collection List,<br> New Fixture and Equipment List,<br> Process FPY, GR&R List,<br> Process Capability Summary List,<br> PPK Data List,<br> Drawings and BOM,<br> PFMEA,<br> Control Plan} I --> J[User Validates/Edits Final Output] F -- No --> K[User Edits the Process Flow Chart] K --> L[Resubmit Corrected Flow Chart] L --> G J --> M[Store All Documents for New Production Line] M --> N[(Local Feedback Storage for Retraining)] N --> O[Retrain/Improve LLM with New Data] O --> D J --> P[Optional: RAG System Implementation] P --> Q[Validate/Adjust Output using RAG] Q --> R[Store in Local Feedback Storage] M --> Z[End]