Langchain chatbot for mixed-initiative dialogues

I am trying to build a chatbot with diverse dialogue types, mixed-initiative, in langchain framework. Default functionality is just user: question → ai:answer. Most streamlit + langchain code follow this default scenario. How can I use different prompt/chant at each utterance processing?

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.