Conversation AI Bot

AI Prompting 101

You can achieve a lot with simple prompts, but the quality of results depends on how much information you provide it and how well-crafted the prompt is. A simple prompt can make your bot act as a bot, but a bot with a good prompt can vastly increase your human agency, build relationships, and drive up business.

IN THIS ARTICLE

Prompt Elements

Best Prompting Practices

Elements in action

Role; specifying Interaction and Flow

Task; specifying Instructions and Objectives

Guidelines; Guardrails for the bot to abide by

Best Practices in action

Repetition

Examples/Illustrations

Advanced Prompting:

Delimiters

Conversation Context

Writing styles

Tone

Prompt Elements

As we cover more and more examples and applications with prompt engineering, you will notice that certain elements make up a prompt. You can use these elements to instruct the model more effectively to improve the quality of results.

Role; specifying Interaction and Flow persona, directions and context that can steer the AI model to better responses. Defining the role plays a pivotal part in the coherence and relevance of AI responses.

Task; specifying Instructions and Objectives a specific task or instruction you want the model to perform, At the core of any successful prompt lies a well-defined task. Vague or ambiguous prompts might lead to your GPT bot hallucinating, or simply producing an outcome that’s not what you were expecting or which doesn’t meet your expectations.

Guidelines; guardrails for bot to abide by guidelines are more like guardrails, steering the ChatBot toward desired outcomes. Clearly articulate rules to create a roadmap for more precise and tailored responses.

Best Prompting Practices

Repetition Incorporating repetition is key when you want to emphasize specific instructions, guiding the AI to respond more consistently in the desired direction. By reiterating critical parts of the prompt, you ensure the model's outputs align more predictably with your expectations. This approach is particularly effective in reinforcing the bot's adherence to essential guidelines or tasks.

Examples/Illustrations Examples help AI ChatBots understand exactly what and how to do the required task, usually when describing the task is harder than just providing examples. Utilizing examples can significantly enhance an AI ChatBot's comprehension of the task at hand. While offering overarching instructions that span across all scenarios and permutations can be helpful, sometimes it's simpler to provide specific examples. This is particularly useful when aiming for the model to replicate a certain response style, tone, or manner to user inquiries that are not easily described in words.

Iterative Improvement While there are valuable tips and strategies for crafting prompts, developing effective ones for a GPT chatbot is fundamentally an iterative process. So before you set it out in the wild, you should test, tweak and fine-tune it as needed. Experimentation with various phrasings and methods is key to identifying what resonates best with your bot's objectives. Identifying the impact of modifications, such as new instructions or designs, can sometimes be challenging. Initial observations may provide some insights, yet small sample sizes might blur the distinction between genuine improvement and mere chance. To navigate this, use Bot Trial under ConversationAI to test, iterate and enhance your prompts and make the bot behave exactly as you want. The more you repeat this process, the better outcome your chatbot will achieve, and the better you will become at writing effective prompts

Elements in action

Role; specifying Interaction and Flow

Worse:

“You are a salesperson for {{ai.businessname}}, assist customers and help them book appointments. Act like a human. You are talking to {{contact.name}}."

Better:

“You work for {{ai.businessname}}, your goal is to assist customers, qualify them based on the answers they give to the questions you ask from the Script, and if qualified, you h

Turn what you just learned into a plan

Answer 40 quick-fire questions and our AI builds you a personalized growth snapshot for NZ$27 — yours to keep.

Get My NZ$27 Snapshot →