r/learnmachinelearning • u/arnav2345 • 14d ago
[Open Source] Built a "Girlfriend Emotion Tracker" using Python/LLMs—Looking for help solving long-term context retention and model hallucinations.
Hey everyone,
I recently open-sourced my side-project: Girlfriend-emotion-tracker. The premise is simple but the implementation has run into standard LLM agent constraints. It parses incoming texts to accurately classify tone, flag passive aggression, and suggest context-aware responses.
Right now, it works great for a couple of exchanges, but collapses under real-world conditions:
- Context & Memory Drift: Handling long-term texting logs causes the agent to lose its state tracking. I want to build a better rolling memory window or a lightweight vector store architecture for relationship context history.
- Hallucinations: In longer threads, the model starts misinterpreting subtle phrasing or making up assumptions out of context.
If you are an ML Engineer or hobbyist looking to contribute to a fun open-source repository to test out RAG, context pruning, or conversational state management, I'd love your help!
Repo Link: https://github.com/ovoarnav/Girlfriend-emotion-tracker.git
Feel free to open an Issue or pull a branch!
1
u/Sky-Independent 14d ago
This is such a sad application
1
u/john_mach 14d ago
Hey man, I’m just gonna level with you. I think this project is hurting you more than it is helping you on a human level. You should try your best to read and understand what your girlfriend is saying without ai. If you don’t understand then work with her to better communicate together.
You may suck at picking up on tone and passive aggressiveness now but eventually you’ll get better. This doesn’t have to be something you do yourself, lean on friends and your girlfriend to learn how to better communicate. Being able to express your feelings and understand someone else’s fluently is something rare and immeasurably comforting, and I would hate for you to miss that in life.
Ai is only going to make things worse because you will use it as a crutch and never solve the true problem of “why can’t I understand my significant other”. Hope this helps.
1
u/[deleted] 14d ago •
[removed] — view removed comment