This is an implementation of the code from the tutorial found in this article for building a GPT-3 app with Next.js, React, and GitHub Copilot.
To get started with this implementation, follow these steps:
- Clone this repository to your local machine.
- Install the necessary dependencies by running
npm install
. - Create a
.env.local
file in the root directory of the project and add your OpenAI API key as follows:
OPENAI_API_KEY=your_api_key_here
- Run the development server by running
npm run dev
. - Open http://localhost:3000 with your browser to see the result.
If you find any issues with this implementation or would like to contribute to its development, please open an issue or submit a pull request.
This implementation is licensed under the MIT License.