Seraphina is a production level web application created to help writers overcome writer's block by utilizing a fine-tuned GPT3 model to output possible sentences that follow where the user is stuck in order to provide inspiration.
The fine-tuned model was created utilizing text from open source short stories found online. The dataset was created by web scraping with Selenium (a headless browser) in Python. Full dataset and Python notebooks available upon request.
In order to prevent users from making excessive calls to the Seraphina site, I used Auth0 to setup authentication, and require users to be logged in to an account in order to utilize the AI. Users are given ten free tokens to use the AI. Further tokens can be bought through the Seraphina site.
- Fully trained natural language processing AI
- Authentication with user metadata
- Payment system utilizing PayPal SDK
- Mobile responsive landing page
- Landing demo utilizing react hooks
You may run this project locally by following these steps:
- Clone the repo
git clone https://github.com/KyleleeSea/Seraphina
- Install NPM packages
npm install
- Create a .env file
- Create your own OpenAI account and include your key in the .env file in variable "REACT_APP_OPENAI_API_KEY"
- Refactor to your own Auth0 account and include keys "REACT_APP_AUTH0_CLIENT_ID" and "REACT_APP_AUTH0_DOMAIN" in .env
- Include your own PayPal developer application keys in "REACT_APP_PAYPAL_SECRET" and "REACT_APP_PAYPAL_CLIENTID" in .env
- In terminal:
npm run start
Twitter - @KyleleeSea
Project Link: https://github.com/KyleleeSea/Seraphina