Skip to content

NikeGunn/Sourcecode-analysis-AI-CHATBOT

Repository files navigation

Source Code Analysis with Generative AI

Project Logo

How to Run

Steps:

  1. Clone the Repository

    git clone https://github.com/your-repo-url.git
    cd your-repo-directory
  2. Create a Conda Environment

    conda create -n llmapp python=3.10 -y
    conda activate llmapp
  3. Install the Requirements

    pip install -r requirements.txt
  4. Set Up Environment Variables

    Create a .env file in the root directory and add your OPENAI_API_KEY credentials:

    OPENAI_API_KEY = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
  5. Run the Application

    python app.py
  6. Open the Application

    Open your browser and navigate to http://localhost:5000.

Tech Stack Used

  • Python
  • LangChain
  • Flask
  • OpenAI
  • GPT-3
  • ChromaDB

Features

  • Repository Ingestion: Clone and load GitHub repositories.
  • Text Splitting: Split documents into manageable chunks.
  • Embeddings: Generate embeddings using OpenAI.
  • Conversational Retrieval: Use LangChain for conversational retrieval.

Contributing

Contributions are welcome! Please open an issue or submit a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Acknowledgements

Developers

  • Nikhil Bhagat

Made with Python License

About

Source code analysis app

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •