Mama Giani 是專門訓練過的對話方塊,可提供超過 90 道正宗秘魯食譜。系統會透過 Firebase Auth 管理使用者驗證,並將所有即時通訊記錄安全地儲存在 Firestore 中,方便使用者隨時取回對話內容。將 Gemini API 整合至專案相當簡單,我們將 AI 設定集中在單一檔案中,定義其屬性和方法。為確保使用者享有安全的體驗,我們已實施內容安全措施,禁止使用者發布露骨的回覆。我們也使用「generateContentStream」來改善使用者互動。系統會透過系統指示參數微調 AI 的行為和回應,確保所有回覆都只著重於烹飪。
採用
Android
Firebase
AdMob
團隊
變更者
OnSuitDevs
寄件者
秘魯
[[["容易理解","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,["# Mama Giani\n\n[More Apps](/competition/vote) \n\nMama Giani\n==========\n\nAssists people in cooking traditional Peruvian recipes. \nVote \nVoted!\nWhat it does\n\nMama Giani is a chatbot specially trained with over 90 authentic Peruvian recipes. User authentication is managed through Firebase Auth, while all chat histories are securely stored in Firestore, allowing users to retrieve their conversations at any time. Integrating the Gemini API into our project was straightforward; we centralized the AI configuration within a single file, defining its attributes and methods. To ensure a safe user experience, we've implemented content safety measures, preventing explicit responses. We also utilize \"generateContentStream\" to enhance user interactions. The AI's behavior and responses are fine-tuned through the system instruction parameter, ensuring that all answers are focused solely on cooking. \nBuilt with\n\n- Android\n- Firebase\n- Admob \nTeam \nBy\n\nOnSuitDevs \nFrom\n\nPeru \n[](/competition/vote)"]]