Whether youβre looking for a friendly chat, studying for an exam, or learning a new language, Fun with AI is a simple-to-use application that will help you unlock intellectual potential and may even strengthen your cognitive abilities.
There are a few friends to collaborate with, each a little unique:
- Davinci - The most capable AI. He will help you reach your highest potential.
- Curie - Faster than Davinci, but not quite as capable. She's still learning!
- Babbage - Very straightforward and very fast.
- Ada - A simple gal, but very speedy!
*If you're having trouble deciding, give Curie a try.
After choosing your friend, put their knowledge to the test by typing a phrase of your choice in the text area (suggested prompts will be loaded for you after you choose your AI, but feel free to create your own as well). Have fun!
- Overview
- Documentation
- Technologies
- Code Architecture
- Installation
- Stretch Goals (Extras)
- Features
- Future Additions
- Author
- React.js
- CSS
- HTML
- Cypress
- OpenAI API
- Figma
- Deployed site here
- To view the code locally:
- Run
git clone [email protected]:gjax78/fun-with-ai.git
in your command line - Run
cd fun-with-ai
to navigate into the repository - Run
npm install
- Sign up for an API key from OpenAI
- Open the root directory of your cloned repo
- Create a .env.local file and store your API key as REACT_APP_API_KEY
- Run
npm start
- The webpage will open in separate browser
- Run
- Form to submit a prompt and receive a response from an AI engine
- Ability to select the AI engine from a dropdown menu
- Randomized prompt presets that populate as placeholders after the user selects an AI engine
- 100% Lighthouse Accessibility score
- Loading symbol shows as site is POSTing data
- Responsive Design
- Error handling
- A hidden Easter egg in the Cypress testing file - see if you can find it!
- Incorporate TypeScript
- Save responses if the user leaves or reloads the page
- Delete functionality for option to delete a response