1. 使用者輸入內容:農民輸入位置和作物,而市政當局和防災團隊只提供位置。 2. 擷取天氣資料:應用程式會查詢 OpenWeather API,擷取指定位置的 30 天詳細天氣預報。 3. AI 輔助洞察:Gemini API 會處理這項天氣資料。Gemini API 會分析天氣預報,並根據使用者的角色產生可行的建議。對於農民而言,這項服務可提供最佳作物、預期產量和農業策略的建議。這項服務可為市政機關和救災團隊提供城市規劃和防災準備的洞察資料。
整合 Gemini API 後,系統提供的建議不僅準確,也與目前和未來的天氣狀況相關,讓使用者能根據可行的資料做出明智的決策。這種精簡方法可將複雜的天氣資料轉換為實用的實地指引,縮小資料與有效決策之間的差距。
採用
網頁/Chrome
團隊
變更者
Aaron & Adam
寄件者
烏干達
[[["容易理解","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,["# MotherEarth\n\n[More Apps](/competition/vote) \n\nMotherEarth\n===========\n\nOur web app transforms complex weather data into actionable insights. \nVote \nVoted!\nWhat it does\n\nOur web application revolutionizes decision-making for farmers, city authorities, and disaster preparedness teams by providing tailored, location-specific insights. When users select their role---'Farmers,' 'City Authorities,' or 'Disaster Preparedness Authorities'---the application prompts them for relevant data. For farmers, this includes location and crop types; for others, only location is needed. \n\nHere's how it works: \n\n1. User Input: Farmers enter their location and crops, while city authorities and disaster preparedness teams provide only their location. \n2. Weather Data Retrieval: The application queries the OpenWeather API to fetch a detailed 30-day weather forecast for the specified location. \n3. AI-Driven Insights: This weather data is then processed by the Gemini API. The Gemini API analyzes the weather forecast and generates actionable recommendations tailored to the user's role. For farmers, it provides advice on optimal crops, expected yields, and agricultural strategies. For city authorities and disaster teams, it offers insights for urban planning and disaster preparedness. \n\nThe integration of the Gemini API ensures that the advice provided is not only accurate but also relevant to current and future weather conditions, empowering users with actionable data to make well-informed decisions. This streamlined approach transforms complex weather data into practical, real-world guidance, bridging the gap between data and effective decision-making. \nBuilt with\n\n- Web/Chrome \nTeam \nBy\n\nAaron \\& Adam \nFrom\n\nUganda \n[](/competition/vote)"]]