DEV Community

Nicolas Molina Monroy
Nicolas Molina Monroy

Posted on

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/

AI Interview Simulator
AI Interview Simulator
AI Interview Simulator

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
  • Cloudfare AI Gateway

Top comments (5)

Collapse
 
pra3t0r5 profile image
Pra3t0r5

I love how it considers every spanish spoken answer as a great solution lol

Collapse
 
jackd20 profile image
jackdaniel

The AI Interview Simulator offers a unique platform for honing interview skills in a simulated environment spectrum cable and internet packages Utilizing advanced algorithms, it simulates realistic interview scenarios, providing valuable feedback and insights to improve performance. Users can practice answering common interview questions, refine their communication skills, and build confidence in a risk-free setting. The AI Interview Simulator is an invaluable tool for job seekers seeking to ace their interviews.

Collapse
 
chiragpatel309 profile image
Chirag Patel

Great! It's helpful πŸ‘

Collapse
 
algorodev profile image
Alex Gonzalez

Fantastic idea! Totally useful for people who feels intimidated by the interviewers, because they can train the interviews, before they have it.

Collapse
 
shoaibjamil profile image
Shoaib Jamil

Thank you for creating it! Its very helpful.