This project is designed to develop a chatbot that accepts speech input and provides speech output. It focuses on integrating speech recognition and natural language processing to create an interactive user experience, solving the problem of efficient and hands-free communication with a chatbot.
Frontend
You can access the deployed frontend of the project here: https://developing-speak-chatbot-khub.vercel.app/
GPT-Bot/ ├─ src/ │ ├─ assets/ │ ├─ components/ │ ├─ pages/ │ ├─ styles/ ├─ public/ ├─ .env ├─ package.json └─ vite.config.js
Watch Video Walkthrough of the Project
[Watch Video Walkthrough of the Codebase]
Key features of the application include:
- D-ID Integration: Uses the D-ID API for generating and managing digital identities.
- Cohere API Integration: Implements natural language processing with the Cohere API for text analysis and generation.
- Speech Recognition: Utilizes the browser's
window.speechRecognitionAPI for voice command functionality. - Responsive Design: Ensures that the app is fully responsive and optimized for various devices using simple CSS.
- Axios for HTTP Requests: Manages API requests with Axios for efficient communication with external services.
- Vite: Selected as the build tool due to its speed and ease of use during development.
- CSS: Simple CSS was chosen to keep the styling lightweight and maintain cross-browser compatibility.
- Environment Variables: Sensitive information like API keys is managed through a
.envfile to keep them secure. - Frontend Only: The project is purely frontend-based, with all data processing occurring client-side.
To set up and run this project locally, follow these steps:
- Clone the repository:
git clone https://github.com/SurabhuMoond/developing-speak-chatbot.git cd developing-speak-chatbot npm install npm i axios - Set up environment variables:
Create a .env file in the root directory. - Add your API keys:
VITE_DID_API_KEY=your-did-api-key VITE_COHERE_API_KEY=your-cohere-api-key
- Start the development server:
npm run start
- Frontend: Vite, React, Axios
- Styling: CSS
- APIs: D-ID API, Cohere API
- Utilities: Window SpeechRecognition,
.envfor environment variables


