Problem Statement
Track 2: Inspiring Creativity with Generative AI
Inspiration
Generative AI like ChatGPT and Gemini has significantly improved writing productivity. The web application aims to leverage prompt engineering skills and generative AI to create a more reliable and effective writing assistant for users, enhancing their ability to produce high-quality content quickly and efficiently.
What it does
The application has a rich text editor for users to create their own writings. Applying the prompt chaining techniques on a predefined set of prompts, the application utilizes Gemini API to perform grammatical errors correction, adjustment of expression and sentence paraphrasing tasks to improve the quality of the writing.
How I built it
The web application follows a REST framework. The frontend is built with the ReactJS framework bootstrapped by Create-React-App. It enables users to create writing, view AI suggested corrections and download the AI modified work. The backend is built with Django-rest framework. It will keep tract of the history of user input using SQLite database and it applies the prompt engineering to generate prompts and retrieve Gemini API response. The Generative AI model used is gemini-1.5-pro.
Challenges
- How to configure to prompts for the generation of a less ambiguous and more reliable response
- The CORS errors between the frontend and backend
Log in or sign up for Devpost to join the conversation.