Skip to main content

Dear Colleagues,

I am seeking to create a GenAI pipeline with Copilot and Lucid, to capture and document information from meetings (TEAMs, etc.) and extract pertinant information for BPMN, SEQD, and ERD diagrams using Lucid GenAI (copilot) interface.

As an example, using a structured prompt, it created the following (below).
With Mistral, etc. some LLM/transformer environments offer both a user and system prompt. The system prompt allows both setting parameters (ie: temperature, etc.) for the whole session, and also prompt engineering to fine tune the LLM. This can then affect all session instances for the current user. Azure AI studio further allows you to create custom “copilots” for deployment to a user community, that will be specialized for their particular needs (like NADCAP, IEEE, ASME, ISO, etc. standards).
Is there a system prompt or other means to fine-tune the Lucid/Copilot implementation to accomplish more specialization?
Thank you
 

 

@john.a.lopez considering that the AI trend is a relatively new phenomenon, system prompts are not a feature of Lucid Software currently. However, feel free to move this post to the Product feedback section. This way you can receive votes from others who like this idea. If it gets enough votes, Lucid software developers will consider it for a new release.


Hi ​@aparrish  - thanks for the reply.

Frankly i beg to differ. 

 Large language model | Definition, History, & Facts | Britannica

Other forms of “AI” like KB and RB, decision trees, CBR, and varied application of heuristic models, etc. have been around for decades. LISP was invented in the 1950s followed by Prolog. I was doing LISP programs in the latter 1980s for parametric CAD automation integrated expert systems.

Per your recommendation please escalate to product development team for consideration.

Thank you.

 


Hi ​@john.a.lopez, thank you for posting your question in the Lucid Community! Thank you ​@aparrish for your insights here!

I am checking with our internal team on this. Would you mind answering a few clarifying questions so my team can best support you?

  1. Are you hoping to have more control over the configuration of the officially supported Copilot integration, or are you describing deeper configuration abilities in general for the AI-based diagram generation tool?
  2. Are you hoping for Lucid to generate objects on the canvas based on information it pulls from other sources?
  3. Are you hoping to grab a transcript from meetings and have Lucid make a diagram of what was discussed?

Please let me know if I am misunderstanding what you are desiring to see in this experience. 


Hi ​@Ambar D  - thanks for your query. Per your questions:

  1. control over the Copilot integration in terms of a “system prompt” for tuning and specialization would be very helpfull. That would take it a step past “prompt engineering”. “Deeper configuration” - would be very helpful, even the ability to connect a custom Copilot in the backend that has been tuned to a particular specialization, such as “instrumentation engineering standards”.
  2. Sources definately should be considered. Source are of several kinds:
    • Standards organization like ISO, ASME, IEEE, etc. have deep domain related knowledge about particular topics. This should influence what sources are considered primary by the LLM as in a hybrid RAG model
    • Diagram type related standards orgs, such as The Object Group, should influence TOGAF specific diagrams https://www.opengroup.org/togaf
  3. A GenAI pipeline construct (API) would be quite amazing, but even a manual “integration” could work. The textual meeting transcript should contain Copilot recognized keywords like “process” or “task” which the facilitator or attendees would use to flag a particular content to follow. Context statements need be made to differentiate a “task” for a process vs. one for a project plan. Alignment of keywords to be used in the meeting, and those recognized by the Lucid/Copilot integration should be coordinated so that a meeting summary containing a keyword like “task” would be clearly recognized by Lucid/Copilot as a BPMN process task object, etc.

Please note my other posting:
 

Thank you


Hi John, thanks for the feedback! I’m a software engineer at Lucid working in this area. We don’t currently support custom model parameters and prompts, or source retrieval via URL in our diagram generation tool. However, you could get some of these features by using our custom GPT at https://chatgpt.com/g/g-bHwQjRxeg-lucid. While not exactly what you’re looking for, I think you would be able to replicate some of the features you are asking about. 


@Jacob J  - thanks for the heads up. I gave it a try:
 

bpmnDiagram
startEvent(start) --> task1a"Initial Design: Create P&ID with assigned tags from the tag register"]
task1 --> gateway1w"Review and Approval"]
gateway1 --> task2a"Cross-check the P&ID with the tag register for consistency"]
gateway1 --> task3a"Conduct team reviews for process accuracy and compliance"]
task2 --> subprocess1e"Revision Control"]
task3 --> subprocess1
subprocess1 --> task4a"Implement a document control system for P&ID revisions"]
task4 --> task5a"Assign revision numbers or letters to track changes"]
task5 --> gateway2w"Change Management"]
gateway2 --> task6a"Update P&IDs for modifications such as new equipment or process changes"]
task6 --> task7a"Communicate updates to tag register, ERP, and asset management systems"]
task7 --> task8a"Validate P&IDs with field verification during commissioning and operations"]
task8 --> endEvent(end)

bpmnDiagram is not a graph type that Lucid or Mermaid integration understands. I also went directly to Mermaid, pasted the above in the editor, and it errored. I changed:
bpmnDiagram

to

graph

and it created a vertical flowchart (sort of). so still not quite what i am driving for…

Thanks


<alt> question: is there a Python API to Lucid now? Via Google CoLabs? Could be another way to “skin the cat” ...

Thanks


@john.a.lopez we have a REST API that you could use: https://lucid.readme.io/reference/createorcopyorimportdocument. The “Standard Import” subsection on that page has some good links to get you started. In particular, one of the sample applications linked there (Sample Lucid REST Applications) is a bpmn converter. We don’t currently make AI-powered diagram generation available via our REST API, but if you have the bpmn diagram already then this could be a good path forward. 


@Jacob J  - thanks for the info, will review


Reply