The advent of increasingly powerful language models has raised expectations for language-based interactions. However, controlling these models is a challenge, emphasizing the need to be able to investigate the feasibility and value of their application. We present PROMISE, a framework that facilitates the development of complex language-based interactions with information systems. Its use of state machine modeling concepts enables model-driven, dynamic prompt orchestration across hierarchically nested states and transitions. This improves the control of the behavior of language models and thus enables their effective and efficient use. We show the benefits of PROMISE in the context of application scenarios within health information systems and demonstrate its ability to handle complex interactions.
翻译:日益强大的语言模型的出现提高了人们对基于语言交互的期望。然而,控制这些模型是一项挑战,这强调了探究其应用可行性和价值的必要性。我们提出PROMISE框架,该框架促进了与信息系统之间复杂语言交互的构建。其采用状态机建模概念,能够跨分层嵌套的状态与转移实现模型驱动的动态提示编排。这增强了对语言模型行为的控制能力,从而支持其高效且有效的应用。我们在健康信息系统应用场景中展示了PROMISE的优势,并证明了其处理复杂交互的能力。