פיתוח של יועץ דתי מבוסס-AI, במיוחד כזה שיכול לחקות אימאם מוסלמי, הוא אתגר קשה במיוחד. המפתח יהיה אחראי מבחינה רוחנית על כך שהמשתמש הוטעה על ידי הזיות. רוב האנשים מוותרים על המשימה ולא נוטלים את הסיכון.
אנחנו משתמשים ב-Gemini כדי לעקוף את האתגר הזה בצורה חכמה. פיתחנו אפליקציית RAG על סמך מערך נתונים של 145,000 שאלות בנושאי משפט אסלאמי, עם תשובות של חוקרים אנושיים מהימנים. Gemini מבצע שלושה דברים בחלקים שונים בצינור עיבוד הנתונים:
1) מרחיב את מאגר השאלות על ידי תרגום שאלות לערבית, כדי שנוכל לאחזר גם הטמעות וקטורים בשפה הערבית 2) מצמצם את היסטוריית הצ'אט לשאלה עצמאית, כדי שנוכל לשמור על ההנחיות קצרות 3) מתאים אישית את התשובות למשתמש על סמך השאלה שלו והנתונים שאוחזרו. יש לנו אמצעי הגנה מחמירים מאוד, כך שכל מה שלא נכלל במערך הנתונים הזה לא נענה בכלל, וכל התשובות מצוטטות ומקושרות למקור, עד לבית הספר לחשיבה (madhab) ולמלומד, בזכות Gemini.
מהיומנים שלנו (Google Cloud Logging), גילינו שרוב המשתמשים שואלים וריאציות של השאלות הנפוצות ביותר שכבר נענו על ידי בני אדם פעמים רבות. זהו מצב אידיאלי, כי Gemini יכול להתמקד ביצירת שיחה על סמך הנתונים הקיימים.
מבוסס על
אינטרנט/Chrome
Google Cloud Platform
קבוצה
על ידי
deen.ai
מאת
בריטניה
[[["התוכן קל להבנה","easyToUnderstand","thumb-up"],["התוכן עזר לי לפתור בעיה","solvedMyProblem","thumb-up"],["סיבה אחרת","otherUp","thumb-up"]],[["חסרים לי מידע או פרטים","missingTheInformationINeed","thumb-down"],["התוכן מורכב מדי או עם יותר מדי שלבים","tooComplicatedTooManySteps","thumb-down"],["התוכן לא עדכני","outOfDate","thumb-down"],["בעיה בתרגום","translationIssue","thumb-down"],["בעיה בדוגמאות/בקוד","samplesCodeIssue","thumb-down"],["סיבה אחרת","otherDown","thumb-down"]],[],[],[],null,["# IslamChat\n\n[More Apps](/competition/vote) \n\nIslamChat\n=========\n\nGet reliable answers on Islamic jurisprudence \nVote \nVoted!\nWhat it does\n\nBuilding an AI religious counsellor, especially one that can emulate a Muslim Imam, has been a notoriously difficult challenge. The developer will be held spiritually responsible for the user being misled by hallucinations. Most abandon the task rather than take the risk. \n\nWe use Gemini to get around this challenge in a clever way. We have built a RAG app over a dataset of 145k questions on Islamic jurisprudence answered by reputable human scholars. Gemini does three things in different parts of the pipeline: \n\n1) Expands the pool of questions by translating questions into Arabic such that we can also retrieve Arabic-language vector embeddings \n2) Condenses the chat history into a standalone question such that we can keep our prompts small \n3) Tailors the responses to the user based on their question and the data retrieved. We have extremely strict guardrails such that anything outside this dataset is not answered at all, and all answers are cited and linked by source down to the school of thought (madhab) and scholar, thanks to Gemini. \n\nFrom our logs (Google Cloud Logging), we have found that most users ask variations of the most common questions that have been answered by humans already many times. This is ideal, as Gemini can focus on making that existing data conversational! \nBuilt with\n\n- Web/Chrome\n- Google Cloud Platform \nTeam \nBy\n\ndeen.ai \nFrom\n\nUK \n[](/competition/vote)"]]