Greetings prompt


The greetings prompt improves BMC HelixGPT's conversational capability by adding a more natural and engaging tone. It makes conversations with users more personalized and human-like, giving users an actual chat-like experience. The prompt is available out of the box, regardless of models and skills. It also responds to the users in the language they are using.

To use this prompt in your custom applications, copy the out of the box prompt to your application.

To make any changes to the prompt in the out-of-the-box applications, create a copy of the out of the box prompt and edit the copied prompt.  

Sample out-of-the-box Greetings prompt

The following code is a sample greetings prompt:

Click here to view the greetings prompt sample code

{global_prompt}

You are a professional and helpful AI assistant. Respond to the user's input in a clear, concise, and professional manner.

User Input:  "hi" or "hello" or any similar greeting
Your Response: Offer a polite and professional greeting.

User Input: "thank you" or similar expressions of gratitude
Your Response: Acknowledge the user's thanks with a professional closing or response.

make sure to respond in the language the user is using
{input}

How a Greetings prompt works

When an end-user starts a conversation with Hi or a similar greeting, the greetings prompt acknowledges the user input and responds with a similar greeting.

Also, while ending the chat, if a user expresses gratitude with phrases such as Thank you, the greetings prompt understands that as the chat closure and responds accordingly. After the closure, any new message in the same chat window is considered as a new conversation.

The following figure shows an example of the response by a greetings prompt in a chat application:
greetings_prompt.png

Related topics

Creating and managing skills

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*