We present a prototype of a tool leveraging the synergy of model driven engineering (MDE) and Large Language Models (LLM) for the purpose of software development process automation in the automotive industry. In this approach, the user-provided input is free form textual requirements, which are first translated to Ecore model instance representation using an LLM, which is afterwards checked for consistency using Object Constraint Language (OCL) rules. After successful consistency check, the model instance is fed as input to another LLM for the purpose of code generation. The generated code is evaluated in a simulated environment using CARLA simulator connected to an example centralized vehicle architecture, in an emergency brake scenario.
翻译:我们展示了一个工具原型,该工具利用模型驱动工程(MDE)与大型语言模型(LLM)的协同作用,旨在实现汽车行业软件开发流程的自动化。在该方法中,用户输入为自由形式的文本需求,这些需求首先通过LLM转换为Ecore模型实例表示,随后使用对象约束语言(OCL)规则进行一致性校验。在成功进行一致性校验后,该模型实例被输入到另一个LLM中用于代码生成。生成的代码在模拟环境中进行评估,该环境使用CARLA模拟器连接到一个示例性集中式车辆架构,并设置紧急制动场景。