Coder Social home page Coder Social logo

streamlit-chatbot's Introduction

ESPOL Chatbot

Overview

This repository contains the code for a chatbot designed to answer questions about the Escuela Superior Politecnica del Litoral (ESPOL). The chatbot leverages a retrieval-based QA system to provide accurate information drawn from various data sources related to the college.

Features

  • Multilingual Support: Answers questions in both English and Spanish.
  • Data Sources: Utilizes CSV, PDF, and TXT files to draw comprehensive information.
  • Streamlit Interface: Offers a web interface for easy interaction with users.
  • Customizable Responses: Includes a mechanism to provide dynamic responses based on user input.

How It Works

The chatbot is built using Streamlit and integrates the Langchain library to manage language models and information retrieval. When a user submits a question, the system uses vector similarity to find the most relevant information from the loaded data and provides an answer.

Setup

  1. Clone the repository.
  2. Install the required dependencies listed in requirements.txt.
  3. Set your OpenAI API key in the environment variables.
  4. Run the Streamlit app using streamlit run app.py.

Usage

Simply input your question in the chat interface and press 'Send'. The chatbot will process your question and return the most relevant answer it finds from its knowledge base.

Contributing

Contributions to improve the chatbot are welcome. Please feel free to fork the repository, make your changes, and submit a pull request.

streamlit-chatbot's People

Contributors

jjgilces avatar

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.