AI Defense Workshop: Master Core AI Skills & Uncover Expert Techniques in 2 Hours
About Lesson

Ask Me Questions Pattern

1. Flipped Interaction Pattern

  • Pattern Explanation: The “Ask Me Questions” pattern instructs the language model to follow a specific process when asked a question. It involves generating additional questions to gather more information and combining the answers to these questions to provide a more accurate response.
  • Core Prompt Components:
    1. When asked a question, follow these rules:
    2. Generate additional questions to answer it more accurately.
    3. Combine the answers to produce the final answer.

2. Example Formats

  • Basic Format: “When you are asked a question, follow these rules. Generate a number of additional questions that would help you more accurately answer the question. Combine the answers to the individual questions to produce the final answer to the overall question.”
  • Tailored for Context: You can adapt the pattern for specific contexts. For example, “When asked about [X], generate questions about [Y] details that would help. Combine the answers to these questions to produce a more accurate [X].”

3. Practical Examples

  • Example 1 (Basic): “Then, before answering, I want you to ask me questions about that prompt until you feel that you have enough information to give me the best output.”
  • Example 2 (Quantified): “Then, ask me 25 questions that you think will help you output the best result for the prompt I have given you.”

In these examples, the “Ask Me Questions” pattern guides the language model to seek clarification and additional information by generating relevant questions before providing a response. It enhances the accuracy and completeness of the answers.

نمط ألاستجواب “اسألني أسئلة”

1. نمط التفاعل المعكوس

  • تفسير النمط: نمط “اسألني أسئلة” يوجه نموذج اللغة لاتباع عملية محددة عند طرح سؤال. يتضمن هذا النمط توليد أسئلة إضافية لجمع المزيد من المعلومات ودمج الإجابات على هذه الأسئلة لتقديم استجابة أكثر دقة.
  • مكونات التعليمات الأساسية:
    1. عند طرح سؤال عليك، اتبع هذه القواعد:
    2. توليد أسئلة إضافية للإجابة بشكل أكثر دقة.
    3. دمج الإجابات لإنتاج الإجابة النهائية.

2. صيغ الأمثلة

  • صيغة أساسية: “عند طرح سؤال عليك، اتبع هذه القواعد. توليد عدد من الأسئلة الإضافية التي ستساعدك على الإجابة على السؤال بدقة أكبر. دمج الإجابات على الأسئلة الفردية لإنتاج الإجابة النهائية على السؤال بشكل عام.”
  • مخصصة للسياق: يمكنك تكييف النمط للسياقات الخاصة. على سبيل المثال، “عند سؤالك عن [X]، توليد أسئلة حول تفاصيل [Y] التي ستساعد. دمج الإجابات على هذه الأسئلة لإنتاج إجابة أكثر دقة لـ [X].”

3. أمثلة عملية

  • مثال 1 (أساسي): “ثم، قبل الإجابة، أريدك أن تسألني أسئلة حول ذلك الموضوع حتى تشعر بأن لديك ما يكفي من المعلومات لتقديم أفضل إخراج.”
  • مثال 2 (كمي): “ثم، اسألني 25 سؤالًا تعتقد أنها ستساعدك في تقديم أفضل نتيجة للموضوع الذي قدمته لك.”

في هذه الأمثلة، يوجه نمط “اسألني أسئلة” نموذج اللغة للبحث عن التوضيحات والمعلومات الإضافية من خلال توليد أسئلة ذات صلة قبل تقديم استجابة. هذا يعزز دقة وكمال الإجابات

Join the conversation