How to begin chat with a question from AI

Hi,

In SfAIAssistView, user enters a prompt and AI responds.  That works as per your examples.  However, I need the AI Agent to first ask a question and then user would respond.


For example, when the page and SfAIAssistView is displayed, the AI Agent will ask, "What can I assist you with today?" then the user will respond.

How can I achieve this?

Thanks

Harshad



2 Replies

HA Harshad December 12, 2025 03:32 PM UTC

Hi,

ExecutePromptAsync method serves the purpose.  You can close the ticket.


Fantastic component!


Thank




LB Lucas Blake August 21, 2026 09:57 AM UTC

Starting a chat with a well-defined question can make AI interactions much more effective. I think ai agents can take this further by understanding the user's intent, maintaining context, and asking relevant follow-up questions instead of simply providing a single response.

The quality of the conversation still depends on how well the system understands context and knows when it needs additional information from the user.




Loader.
Up arrow icon