Giter Site home page Giter Site logo

langchain-projects's Introduction

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! ๐Ÿค–๐Ÿ’ฌ

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.