Inspiration
I often find myself using ChatGPT to get clear explanations, whether I’m trying to understand code or another topic.
What it does
It currently offers two options: “Explain with AI,” which opens a modal so users can get explanations without leaving the page, and “Rephrase with AI,” which helps reword text for emails, chats, messages, or even notes in apps like Notion. Moreover, the “Rephrase with AI” option replaces the selected text directly in the input field.
How we built it
CSS, JavaScript and Prompt API
Challenges we ran into
Implementing the Prompt API proved challenging, given that it’s a new feature and required a custom integration to meet my needs.
Accomplishments that we're proud of
I’m thrilled to see the features I implemented working as intended and to have successfully built this idea with the Prompt API.
What we learned
I learned so much about the new API and can’t wait to start using it in other projects!
What's next for Nano Assistant
I have several ideas in mind for enhancing this extension. One of them is a feature called 'Prompt with AI,' which would function similarly to 'Rephrase with AI.' However, instead of rephrasing existing text, it would process the selected prompt and replace the highlighted text with the response generated by the prompt API.
Log in or sign up for Devpost to join the conversation.