AI Interview Simulator

AI Interview Simulator

This is a submission for the Cloudflare AI Challenge.

What I Built

AI Interview Simulator is an web application designed to improve your interview preparation. Using AI technology, it analyzes your answers and provides constructive feedback on how to improve. Using your device’s camera and microphone, this tool provides a comprehensive, real-time assessment to help you excel in your next interview.

Demo

https://interview.nicobytes.com/



My Code

https://github.com/nicobytes/interview-cloudflare-ai

Journey

Unfortunately, the company I was working for had a layoff, so I am constantly looking for my next position, but the hiring process is different at every company. But I have found that there are common questions asked in every interview, and I have started to write down these questions to improve for my next interviews. As part of the hiring process, some companies ask you to record a video answering some questions, and this process can be intimidating. Inspired by this, I created an AI interview simulator that generates questions based on your role and provides feedback using your phone and camera to give you a close experience to real interviews.

The application features an Angular-based frontend, utilizing Tailwind CSS for styling and Angular CDK for component primitives, enhancing the UI development process. The backend is powered by HonoJS, a lightweight JavaScript framework, and integrates LangChainJS to manage interactions with large language models efficiently. For the infrastructure, the app leverages Cloudflare’s ecosystem: Cloudflare Pages for hosting, Cloudflare Workers for edge functions, and Workers AI Models including @cf/openai/whisper for audio processing, @cf/meta/llama-2-7b-chat-fp16 for chat functionalities, and openai-tts for text-to-speech capabilities. Data storage is handled via Cloudflare R2, and D1 provides a scalable database solution for managing chat memories and other data needs.

Multiple Models and/or Triple Task Types

Automatic Speech Recognition: @cf/openai/whisper

Text Generation: @cf/meta/llama-2-7b-chat-fp16

Text to speech: Open AI

Leave a Reply

Your email address will not be published. Required fields are marked *