Chat GPT (Generative Pre-trained Transformer) is a type of natural language processing (NLP) model that uses deep learning to generate human-like responses to user input. It is based on the transformer architecture, which was developed by Google in 2017 and has since become the de facto standard for NLP tasks. Chat GPT models are trained on large datasets of conversational data and can generate realistic responses to user queries.
- Next,js with typescript
- Tailwindcss and Material UI as UI library
- Framer-motion for optimiZed animations
- Next,js serverless functions to call openAI api.
- react-toastify for cool toast animations
-
Firstly clone this repository to your local machine
-
Then run
yarn install
to install the dependencies -
Go to the Openai website and get the API key
-
Create
.env
file and put your environment ofOPENAI_API_KEY
from env.local.example -
Run the development server:
npm run dev
# or
yarn dev
-
Open http://localhost:3000 with your browser to see the result.
-
Enjoy