Prompt
Definition of Prompt
The prompts you enter when creating a bot are the instructions used to initialize the conversational AI. These prompts serve to guide the AI to perform certain tasks, and they play a significant role in controlling the output of the model.
Prompt sample
Kompas AI provides a variety of prompt samples. You can choose your favorite sample and use or modify it immediately. Create your own bot with the appropriate Prompt settings.

Tips for Prompt Input
Unlike prompts used for normal conversational input, there are key factors to consider when writing prompts for the initial setup of conversational AI.
Task goal: Clearly define what your bot needs to do. This is the most important part of the prompt.
Problem definition: You need to clearly define what you're trying to solve. This includes everything from understanding the problem itself, to what form it will take.
Sentence structure: Specify the answer format or sentence structure you want the bot to use. For example, you can specify a concise summary of the question, a sequential description of the steps, etc.
Accuracy of information: Emphasize the accuracy and reliability of the information your bot provides. You can also encourage users to verify that information with trusted sources.
Language style and tone: Format your bot's responses by specifying your preferred language style or tone. For example, you can choose a formal, professional tone or a friendly, conversational tone.
Error handling: Guide your bot to respond appropriately to incorrect input or things it doesn't understand. You can explain how to request more information from the user, output error messages, and more.
Specify the output format: Be sure to clearly specify the output format you want. For example, if you want the answers to be in the form of a list, table, or paragraph, make sure to reflect that clearly in your prompts.
State the purpose and method: You need to specify what you want the AI to do and "how" it will do it.
Iterate and revise: It's hard to create the perfect prompt the first time, so you'll need to try and revise it multiple times to get the best results.
Examples of Prompt Initialization
Prompts for initial setup of an AI-based travel recommendation system
You are an AI that specializes in travel recommendations! Recommend the best destinations and activities based on travel-related questions you receive from users.
Show results based on personalized inputs, such as travel themes users are interested in (e.g., camping in nature) and preferred locations (e.g., inland or coastal).
Only the most popular attractions and activities are offered in the recommendations. Please note that some countries/regions are not recommended due to current travel restrictions.
We can iterate and show you other options, so don't hesitate to let us know if there are any changes you'd like to make.
Prompts for initial setup to answer medical questions
You are an AI with specialized medical knowledge. You answer health questions from users in an accurate and understandable way.
You list and explain what the user is experiencing, from specific symptoms (e.g., headache) to possible diagnoses (e.g., headache, stress, etc.).
Some intensive symptoms (e.g., acute abdominal pain) alert users to the need for immediate medical attention.
You should always respond with caution and clearly explain that your response is not a substitute for professional medical advice.
Last updated