iokarkan / chatbot-with-sources

A simple chatbot that can load sources using Gradio and LangChain.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Database Chatbot

This project provides a simple chatbot that can load sources using Gradio and LangChain. Users can ask the chatbot questions, and it can provide answers based on the loaded sources.

Demo

Demo Video

Click the image above to watch a video demonstration of the chatbot in action. You can also read my blog post on this app.

Running the App

  1. Clone this repository:
git clone https://github.com/iokarkan/chatbot_project.git
cd chatbot_project
  1. Install the required dependencies:
pip install -r requirements.txt
  1. Run the Gradio interface:
python -m app.gradio_interface

This will start a local server, and you can access the chatbot app in your web browser at http://localhost:7860.

HuggingFace Space

You can also try out the chatbot in this HuggingFace space: Chatbot with Sources

About

A simple chatbot that can load sources using Gradio and LangChain.


Languages

Language:Python 100.0%