Welcome to Microsoft Q&A Forum, thank you for posting your query here!
To set up a welcome message in the AI Studio prompt flow interface, you can use the Prompt tool with below templating. First, create or open a flow and add the Prompt tool. You can then define the welcome message using below syntax to dynamically greet the user. For example:
Welcome to {{ website_name }}!
{% if user_name %}
Hello, {{ user_name }}!
{% else %}
Hello there!
{% endif %}
Please select an option from the menu below:
1. View your account
2. Update personal information
3. Browse available products
4. Contact customer support
This template checks if the user_name
variable is available and greets the user by name, or uses a generic greeting if not. After preparing the prompt, enter the necessary input parameters and run the flow. This setup will show a personalized welcome message when the user opens the chat window, even before any input.
kindly refer the below document: https://learn.microsoft.com/en-us/azure/ai-studio/how-to/prompt-flow-tools/prompt-tool?source=recommendations
Thank You.