MementoAI
Codebase Archaeologist Unearthing Insights from Your Code's History
Created on 22nd April 2025
•
MementoAI
Codebase Archaeologist Unearthing Insights from Your Code's History
The problem MementoAI solves
In large, evolving software projects, developers often struggle to understand the history and context behind changes made to the codebase. With thousands of commits accumulating over time, manually searching through Git logs to find relevant commit messages becomes time-consuming and inefficient. This process makes debugging, onboarding new team members, and maintaining the codebase much more difficult. Developers need an easier, faster way to access the rationale behind past code changes in order to make informed decisions, resolve issues quickly, and understand the evolution of the code. MementoAI addresses this challenge by offering a natural language query interface to seamlessly retrieve relevant commit history and its context, drastically improving the development workflow.
Challenges we ran into
Challenges We Ran Into:
Parsing Git Commit History: Extracting and accurately structuring data from extensive Git commit logs, especially with varying commit formats, proved to be a complex task.
Generating Accurate Commit Embeddings: Ensuring that the Sentence Transformer model generated meaningful and contextually accurate embeddings for often brief and ambiguous commit messages was a significant challenge.
Optimizing Vector Search: Efficiently indexing and retrieving relevant commit data from the ChromaDB vector database while maintaining fast search performance became a scalability issue.
Natural Language Query Interpretation: Interpreting developer queries, which often varied in phrasing and specificity, and mapping them to the right commit context was difficult but crucial for accurate results.
API Quota Limitations: The hackathon’s API quotas limited our ability to integrate advanced language models (LLMs) for richer query processing, hindering the planned enhancements to the system.
