0

I'm looking to learn how to build my own chrome extensions. The first one I want to build is an extension that takes user input in a comment or textarea (such as the one I am writing in now) before submitting, transforms it with AI, and presents the response to the user.

I imagine the first thing I need is to get the user's input in the textarea or textbox. Once I have that I should be able to pass it as a query to the API. The final step I will need will be to replace the user's input in the text area. Grammarly does something along these lines.

How would I go about getting that data in some kind of variable that I could then pass to GPT-3? Note that I am already somewhat familiar with using the GPT-3 API, I just don't know how to build chrome extensions.

Thanks for any and all help. Much appreciated. This is a beautiful community.

0 Answers0