Skip to content

Latest commit

 

History

History
11 lines (6 loc) · 871 Bytes

File metadata and controls

11 lines (6 loc) · 871 Bytes

PIGenerator

This project uses a Language Model (LLM) to generate Pipe and Instrumentation Diagrams (P&ID) based on user input. The workflow involves retrieving relevant details, generating prompts, and handling retries for errors. Following diagram shows how this PI diagram generation process works with LLM.

PI diagram generation process

The project also includes a Retrieval-Augmented Generation (RAG) process to enhance the context data retrieval for generating P&ID diagrams. The RAG process involves using a vector database to retrieve relevant context data based on user input, which is then used to generate more accurate and relevant P&ID diagrams. To improve the accuracy and modify the specs can add more data to resource folder (src/rag_system/resources).

RAG contex data retrival process