You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
A powerful tool for analyzing, documenting, and visualizing SQL codebase structure and dependencies. This project combines modern language models with vector storage to provide comprehensive insights into SQL code architecture.
Features
Intelligent SQL Parsing: Automatically breaks down SQL files into logical chunks (packages, procedures, functions)
Dependency Analysis: Identifies and visualizes relationships between different SQL objects
Vector-Based Storage: Uses ChromaDB for efficient storage and retrieval of code chunks
LLM-Powered Analysis: Leverages language models to provide detailed code analysis and insights
Interactive Documentation: Generates comprehensive HTML documentation with interactive components
Streamlit Interface: User-friendly web interface for uploading and analyzing SQL files
**Monolithic helps to generate a SQL file which can then be used for this project
**Output is created as a HTML , sample shown sql_documentation.html
Architecture
The project consists of several key components:
sqldataeng.py: SQL parsing and chunk extraction
vectorstore.py: Vector storage implementation using ChromaDB
llmprocessor.py: Language model integration for code analysis
docgenerator.py: Documentation generation and formatting
main.py: Streamlit web interface
Prerequisites
Python 3.8+
CUDA-capable GPU (optional, for faster processing)