shubh-vedi / Q-A-Chatbot-Using-LLM

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Conversational Q&A Chatbot ChatBot with Langchain and OpenAI API

Overview

This project provides a powerful GitHub expert Q&A ChatBot leveraging Langchain for natural language processing and OpenAI API for advanced language capabilities. With this integration, users can interact with the ChatBot to get insights, recommendations, and assistance related to GitHub-related queries.

Features

  • Natural Language Processing: Utilize Langchain for understanding and processing natural language queries.
  • Advanced Language Capabilities: Leverage OpenAI API to enhance the ChatBot's language understanding and response generation.
  • GitHub Expertise: The ChatBot is specifically trained to provide information and assistance related to GitHub, including repository management, issue tracking, and more.

Getting Started

Prerequisites

  • Python 3.7 or higher
  • GitHub account
  • Langchain API key
  • OpenAI API key

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/github-chatbot.git
    cd github-chatbot
  2. Install dependencies:

    pip install -r requirements.txt
  3. Set up API keys:

    Create a .env file in the project root and add the following:

    LANGCHAIN_API_KEY=your_langchain_api_key
    OPENAI_API_KEY=your_openai_api_key
  4. Run the application:

    python app.py

Usage

  1. Access the ChatBot through the provided interface.

  2. Enter your GitHub-related query in natural language.

  3. Receive insightful responses and recommendations from the GitHub expert ChatBot.

Contributing

Contributions are welcome! Follow these steps:

  1. Fork the repository.
  2. Create a new branch: git checkout -b feature/new-feature.
  3. Commit your changes: git commit -m 'Add new feature'.
  4. Push to the branch: git push origin feature/new-feature.
  5. Submit a pull request.

License

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

Acknowledgments

  • Langchain for providing advanced natural language processing capabilities.
  • OpenAI for their powerful language model API.

About


Languages

Language:Jupyter Notebook 96.3%Language:Python 3.7%