DEV Community

ERUMALLA SATHVIKA
ERUMALLA SATHVIKA

Posted on

AI-Career-Advisor-That-Remembers-You

Mock Interviews Only Became Useful When the System Started Remembering Mistakes

The Problem with Traditional Mock Interviews

Mock interviews are designed to simulate real hiring scenarios — but in most systems, they quickly become repetitive.

The standard flow looks like this:

Ask questions → Get answers → Provide feedback

While this works initially, users often report the same issue:

“It feels repetitive.”


Why Repetition Happens

The core problem is not the questions — it's the lack of memory.

Most systems fail to retain:

  • Previously asked questions
  • Weak areas identified in earlier sessions
  • Past performance trends

As a result, every session resets. The system behaves like it’s meeting the user for the first time — again and again.


The First Version: Stateless Interviews

const question = generateQuestion(role);

const response = await llm.generate({
  input: question
});
Enter fullscreen mode Exit fullscreen mode

This approach treats each session independently.

There is no evolution.
No personalization.
No learning curve.


Introducing Memory into Interviews

To make interviews meaningful, we integrated a memory layer using Hindsight.

const memory = await hindsight.retrieve(userId);

const weakAreas = memory.weakTopics;

const question = generateFromWeakAreas(weakAreas);
Enter fullscreen mode Exit fullscreen mode

Now, instead of random questions, the system adapts.

It focuses on:

  • Weak concepts
  • Previously incorrect answers
  • Areas requiring reinforcement

Tracking Performance Over Time

Memory is not just about recall — it's about progress tracking.

await hindsight.store(userId, {
  type: "interview",
  topic: "system design",
  performance: "weak"
});
Enter fullscreen mode Exit fullscreen mode

Each session contributes to a growing profile of the user.

Over time, this enables:

  • Pattern detection
  • Performance improvement tracking
  • Personalized feedback loops

The Role of Streaks

We also introduced a simple but powerful feature: streak tracking.

updateStreak(userId);
Enter fullscreen mode Exit fullscreen mode

While technically straightforward, its impact is significant.

Streaks:

  • Encourage daily engagement
  • Build consistency
  • Turn preparation into a habit

What Changed After Adding Memory

Before

  • Repeated questions
  • No clear improvement
  • Static experience

After

  • Adaptive questioning
  • Focused skill development
  • Measurable progress

The system transformed from a tool into a mentor.


Future Scope

The current system is only the beginning.

Next steps include:

  • Voice-based interviews
  • Real-time response evaluation
  • Adaptive difficulty levels based on performance

Hindsight Integration

To power long-term memory, we leveraged:

This enables persistent, evolving intelligence across sessions.


Key Takeaways

  • Practice without feedback loops is ineffective
  • Memory enables true personalization
  • Tracking progress is essential for growth

Final Thought

Mock interviews are not about asking better questions.

They are about tracking improvement over time.


🔗 Project Repository

Explore the full implementation here:
👉 https://github.com/sathvika32427/AI-Career-Advisor-That-Remembers-You

Top comments (0)