You are browsing as a guest. Sign up (or log in) to start making projects!

1h 2m 32s logged

Solved the AI backend problem in EthioFarm AI. The chat previously called
an external AI API directly from the browser, which isn’t realistic to
deploy without a backend server and paid API key. I rebuilt it as a
self-contained rule-based assistant instead: it detects what a farmer is
asking about (planting, irrigation, or rain) via keyword matching, then
combines that with real live weather data to generate a specific answer.
No external dependency — works identically whether local or hosted.

I wrote the core logic (detectIntent and generateAnswer functions) myself,
working through conditional statements step by step rather than just
pasting code. Tested it end-to-end — asked real questions and got correct
answers based on live weather data for a real location.

Also wrote a full README documenting the problem, solution, tech stack,

1
109

Comments 0

No comments yet. Be the first!