Skip to content

A production level web application that utilizes AI natural language processing to defeat writer's block.

Notifications You must be signed in to change notification settings

KyleleeSea/Seraphina

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Logo

Seraphina

An AI powered website that sparks inspiration for creative writing


· Report Bug · Request Feature

About The Project

Seraphina Screen Shot

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 AI

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.

Security

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.

Features

  • Fully trained natural language processing AI
  • Authentication with user metadata
  • Payment system utilizing PayPal SDK
  • Mobile responsive landing page
  • Landing demo utilizing react hooks

Built With

  • React
  • Bootstrap
  • Auth0
  • PayPal SDK
  • GPT3
  • Selenium

Local Copy

You may run this project locally by following these steps:

  1. Clone the repo
    git clone https://github.com/KyleleeSea/Seraphina
  2. Install NPM packages
    npm install
  3. Create a .env file
  4. Create your own OpenAI account and include your key in the .env file in variable "REACT_APP_OPENAI_API_KEY"
  5. Refactor to your own Auth0 account and include keys "REACT_APP_AUTH0_CLIENT_ID" and "REACT_APP_AUTH0_DOMAIN" in .env
  6. Include your own PayPal developer application keys in "REACT_APP_PAYPAL_SECRET" and "REACT_APP_PAYPAL_CLIENTID" in .env
  7. In terminal:
    npm run start

Contact

Twitter - @KyleleeSea

Project Link: https://github.com/KyleleeSea/Seraphina

About

A production level web application that utilizes AI natural language processing to defeat writer's block.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •