Share
Explore

OpenAI Prompt Engineering Template

Quickly compare results of variations of a prompt, given multiple sets of inputs.

This template will generate permutations, test each prompt on each input, and show you the results.


If you are using OpenAI to classify / tag input data, you can supply the expected result and refer to the “Hit Rate” summarized for each prompt, below, to iterate and improve.

Who is this for?

Prompt engineers, workflow developers, and AI enthusiasts who want to tinker, debug, or fine-tune their LLM AI prompts to get the best working results, quickly and easily.

How to use?

After
Copying this doc
:
Connect an OpenAI account if you’ve not done so, already
Add your prompts to the table
Click Generate and review the results!

Next Steps:
Use the Cross-Doc Pack from Coda to source your own input data
Update the formula in Results.Full Prompt to reference your input data
Add or modify Prompts and
Regenerate
!
Inputs
0

Connected Data

Update Inputs Table With Connected Data

[Insert Coda Cross-Doc tables here, and then edit the formula in the button above to connect it to your data!]

Why input data?

Presumably, you’re injecting some dynamic content into your prompts before sending them to OpenAI. The inputs table demonstrates doing so, here.
You can use the Coda Cross-Doc Pack to source data from your own doc. To do this, open the Connected Data toggle and follow the instructions.


Prompts
0
Version
Template
Hit Rate
Num Attempts
Num As Expected
1
Version: 1
Write a friendly message welcoming {{name}} to the Prompt Engineering template. They are a {{persona}}. Greet them by name.
00
3
0
2
Version: 2
Hi! Please give a warm welcome to {{name}}. They’re the latest {{persona}} to visit the Prompt Engineering template.
00
3
0
There are no rows in this table

What’s with {{...}} ?

This template uses Mustache-style formatting to inject data into the prompt, via the Pack. Edit the formula in Results.Full Prompt to see it in action!
Alternatively, you could use the built in Format(...) formula, or no templating at all, and just paste the variations of your prompt here as-is.


Generate
6
← After filling in the , and adding your , click this button.


Results
0
Input
Prompt
Result
Full Prompt (For Debugging)
John Doe
2
Version: 1
Dear John,
I would like to extend a warm welcome to Prompt Engineering template on behalf of the entire team. We are thrilled to have you join us as a Power User.
We appreciate your interest and enthusiasm towards our template and are confident that you will find it extremely user-friendly and efficient. We have designed this template with great care and attention to detail, with the aim to streamline and optimize engineering workflows.
We hope you find our template useful and enjoy using it as much as we enjoyed creating it. If you have any feedback or suggestions, we would love to hear from you and it will definitely help us improve further.
Once again, welcome to the Prompt Engineering template, John! We look forward to your contributions and collaboration.
Best regards,
[Your Name]
Write a friendly message welcoming John Doe to the Prompt Engineering template. They are a Power User. Greet them by name.
Version: 2
Welcome John Doe! We are thrilled to have you as our latest Power User visiting the Prompt Engineering template. We hope you find our template intuitive and helpful in streamlining your engineering projects. Don't hesitate to reach out to our support team if you have any questions or feedback. Thank you for choosing Prompt Engineering!
Hi! Please give a warm welcome to John Doe. They’re the latest Power User to visit the Prompt Engineering template.
Jane Doe
2
Version: 1
Hello Jane Doe,
Welcome to Prompt Engineering template! We are thrilled to have you as a View-Only User. Our template has been designed to provide a user-friendly and efficient interface to ensure that you have easy access to all the features available. Feel free to navigate through the different features and let us know if you have any questions or need any assistance. We are always here to help.
Thank you for being a part of our team.
Best regards, [Your Name] Support Team at Prompt Engineering template.
Write a friendly message welcoming Jane Doe to the Prompt Engineering template. They are a View-Only User. Greet them by name.
Version: 2
Welcome Jane Doe! We're glad to have you here as a View-Only User on the Prompt Engineering template. We hope you find it useful and informative. If you have any questions or feedback, please don't hesitate to let us know. Enjoy your time exploring the template!
Hi! Please give a warm welcome to Jane Doe. They’re the latest View-Only User to visit the Prompt Engineering template.
Jordan Doe
2
Version: 1
Hi Jordan Doe,
I hope this message finds you well! I just wanted to take a moment to welcome you to the Prompt Engineering template. We are thrilled to have you as a Power-User and are excited to see what you'll create with our template.
Please let us know if you have any questions, concerns, or ideas on how we can improve our template in any way. We're always happy to hear from our users.
Thank you for joining our community, and I look forward to seeing your contributions soon!
Best regards, [Your Name] from the Prompt Engineering team.
Write a friendly message welcoming Jordan Doe to the Prompt Engineering template. They are a Power-User. Greet them by name.
Version: 2
Welcome Jordan Doe! We're thrilled to have you as the newest Power-User on our engineering template. We hope you enjoy your experience and find our tools helpful for your engineering needs. Don't hesitate to reach out if you have any questions or suggestions for improving our template. Happy Engineering!
Hi! Please give a warm welcome to Jordan Doe. They’re the latest Power-User to visit the Prompt Engineering template.
❤️ Good luck out there! ~

Share
 
Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.