This project is a simple chatbot application named "Vidsnap.ai". It uses the OpenAI ChatGPT's API which is given the transcript of the video to generate responses to user inputs. Users can enter a prompt in the input box, and the application will return a message based on the given prompt and the content of the video. In addition, the application has a button for taking a quiz.
Installation
To use this project, you will need to have npm and Node.js installed on your computer. Once you have installed these, follow the steps below:
- Clone the repository to your local machine using the command git clone https://github.com//.git.
- Navigate to the project directory using the command cd .
- Install the required dependencies using the command npm install.
- Start the development server using the command npm run dev.
- Access the application in your web browser at http://localhost:3000/.
Usage
Once the application is running, you can enter a prompt in the input box and press "Send" to get a response from the chatbot. You can also click on the "Quiz me!" button to take a quiz.
Dependencies
This project depends on the following packages:
- react
- react-dom
- react-usestateref
- react-youtube
- next
- dotenv
Contributing
If you want to contribute to this project, please follow the steps below:
- Fork the repository on GitHub.
- Clone the forked repository to your local machine.
- Create a new branch with a descriptive name using the command git checkout -b .
- Make the necessary changes to the code.
- Commit your changes using the command git commit -m "".
- Push your changes to your forked repository using the command git push origin .
- Create a pull request on the original repository.
Credits
This project was developed by Richard Trinh and Michael Yilma. The project was inspired by the OpenAI's ChatGPT and the Next.js framework.