GPT “Two-Chat” Method
Optimizing ChatGPT Prompts with Allie McCarron and Emily Witucki ??
Navigating the world of AI and prompt engineering can be complex, but with the right strategy, it becomes a breeze. Countless courses exist to help you refine your interactions with large language models (LLMs) in AI, but sometimes getting started causes a state of overwhelm: how do I address the ‘bot? What’s the right question to ask? How can I formulate my ask in such a way that it conveys the correct level of formality and necessary formatting in the output?
The above encompassed only a few of the many questions asked by fellow learners in our recent Clicked AI Quest, where we focused on incorporating these artificial models into our routine of solving problems in Salesforce for everyday clients.?
So how to get started? Here's a simple yet powerful method we used to ensure our prompts to ChatGPT generate the best possible results for ourQuest.
Step 1: Drafting the Initial Prompt
In our applied example for Clicked, we used a blend of five different parameters to help us generate a clear and specific initial request for ChatGPT:
By setting up this initial request properly, the below output provided a basis for a more refined (as well as complex) query for Step 2.
Step 2: Applying the Refined Prompt
So, what happened as a result of this method???
When we used a refined prompt asking ChatGPT to analyze a stakeholder interview transcript, our output became more structured and insightful compared to a general 'analyze this transcript' request. For example, we received a concise summary of the client’s needs, followed by more detailed requirements for each primary topic (marketing, analytics, and CSAT scoring).
In contrast to the vague and scattered responses typical of generic requests (such as “based on this interview transcript, what does the client want?”), this strategy provided a comprehensive analysis that included exactly the specified criteria in Prompt 1:
领英推荐
Not only did we receive data output specific to our requirements, but ChatGPT also yielded distinctly actionable insights from the transcript in a relatively short amount of time compared to someone manually creating notes from a transcript or recording. Granted, we spent some additional time checking over the AI’s work and refining it, but successful engineering via the Two-Prompt Method saved our team several precious hours that could then be spent on other valuable tasks.
Don't be afraid to treat ChatGPT as if you were an English teacher – AI is often prone to hallucinations or retrieving insights that don't match the input. Follow up with questions such as –
It's a machine, and it's constantly learning! Remember that the output is only as good as the input and binding parameters, so AI needs that human element to not only check its work, but also to encourage it to assume accountability for its own.
In addition, if the data output displays significant errors or inaccuracies, tell it so and force a re-computation. In our earlier example for creating APEX, if you plug the generated code into Salesforce and find that it doesn't compile correctly, enter the error directly into ChatGPT if you can't locate the answer yourself.
Why This Works: This two-chat system effectively utilizes ChatGPT's own 'expertise' in understanding and responding to prompts. It's a feedback loop where the AI assists in formulating a question that it can answer more effectively, ensuring clarity and relevance in the responses.
Benefits of the Method:
What other methods or strategies do you use for prompt engineering and output generation with large language models such as ChatGPT?
Until next time, live long and automate.
3x Certified Salesforce Professional Services
2 个月Thank you for sharing such actionable content!
Salesforce Certified Administrator || Salesforce Certified AI Specialist
11 个月Thank you Emily Witucki and Allie McCarron for this valuable information. Having the GPT write your prompt is a genius concept.
AI & Salesforce Specialist | Business & Digital Transformation Strategist | Public Speaker | Mentor | Enterprise Architect | People Connector
1 年Nice write up explanation of your presentation from class! This should help a lot of people understand the process better for sure!
Salesforce Business Analyst of the Cherokee Nation | The Kaliwohi Project | Salesforce Golden Hoodie
1 年Thanks for sharing! AI prompts and iteration go hand in hand. I love getting a rough draft or ideas from AI but we definitely still need users intervention to get things just right.
COO at Skydog Ops
1 年This is awesome Emily Witucki. I strongly believe LLMs like ChatGPT have the answers we need. If we're not getting the answer we're looking for, need to re-evaluate how we're prompting it