/CodeNova.Devs

GEN AI project with multiple features that helps developers to get their job ready

Primary LanguagePython

CodeNova.Devs

CodeNova-Gen_AI_Project (powered with Langchain) ๐Ÿš€

CodeNova is a Streamlit-based chatbot powered by LangChain + Groq API that helps you generate multi-language code instantly using LLMs like Gemma:7b, LLaMA 3, and Mistral. Now supercharged with voice input, voice assistant, chat history, dark/light mode, and PDF/TXT exports , REST API testing Postman architecture , REST API monitoring , UNIT testing , Time complexity Analyzer etc multiple features .It can make your development smoother by giving๐ŸŒMulti-language Code Output ๐Ÿ”ฎ CodeNova - Your Real-Time AI Coding Buddy with real time feedback generator CodeNova is a beautifully designed, real-time AI coding assistant built with Streamlit, LangChain, and Groq API. It supports multi-language code generation (Python, Java, C++, etc.) and provides interactive features for an enhanced developer experience.

Hi ๐Ÿ‘‹, I'm Rudranil Goswami

A Generative AI enthusiastic and passionate python Developer

rudra00434

  • ๐Ÿ”ญ Iโ€™m currently working on CodeNova : Genai project

  • ๐ŸŒฑ Iโ€™m currently learning Langchain ๐Ÿ”—, Langgraph ๐ŸŒ

Connect with me for Collaboration

Languages and Tools:

python streamlit langchain groq gtts speech recognition fpdf

๐Ÿš€ Key Features โ€” CodeNova (AI-Powered Developer Assistant)

๐Ÿ’ฌ Chat & Language Support

๐Ÿง  Groq API-Powered LLMs โ€” Choose from LLaMA3-8B, LLaMA3-70B, Mixtral, or Gemma models.

๐ŸŒ Multi-Language Support โ€” Ask questions and generate code in Python, C++, Java, JavaScript, TypeScript, etc.

๐Ÿ’ก Multi-Turn Chat Memory โ€” Keeps track of past questions for better context and continuity.

๐Ÿ” Voice Input & Output โ€” Speak your query, and hear the AI's response (powered by SpeechRecognition & gTTS).

๐Ÿง  Developer SuperTools (Built-in)

๐Ÿงต Two-Way Code Explanation Tool

Paste or upload code to get line-by-line explanations.

Describe functionality to generate complete code.

Generate unit tests or explain traceback errors.

๐Ÿ“ˆ Time Complexity Analyzer

Paste a function and get Big-O estimation with a growth curve visualization.

๐Ÿงช API Testing Console

Send real-time GET, POST, PUT, DELETE requests.

Add auth tokens, custom headers, and JSON bodies.

Save and load API profiles for fast testing.

View cURL equivalents for easy CLI integration.

_REST API MONITORING Tool

you can check you your API is healthy or not by giving input your API endpoint it will show you the api time table (updated feature) of CodeNova

Regex Generator Tool

๐Ÿ“ฆ Utilities & Export Options

๐Ÿงพ PDF Export โ€” Download responses or explanations as formatted PDF files.

๐Ÿง  Session Saving โ€” Saves your chat history to chat_memory.json locally.

๐Ÿ”Š Voice Feedback โ€” Get AI responses spoken aloud (great for accessibility).

๐ŸŽจ UI & Customization ๐ŸŒ— Light/Dark Theme Toggle

๐ŸŽž๏ธ Lottie Animations & Custom Fonts

๐Ÿ“ฅ Drag & Drop File Uploads (for .py, .pdf, .txt, .cpp, etc.)

๐Ÿงฝ Clear Chat Button โ€” Reset session memory anytime.

๐Ÿ“ฆCodenova-chatbot file structure โ”ฃ๐Ÿ“œmain.py โ”ฃ๐Ÿ“œrequirements.txt โ”ฃ๐Ÿ“œchat_memory.json โ”—๐Ÿ“‚assets (optional: animations, icons, etc.)

CodeNova Architecture

Screenshot (244)

๐Ÿ”

requirements.txt:

          streamlit
            |
            langchain
              |
            langchain-community
              |
              langchain-core
               |
              Groq API
               |
              fpdf
               |
             gTTS
               |
            SpeechRecognition
              |
             streamlit-lottie ai
              |
              httpx -(for api testing tool)
              |
              requests
              |
              plotly (from Time complexity graph)
              |
              numpy

Groq API Setup:

Get your API key from: https://console.groq.com
Set it directly in code (or use st.secrets, .env, or config files for security):
llm = ChatGroq(api_key="your_groq_api_key", model_name="llama3-70b-8192")

โš™๏ธ Installation

# Clone this repository
git clone https://github.com/your-username/codenova-chatbot.git
cd codenova-chatbot

# Create virtual environment
python -m venv .venv
source .venv/bin/activate  # On Windows use: .venv\Scripts\activate

# Install requirements
pip install -r requirements.txt

# Start the app
streamlit run main.py

App Visuals

Screenshot (153) Screenshot (154) Screenshot (155)