יסודות הנדסת הפרומפט: בינה מלאכותית- 101

ציון כללי

ניתן להשיג הרבה עם פרומפטים פשוטים, אך איכות התוצאות תלויה בכמות המידע שאתם מספקים ובאיכות הניסוח של הקלט. פרומפט פשוט יכול לגרום לבוט שלכם להתנהג כבוט, אך בוט עם הנחיה טובה יכול להגדיל משמעותית את היכולת האנושית שלכם, לבנות מערכות יחסים, ולהגדיל את העסק.

🚀 קחו את העסק שלכם לשלב הבא עם יסודות הנדסת הפרומפט: בינה מלאכותית- 101

השאירו פרטים וקבלו ייעוץ חינם עבור שירותי יסודות הנדסת הפרומפט: בינה מלאכותית- 101!

infographic 1
infographic 1

תוכן המאמר

  • אלמנטים בפרומפט
  • שיטות עבודה מומלצות להנדסת הנחיות
  • אלמנטים בפעולה
    • תפקיד; הגדרת אינטראקציה וזרימה
    • משימה; הגדרת הוראות ויעדים
    • קווים מנחים; מגבלות שהבוט צריך לפעול לפיהן
  • שיטות מומלצות בפעולה
    • חזרה
    • דוגמאות/המחשות
  • הנדסת פרומפט מתקדמת:
    • תוחמים (Delimiters)
    • הקשר שיחה
    • סגנונות כתיבה
    • טון

אלמנטים בפרומפט

ככל שנסקור יותר דוגמאות ויישומים בהנדסת פרומפטים, תבחינו שאלמנטים מסוימים מרכיבים הנחיה יעילה. ניתן להשתמש באלמנטים אלה כדי להנחות את המודל ביעילות רבה יותר ולשפר את איכות התוצאות. למידע נוסף על אלמנטי פרומפט יעילים.

תפקיד; הגדרת אינטראקציה וזרימה – פרסונה, הוראות והקשר שיכולים לכוון את מודל ה-AI לתגובות טובות יותר. הגדרת התפקיד משחקת חלק מכריע בקוהרנטיות ורלוונטיות של תגובות ה-AI.

משימה; הגדרת הוראות ויעדים – משימה או הוראה ספציפית שברצונכם שהמודל יבצע. בליבה של כל קלט מוצלח נמצאת משימה מוגדרת היטב. הנחיות עמומות או דו-משמעיות עלולות להוביל לכך שה-צ'ט ה GPT שלכם יפנטז, או פשוט יפיק תוצאה שאינה מה שציפיתם או שאינה עומדת בציפיות שלכם.

קווים מנחים; מגבלות שהבוט צריך לפעול לפיהן – קווים מנחים הם יותר כמו מעקות בטיחות, המכוונים את הצ'אטבוט לתוצאות הרצויות. הבהירו כללים כדי ליצור מפת דרכים לתגובות מדויקות ומותאמות יותר. מדריך להגדרת קווים מנחים אפקטיביים.

infographic 3 1
infographic 3 1

שיטות עבודה מומלצות להנדסת הנחיות

חזרה – שילוב חזרה הוא מפתח כאשר ברצונכם להדגיש הוראות ספציפיות, ולהנחות את ה-AI להגיב בעקביות רבה יותר בכיוון הרצוי. על ידי חזרה על חלקים קריטיים של הפרומפט, אתם מבטיחים שפלט המודל יתאים באופן צפוי יותר לציפיות שלכם. גישה זו יעילה במיוחד בחיזוק ההיצמדות של הבוט להנחיות או משימות חיוניות.

דוגמאות/המחשות – דוגמאות עוזרות לצ'אטבוטים של AI להבין בדיוק מה ואיך לבצע את המשימה הנדרשת, בדרך כלל כאשר תיאור המשימה קשה יותר מאשר פשוט לספק דוגמאות. שימוש בדוגמאות יכול לשפר משמעותית את הבנת המשימה של צ'אטבוט ה-AI. בעוד שמתן הוראות כלליות שחלות על כל התרחישים והווריאציות יכול להיות מועיל, לפעמים פשוט יותר לספק דוגמאות ספציפיות. זה שימושי במיוחד כאשר מכוונים למודל לשכפל סגנון תגובה, טון או אופן מסוים לשאילתות משתמש שקשה לתאר במילים. משאב מקצועי לשימוש בדוגמאות בפרומפט.

שיפור איטרטיבי – בעוד שיש טיפים ואסטרטגיות יקרות לניסוח קלטים, פיתוח פרומפטים יעילים עבור צ'אטבוט GPT הוא תהליך איטרטיבי באופן יסודי. אז לפני שתשחררו אותו לעולם, עליכם לבדוק, לכוונן ולשפר אותו לפי הצורך. ניסוי עם ניסוחים ושיטות שונות הוא מפתח לזיהוי מה מתאים ביותר ליעדי הבוט שלכם. זיהוי ההשפעה של שינויים, כגון הוראות או עיצובים חדשים, יכול להיות מאתגר לפעמים. תצפיות ראשוניות עשויות לספק תובנות מסוימות, אך גדלי מדגם קטנים עלולים לטשטש את ההבחנה בין שיפור אמיתי לבין מקריות. כדי לנווט בכך, השתמשו ב-Bot Trial תחת ConversationAI כדי לבדוק, לשפר ולחזק את ההנחיות שלכם ולגרום לבוט להתנהג בדיוק כפי שאתם רוצים. ככל שתחזרו על תהליך זה, התוצאה של הצ'אטבוט שלכם תהיה טובה יותר, ואתם תהיו טובים יותר בכתיבת פרומפטים יעילים.

אלמנטים בפעולה

תפקיד; הגדרת אינטראקציה וזרימה

פחות טוב: "You are a salesperson for {{ai.business_name}}, assist customers and help them book appointments. Act like a human. You are talking to {{contact.name}}."

יותר טוב: "- You work for {{ai.business_name}}, your goal is to assist customers, qualify them based on the answers they give to the questions you ask from the Script, and if qualified, you help them book appointments.

  • Always maintain the persona of a human assistant. Do not disclose, suggest, or hint at being an AI assistant unless asked. Use colloquial language and phrases like "Great," "Got it," or "Understood" instead of formal apologies or offers of help.
  • Acknowledge the user's input by repeating it back for clarity once at the start. After that, use varied affirmations or transitions without repeating the user's exact words.
  • Maintain a professional, yet casual demeanor. Use periods instead of exclamation points to moderate the tone.
  • You are talking to {{contact.name}}. Use the customer's first name only at the beginning and end of the conversation to avoid redundancy."

משימה; הגדרת הוראות ויעדים

פחות טוב: "You are required to qualify customers by asking them questions then asking them to book an appointment. If they are not interested, just collect their details."

יותר טוב: "Script Flow:

  • Start by asking something like "What kind of marketing solution are you looking for?". If not interested, politely ask for their email and offer to stay in touch for future opportunities.
  • If they have a positive response, ask "What telephony provider do you use for your marketing agency rn?".
  • Once the customer has responded positively to all the asked questions through the conversation, only then propose scheduling a call with the team to discuss further.
  • Before suggesting a booking, ask for their email address for booking the appointment if you do not already have it.
  • Then help them book a call. Once booked, thank them and end the conversation on a positive note; looking forward to the scheduled call."

קווים מנחים; מגבלות שהבוט צריך לפעול לפיהן

(ניתן לציין אלה גם תחת תפקיד והוראות)

פחות טוב: "Reply concisely. Ask all the questions in script and then have them book an appointment."

יותר טוב: "- Keep answers short, direct, and within a 20-word limit.

  • Always wait for the user's response before asking the next question from the Script.
  • Only have them book an appointment if they respond positively to the Script questions."

שיטות מומלצות בפעולה

חזרה

מכיוון שאנו רוצים שהבוט שלנו יעקוב אחר תסריט המכירות שהכנו, נחזור/נתייחס אליו מספר פעמים. מחקר על אפקטיביות החזרה בהנחיות.

בתפקיד, יש לנו: "- You work for {{ai.business_name}}, your goal is to assist customers, qualify them on the basis of the answers they give to the questions you ask from the Script, and if qualified, you help them book an appointment."

בקווים המנחים יש לנו: "- Always wait for the user's response before asking the next question from the Script.

  • Only have them book an appointment if they respond positively to the Script questions."

דוגמאות/המחשות

בתפקיד, יש לנו: "- Always maintain the persona of a human assistant. Do not disclose, suggest, or hint at being an AI assistant unless asked. Use colloquial language and phrases like "Great," "Got it," or "Understood" instead of formal apologies or offers of help."

ניתן גם לכתוב זאת כך: "EXAMPLES OF WHAT TO SAY AND WHAT NOT TO SAY:

  • Avoid: I didn't understand your response.
  • Use: Wait, what did you say? Sorry, could you repeat that?
  • Avoid: I apologize for the confusion.
  • Use: Sorry if that didn't make sense.
  • Avoid: I understand your concern but I assure you our team is made up of highly trained professionals.
  • Use: Yeah, it makes sense why you'd be concerned but trust me, our team is really good at what we do."

הנדסת פרומפט מתקדמת:

מכיוון שאנו רוצים שהבוט שלנו יעקוב אחר תסריט המכירות שהכנו, נחזור/נתייחס אליו מספר פעמים. מדריך מתקדם להנדסת פרומפט.

מידע סטטי

ניתן להוסיף הקשר או מידע על העסק שלכם, הצעות ושירותים בפרומפט עצמו אם ברצונכם שלבוט תהיה גישה אליהם כל הזמן. מומלץ לשמור על ההקשר מתחת ל-100-200 מילים, שכן כאשר גודל ההקשר גדל ביחס לשאר ההנחיה, חשיבות הפרומפט פוחתת עבור צ'אטבוט ה-AI, כיוון שיותר ממנה עוסק כעת בהקשר ולא בהוראות הקלט.

תוחמים (Delimiters)

אלה הם תווים מיוחדים שתשתמשו בהם כדי להדגיש או לתחום חלקי טקסט מסוימים (למשל הקשר) בהנחיה מהוראות אחרות בפרומפט. מידע נוסף על שימוש בתוחמים.

להדגשה ניתן להשתמש ב: #, >,

לתיחום, ניתן להשתמש ב: """, "', <> </>

דוגמה: נניח שברצונכם להוסיף מידע על ההצעה שלכם בהנחיה;

פחות טוב: "Offer: Elevate Your Business with Cutting-Edge AI Chatbots Transform the way you engage with your audience with our state-of-the-art AI chatbots, trusted by leading industry giants. Unlock the potential to skyrocket your lead generation, turbocharge sales, and redefine customer support, all while streamlining your operations. Imagine capturing not just any leads, but premium, one-click email opt-ins that elevate your marketing game. Dream of automating your sales process to generate revenue around the clock. Our technology refines targeting, significantly reducing lead acquisition costs and boosting conversion rates. But why stop there? Establish yourself as an authoritative figure in your niche by leveraging the unmatched efficiency and effectiveness of our bots. Whether it's your main venture or a lucrative side project, diving into the world of AI Chatbots opens up a realm of possibilities. Don't miss out on this trend—save time, dominate your market, and step into the future now."

יותר טוב: "# Offer: <offer> Elevate Your Business with Cutting-Edge AI Chatbots Transform the way you engage with your audience with our state-of-the-art AI chatbots, trusted by leading industry giants. Unlock the potential to skyrocket your lead generation, turbocharge sales, and redefine customer support, all while streamlining your operations. Imagine capturing not just any leads, but premium, one-click email opt-ins that elevate your marketing game. Dream of automating your sales process to generate revenue around the clock. Our technology refines targeting, significantly reducing lead acquisition costs and boosting conversion rates. But why stop there? Establish yourself as an authoritative figure in your niche by leveraging the unmatched efficiency and effectiveness of our bots. Whether it's your main venture or a lucrative side project, diving into the world of AI chatbots opens up a realm of possibilities. Don't miss out on this trend—save time, dominate your market, and step into the future now. </offer> "

הקשר שיחה

במקרים ספציפיים, ניתן גם להוסיף הקשר שיחה בקלט, המתאר מדוע ובאיזה מצב הבוט מדבר עם לקוח. ניתן להתחיל בתיאור הסצנה עבור השיחה; זה יאפשר לצ'אטבוט להבין את ההקשר ולספק תגובות מדויקות יותר. פשוט חשבו בדיוק על מה שאתם רוצים ש-GPT ייצור או ישיג, וספקו לו את הפרומפט שסביר שיוביל לשם. מאמר על חשיבות הקשר בפרומפטים.

דוגמה, ניתן לפתוח את ההנחיה על ידי אמירה לצ'אטבוט מדוע מישהו מתקשר איתו ומה לעשות במצב:

פחות טוב: "You are required to take on the role of a customer support chatbot"

יותר טוב: "a client is contacting us because something went wrong" — and then telling it its role in the situation — "you must act as a friendly agent in charge of collecting a clear idea of what went wrong with the order, you need to ask them."

סגנונות כתיבה

אנליטי, שיחתי, יצירתי, תיאורי, אינפורמטיבי, הדרכתי, משכנע, סאטירי, טכני וכו'.

טון

סמכותי, קליני, בטוח, אמפתי, פורמלי, ידידותי, הומוריסטי, לא פורמלי, אופטימי, משחקי, סרקסטי, רציני, אוהד, חם וכו'.

כתיבת תגובה

האימייל לא יוצג באתר. שדות החובה מסומנים *