Effective conversations with generative AI models (II)

February 19, 2024

In the previous post we learned how generative AI models, such as GPT, Copilot or Bard, represent a significant advance in natural language processing and understanding.

As we saw, getting accurate and relevant answers from these models depends largely on the way we communicate with them and the prompts we use to explain our needs and guide their response, allowing them to be creative in order to generate quality content.

Having notions about their fundamentals helps to simplify the formulation of questions and allows us to explore and learn about the capabilities of these advanced models. Also to better understand how they work, what they can do, what they cannot do, what is better not to tell them.

Productive conversations with Copilot and ChatGPT

Microsoft Copilot (Bing Chat)

Asking the right questions influences the quality of the response. Microsoft proposes seven recommendations for building effective instructions when conversing with Copilot, including:

  • Explain the desired outcome and the type and format of the expected response, including examples.
  • Provide the model with context and relevant details and explain the goal and purpose of the request.
  • Indicate a tone for the text and the intended audience of the response and request further information or clarification of your response whenever necessary.
  • Maintaining a polite and curious interaction to encourage a dynamic and interactive conversation with the model, providing constructive feedback and acknowledging helpful responses.
Providing context is key to getting accurate responses.

OpenAI's ChatGPT

OpenAI proposes six tactics for building better prompts for ChatGPT, including:

  • It recommends placing instructions at the beginning of the prompt and using markers such as ### or """ to distinguish instructions and context. This makes it easier for the model to accurately understand the requested task.
  • It agrees in emphasizing the need to be specific, descriptive, and detailed in the instruction, both in context, expected result, length, format and style. This helps the model to generate responses that are more aligned with the user's needs.
  • Provide specific examples of the desired output format.
  • It is recommended to start with the Zero-Shot approach, which does not use previous examples,
  • And if necessary move towards the Few-Shot approach, with examples to guide the model
  • It advises avoiding ambiguous descriptions and providing clear, concise instructions to increase the accuracy of responses.
  • It agrees that it is more effective to provide positive and specific instructions on what is expected than to indicate what to avoid.

Conclusion

All recommendations underline the importance of being clear and concise with instructions. It is also important to structure prompts appropriately to improve interaction with generative AI models.

Properly constructing instructions and prompts effectively improves the quality and accuracy of responses.

Applying these rules and recommendations helps to simplify question formulation, examine, and learn about the capabilities of these advanced models, and better understand both what they can and cannot do.

Practicing and mastering prompting not only enriches the user-IA interaction, but also expands its usefulness to the user, the possibilities and more creative and efficient use of generative AI models.

CONTINUING THIS SERIES

Effective conversations with generative AI models (I)
IA & Data
Future Workplace
Effective conversations with generative AI models (I)
February 1, 2024