Hello,
I have built a chatbot in appian. I have two objects in my interface. First is a text box, which takes user question. And, the second is a button user clicks to send question to AI bot and get response.
Currently, when text box loses focus, a local variable called isProcessing is turned to true(So the user can be shown that processing is occurring). And, when the button-press returns with AI response, the isProcessing is turned to false, and the AI response is shown to user.
I want to have it so that when the text box loses focus, the local variable isProcessing is turned to true, as well as data being sent to AI bot. And, then when AI bot returns, the isProcessing is turned to false, and result shown.
Is this possible?
Thanks for your time.
Discussion posts and replies are publicly visible
Hi rohity0003 when building a custom chat in Appian we recommend using a!chatField in combination with a!callLanguageModelHere is the documentation for a!chatField - https://docs.appian.com/suite/help/26.5/Chat_Component.htmlHere is the documentation for a!callLanguageModel - https://docs.appian.com/suite/help/26.5/fnc_system_call_language_model.html These two functions will provide you the flexibility you need to build out custom chat interactions.In 26.6 Appian will be releasing a!agentChatField + Chat Agents that can leverage existing design objects as tools to service your users.
If you have any questions please feel free to reach out
-Sam