Welcome to the Real-Time Avatar Interaction project! This application creates an interactive experience between the user and a real-time avatar using Hygen's advanced avatar technology and OpenAI's language model. The project enables users to converse with an avatar in real-time, converting speech to text and generating responses through OpenAI's GPT-3.5-turbo.
- Real-Time Interaction: Engage in live conversations with a virtual avatar.
- Speech-to-Text Conversion: Convert spoken words into text using OpenAI's GPT-3.5-turbo.
- Avatar Responses: Receive responses from the avatar based on the text input.
- Seamless Experience: Enjoy a fluid interaction where the avatar's responses are delivered in real-time.
- React: For building the user interface.
- TypeScript: To enhance code quality and maintainability.
- Tailwind CSS: For styling and creating a responsive design.
- Shadcn: For additional UI components and enhancements.
- OpenAI: For text generation and processing using GPT-3.5-turbo.
- Streaming Avatar API: To integrate and control the avatar's real-time responses.
To get started with the project locally, follow these steps:
-
Clone the repository:
git clone https://github.com/santhosh404/hygen-openai-task.git
-
Navigate to the project directory:
cd hygen-openai-task
-
Install the dependencies:
npm install
-
Start the development server:
npm start
-
Open your browser and go to http://localhost:5173 to see the application in action.