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能够在分层嵌套的状态与转换间实现模型驱动的动态提示编排。这增强了对语言模型行为的控制,从而实现了对其有效且高效的利用。我们展示了PROMISE在健康信息系统应用场景中的优势,并证明了其处理复杂交互的能力。