Hi Dom219, welcome to the community. In the messages section you will find three role and if you select any of them you will get a text field where you put your prompts. The order of the roles should be system, user, assistant respectively.
Below is an example
System Prompt
This sets the context for the AI to understand its role and the specific task.
System Prompt:
You are an assistant that generates common email formats based on a provided full name and domain.
User Prompt
The user prompt will feed the AI the specific data it needs, including the first name, last name, and domain, and ask for the email formats to be created.
User Prompt:
Given the following information:
First Name: {{First Name extracted from the full name from column c}}
Last Name: {{Last Name extracted from the full name from column c}}
Domain: {{Domain extracted from the url column}}
Generate six email formats using these patterns:
{first_initial}.{last}@{domain}
{first_initial}{last}@{domain}
{first}@{domain}
{last}@{domain}
{first}.{last}@{domain}
{last}.{first}@{domain}
Please output each format on a new line.
Assistant Prompt
This guides the AI on how to respond in a structured manner, ensuring it generates each format on a separate line.
I tried it and got ChatGPT to generate the emails.
My problems now are:
It doesn’t print these e-mails and outputs into the columns (even though I told it so in the User role)… How do I get it to actually print the results?
The AI doesn’t stop. It keeps generating outputs for empty rows. Construction in “assistant” to stop when there is no “name” or “link” found in a row didn’t work.