PROMISE: A Framework for Developing Complex Conversational Interactions (Technical Report)
This work addresses the problem of managing complex language-based interactions for developers and researchers, but it appears incremental as it builds on existing state machine concepts.
The authors tackled the challenge of controlling language models for complex conversational interactions by introducing PROMISE, a framework that uses state machine modeling for dynamic prompt orchestration, resulting in improved control and efficient use of language models in health information systems.
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. In this technical report we show the benefits of PROMISE in the context of application scenarios within health information systems and demonstrate its ability to handle complex interactions. We also include code examples and present default user interfaces available as part of PROMISE.