Building user context into chat prompt

Hi There,

I am building a chat bot and trying to set up some user context into the prompt in the Complete Chat with history action. I want to reference a Template column which is made up of multiple user data fields to create a functioning prompt. My question is , what is the best way to integrate this prompt into the API call . Do I simply reference my ChatContext column by selecting the check box in Chat set up,or do I reference the Template column using @ChatContext in the prompt field itself? See both screen shots for different methods. I had been trying both methods simultaneously but I think I may have been overloading my prompt and API call.
Thanks in advance!

HI,

I recommend you watch the following video so that you understand how the OpenAi integration works, once you understand it you will be able to perform the task you want.

Credits: @grumo