Front end for a interview chatbot with streamed responses.
- Practise job interview answers
- Streamed responses from gemini flash 1.5
- Most recent response can be played aloud using a volume button
Here is a Demo of the front end in action
screen-capture.6.webm
This repo depends on the backend repo. clone it first.
-
Clone the repository:
git clone https://github.com/mano-pihema/chatBot-frontEnd.git
-
Change dir:
cd chatBot-frontEnd
-
Create a .env file:
VITE_GOOGLE_API_KEY=YOUR GOOGLE AI STUDIO KEY VITE_API_URL=https://texttospeech.googleapis.com/v1beta1/text:synthesize
-
Install dependencies:
npm install
-
Run App:
npm run dev
My main goal for the App overall was to get streamed responses from an AI model. I was able to do this with websockets. A stretch goal of mine was to have text to speech capability. I was able to acheive this with Google Cloud's text to speech API.