https://github.com/vasilisp/semblame
LLM-powered git history analysis
https://github.com/vasilisp/semblame
artificial-intelligence blame developer-tools git golang openai rag
Last synced: 6 months ago
JSON representation
LLM-powered git history analysis
- Host: GitHub
- URL: https://github.com/vasilisp/semblame
- Owner: vasilisp
- License: mit
- Created: 2025-04-29T19:47:34.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2025-06-02T12:36:02.000Z (7 months ago)
- Last Synced: 2025-06-08T01:43:33.767Z (7 months ago)
- Topics: artificial-intelligence, blame, developer-tools, git, golang, openai, rag
- Language: Go
- Homepage:
- Size: 7.8 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# `semblame`
LLM-powered git history analysis
## Overview
`semblame` is a developer tool that enhances the traditional `git blame` by using semantic embeddings and LLMs to provide insights into why code changes were made, not just who made them.
## Features
- Extract Git commit metadata and diffs
- Generate embeddings for commit messages and code changes
- Store embeddings in a vector database for semantic search
- Use Retrieval-Augmented Generation (RAG) with LLMs for natural language queries
## CLI Usage
### ingest
Walk the Git history, generate embeddings, and store them in the database.
```bash
./semblame ingest [path/to/repo]
```
- `path/to/repo`: Optional. The path to the Git repository (defaults to the current directory).
### query
Query the indexed history with a natural language question.
```bash
./semblame query [path/to/repo] "Your question here"
```
- `path/to/repo`: The path to the Git repository.
- `"Your question here"`: The natural language query to ask.