Provide Context to Chat

I am wanting to have chat take users through a survey and in some circumstances ask follow-up questions. If I provide the list of questions and instructions in a display block prior to going to chat, this works fine. However, I don’t want to display the list of questions and these details to the user at the beginning, I want the chat to just walk them through the survey.

So I need to be able to give the chat context, without displaying that to the user.

It seems I can do this using RAG - but that seems to require static data sources.

What I really want to be able to do is just give the chat a “system prompt” that I can pass a variable into with its instructions, before it executes.

Is there a workaround to achieve this, and is there a reason this is not a design feature of the chat block? It would seem it is not an uncommon scenario to want to give a chat instructions on how it should behave, separate from the overall workflow system prompt.

Thanks for any thoughts on this.

Royden

In fact, I have found a solve for this. Dynamic content can be fed into the system prompt. By instructing the chat in more detail from the system prompt I can achieve what I’m after. This can be closed.