agussuroyo / talk-with-ai

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ChatGPT with Voice Command in React JS

Welcome to ChatGPT with Voice Command, a React JS application that integrates the power of ChatGPT with voice commands for a seamless conversational experience.

Installation

To install the ChatGPT with Voice Command, use the following npm command:

npm install

This will install all the necessary dependencies for the project.

Setting up Environment Variables

Before running the application, make sure to set up your environment variables. Create a .env file in the root of the project and include the following:

REACT_APP_OPENAI_API_KEY=your_openai_api_key_here

You can find an example in the .env.example file. Replace your_openai_api_key_here with your actual OpenAI GPT API key.

Running the Application

Once the environment variables are set up, you can run the application using the following npm command:

npm start

This will start the development server, and you can access the application in your web browser at http://localhost:3000.

Important Notice: Learning Purpose Only

This program is intended for learning purposes only.

Use it at your own risk. No guarantees or warranties are provided.

How to Use

  1. Open the application in your web browser.
  2. Use the chat interface to interact with ChatGPT.
  3. Enable voice command by clicking on the microphone icon.
  4. Speak your commands or messages clearly into the microphone.
  5. Enjoy a hands-free and interactive conversation with ChatGPT.

Troubleshooting

If you encounter any issues or have questions, please refer to the issue tracker on the project's GitHub repository.

Contributing

Feel free to contribute to the development of this project by submitting issues or pull requests. Your feedback and contributions are highly appreciated.

License

This project is licensed under the MIT License. Feel free to use and modify the code according to your needs.

Thank you for using ChatGPT with Voice Command in React JS!

About


Languages

Language:JavaScript 76.2%Language:CSS 12.0%Language:HTML 11.7%