Inspiration
This submission includes two projects: Gemini Nano Wrapper: Many developers struggle with setting up and using the Gemini Nano AI, especially since there was no proper documentation available. To address this, I created the Gemini Nano Wrapper, an npm package that simplifies the setup process. With this package, developers can easily install and start using Gemini Nano without facing the setup issues I encountered. It streamlines the process and provides a clear, straightforward usage guide. ( link : link)
FlashBot: For many e-commerce websites, answering frequently asked questions (FAQs) is essential for improving customer experience. Building on this need, I created FlashBot—a chatbot designed to handle FAQs. FlashBot is integrated with Gemini Nano for AI-powered responses and includes a text auto-suggestion feature that suggests responses as the user types. This helps improve user engagement and ensures accurate, timely replies. (live at : link).
What it does
Gemini Nano Wrapper: The Gemini Nano Wrapper provides an intuitive and easy-to-use interface around the Gemini Nano, making it simple for developers to integrate Gemini Nano into their projects. It streamlines the setup process by handling common configuration issues and verifying the environment for proper integration. The wrapper also provides automated suggestions on how to enable Gemini Nano, ensuring a smooth setup and quick deployment, even for developers who are new to the platform.
FlashBot: FlashBot is a powerful AI-driven chatbot built to answer FAQs on e-commerce websites. For example, as shown in the image below, users can select a topic of interest—such as cricket—and ask any question related to it. FlashBot acts as a dynamic FAQ assistant, allowing users to engage with the bot in a more structured and insightful way by adding context-specific boundaries to their queries. By leveraging Gemini Nano's AI, the bot delivers intelligent, contextually relevant responses. Additionally, FlashBot includes an advanced typing auto-suggestion feature, similar to the predictive text found in Android keyboards, making the conversation more interactive and responsive while improving the overall user experience.
How we built it
Gemini Nano Wrapper: The Gemini Nano Wrapper was built using Node.js and TypeScript to create a highly efficient, type-safe npm package. This package allows developers to seamlessly integrate Gemini Nano into their projects. By leveraging npm, I ensured that the installation process is quick and hassle-free. Additionally, I provided comprehensive documentation and practical examples to guide developers through every step of the setup and usage process, making it accessible even to those new to Gemini Nano.
FlashBot: FlashBot was developed using React.js for the front-end, ensuring a responsive and interactive user interface. For the AI functionality, I integrated the Gemini Nano Wrapper to leverage its powerful natural language processing capabilities. The bot interface was designed to be simple yet intuitive, allowing users to easily engage in conversations. To enhance the user experience, I implemented an advanced auto-suggestion feature using debounce techniques. This ensures smooth, real-time suggestions as users type, mimicking the predictive text experience found in mobile keyboards. Additionally, FlashBot can provide text translations for queries, offering multi-lingual support and improving accessibility.
Challenges we ran into
Gemini Nano Setup: One of the major challenges was the lack of proper documentation for Gemini Nano, which made it difficult for developers to get started. I had to spend a lot of time experimenting and learning the best practices to ensure the wrapper worked smoothly.
Integrating Auto-Suggestions: Implementing the auto-suggestion feature in FlashBot was tricky. Ensuring that the suggestions are both relevant and responsive while also not overwhelming the user required a delicate balance. I used debouncing and state management in React to optimize this feature.
While implementing I faced lot of issues like,
- Due to improper session management after certain point I faced memory issues.
- The model stopped working after facing the memory issue.
- Its was difficult to maintain the context between prompts.
- It has very minimal knowledge base and I used experimenting topk and temperature the model was not as creative as cloud AI modles.
Accomplishments that we're proud of
Gemini Nano Wrapper: I’m proud of the ease of use that this wrapper provides. Developers can now integrate Gemini Nano without spending time on setup issues, thanks to the clear documentation and simplified process. this has 250+ downloads.
FlashBot: The chat bot works efficiently, answering FAQs and providing real-time auto-suggestions. It's fulfilling its purpose of enhancing the user experience, especially for e-commerce websites that need fast, accurate responses.
What we learned
Documentation: I learned how crucial clear documentation is when developing open-source tools. Without good documentation, even the best tools can be inaccessible to many developers.
AI Integration: Working with Gemini Nano helped me better understand the challenges and possibilities of integrating AI into applications. The process was insightful and gave me a deeper understanding of natural language processing.
What's next for FlashBot:
Thinking of more use cases to add to this bot, like translations. beatifying the messages,
Built With
- chrome
- chromecanary
- javascript
- neftlify
- node.js
- react
- ts
Log in or sign up for Devpost to join the conversation.