FlowiseAI / FlowiseChatEmbed

276 stars 1.17k forks source link

How to add contextual variables to the chatbot? #206

Open LuisFX opened 2 days ago

LuisFX commented 2 days ago

I have specific contextual variables that need to be loaded with the chatbot. Is there a way to init the chat bot passing these vatiables? Such as:

Chatbot.init({ initialContext: { var1 = a, var2 = b, var3 = c }, ... userMessage: { //Or here? initialContext: { var1 = a, var2 = b, var3 = c } }, })