Inspiration
This AI powered bot came as an inspiration of creating an intelligent bot that doesn't just follow string if statment rules, rather, uses it LLM to answer questions dynamically regarding different niches. Creating a rigid bot with python before, I decided to go further by creating an AI powered telegram rust bot which has the possibility of scaling across different platforms.
What it does
This bot specifically answers questions based on global warming, green energy and blockchain technology.
How we built it
This bot was built using rust. The genai library and telegram rust library called frankeinstein is used. A customized ai_agent function is built and imported to the main rust file which is integrated to process and reply every incoming message id from various users across telegram communicating with the bot.
Challenges we ran into
Building this bot was so challenging. I climbed the mountains dependency and package updates issues, deeped myself in the ocean of rusty books and debugged some beasty bugs. Just a short story Joke! Now let me be detailed. Creating this bot was challenging, not having a tutorial online or a book showing how to do this, I had to take the pains to do the research and refactor practical codes. Using gemini api and abstracting the string out of the return Result object was challenging. Also updating dependencies and reading documentation to implement the latest features compatible with the present library was challenging. Thanks to rust verbose error, I was able to use this guide to solve my problems although it took days.
Accomplishments that I am proud of
I am proud of myself because I created this out of my creativity and research. This isn't a cloned project or a copied code project from github. After using documentations, books and quick AI explanations of some terms to shorten my search time, I was able to figure things out with critical reasoning.
What we learned
I learnt lots of lessons from this exercise. However, the greatest lesson I learnt is that AI won't replace programmers. Not now or 15 years time. AI is just a tool for increase work productivity by brining fast query results.
What's next for smartForest3
This is the beginning the smartForest3. smartForest3 is willing to launch it token on roburna blockchain very soon. I also hope to add games and related api services in creating a more wonderful and addictive user experience for user.

Log in or sign up for Devpost to join the conversation.