Skip to content

shrey141102/LangChain-Projects

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 

Repository files navigation

LangChain Projects README

Welcome to the LangChain repository! This repository houses two distinct projects, each offering unique functionalities powered by Streamlit, LangChain, and OpenAI. Let's explore each project and get you started.

ChatBot Project

Overview

The ChatBot project brings an AI-driven chatbot to life through a Streamlit web application. This chatbot allows you to engage in conversations with various language models, providing a versatile and interactive experience.

Getting Started

  1. Clone the Repository:

    git clone https://github.com/your-username/chatbot-project.git
    cd chatbot-project
  2. Install Dependencies:

    pip install -r requirements.txt
  3. Run the Application:

    streamlit run app.py
  4. Configure Settings:

    • Fill in the required parameters in the Streamlit sidebar.
    • Click the "All details filled! ✅" button to initiate scraping if a website URL is provided.
  5. Interact with the ChatBot:

    • Enter messages in the chat input box to engage with the chatbot.
    • The assistant's responses will be displayed in the chat.

PDF ChatBot Project

Overview

The PDF ChatBot project focuses on processing PDF files and extracting information using LangChain and OpenAI. This chatbot enhances your PDF interaction experience, making it dynamic and conversational.

Getting Started

  1. Clone the Repository:

    git clone https://github.com/your-username/pdf-chatbot.git
    cd pdf-chatbot
  2. Install Dependencies:

    pip install -r requirements.txt
  3. Run the Application:

    streamlit run app.py
  4. Configure OpenAI API Key:

    • Follow the instructions in the application to input your OpenAI API key.
  5. Interact with the PDF ChatBot:

    • Upload a PDF file using the file uploader.
    • Enter questions about the PDF in the text input field.
    • Click "Ask questions about your PDF file" to receive dynamic responses.

Troubleshooting

If you encounter any issues during installation or execution, please refer to the Troubleshooting section in the individual project READMEs.

Acknowledgments

These projects leverage the power of Streamlit for the web interface, LangChain for text processing, and OpenAI for language models.

Enjoy exploring and interacting with both ChatBot and PDF ChatBot! 🤖💬