https://github.com/kamaljerome/aicodingassistant
An intelligent assistant that makes programming easier by providing real-time assistance with coding questions, providing accurate responses, and producing code snippets to increase efficiency. This assistant analyzes code files using a hybrid Retrieval-Augmented Generation (RAG) model and provides answers based on the actual co
https://github.com/kamaljerome/aicodingassistant
chat-application chatgpt chatgpt-api coding generative-ai langchain openai python rag streamlit
Last synced: 3 months ago
JSON representation
An intelligent assistant that makes programming easier by providing real-time assistance with coding questions, providing accurate responses, and producing code snippets to increase efficiency. This assistant analyzes code files using a hybrid Retrieval-Augmented Generation (RAG) model and provides answers based on the actual co
- Host: GitHub
- URL: https://github.com/kamaljerome/aicodingassistant
- Owner: KamalJerome
- Created: 2024-10-28T17:42:12.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-29T03:52:20.000Z (over 1 year ago)
- Last Synced: 2026-01-03T15:34:57.877Z (6 months ago)
- Topics: chat-application, chatgpt, chatgpt-api, coding, generative-ai, langchain, openai, python, rag, streamlit
- Language: Python
- Homepage: https://aicodingassistant.streamlit.app/
- Size: 28.3 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# π€ AI Coding Assistant
An intelligent assistant designed to simplify programming by offering real-time help on coding queries, giving precise answers, and generating code snippets to boost productivity. This assistant uses a hybrid Retrieval-Augmented Generation (RAG) model to analyze code files (`.py`, `.c`, `.cpp`, etc.) and answer questions based on the code content.
## Key Features
- β
**Code-based Answers**: Provides context-aware responses by examining and understanding the code in your files.
- β **Programming-Specific Q&A**: Restricted to only programming-related questions, delivering expert responses on various programming languages.
- π **Embedded RAG Model**: Integrates a hybrid RAG model for storing and retrieving detailed programming knowledge from custom file inputs.
- π **Advanced Search and Recall**: Uses Redis for efficient data retrieval and OpenAI embeddings for relevance ranking.
- π§© **Interactive Console**: Simple and interactive user interface powered by Streamlit for ease of use.
## Technologies Used
- π€ OpenAI's `gpt-4o` for natural language understanding and response generation.
- βοΈ `text-embedding-3-small` for code and query embeddings.
- π§© **Streamlit** for the front-end interface.
- π
**Redis** for quick, indexed access to knowledge base entries.
- π **Python** for core application logic.
## Getting Started
AI Coding Assistant has been deployed here: https://aicodingassistant.streamlit.app/
**HOW TO USE:**
1. Upload Code Files: Load your code files to initialize the assistantβs knowledge base.
2. Ask Programming Questions: Type a coding question related to your files or general programming.
3. Receive Code-Specific Answers: The assistant will respond with context-based answers, code snippets, or explanations, drawing information from the loaded code files.
## Demo Video
[](https://youtu.be/DcS94kOBI4U)
### [Watch this video on YouTube](https://youtu.be/DcS94kOBI4U)
## Creators
V Kamal Jerome | Shakthireka Karthikeyan | Kopika M | Deepesh Raj AY | Ashirvad Janardanan V