Code Monkey home page Code Monkey logo

iai-chatbot's Introduction

APU Knowledge Base Chatbot

Introduction

This is a chatbot that will provide information about the campus facilities and services in Asia Pacific University of Technology & Innovation (APU).

You may Download Zip file from this repository, or clone it to your local through Git CLI with the commands below:

git clone https://github.com/TeoJJss/iai-chatbot.git

Python v3.11.6 is used for development.

Getting Started

Prerequisite

You should install the dependencies before launching the bot, with the following commands:

python -m venv venv
venv\Scripts\activate
pip install -r requirements.txt

The source codes can host the chatbot on Discord and Streamlit, depending on preferences.

Option 1: Hosting with Discord

To launch the bot, ensure that you have configured the Discord bot's token and channel ID in config.py. If there is a config_sensitive.py, please configure in this file instead.
Read this for guide on obtaining channel ID in Discord.
Run the following command to launch the bot in Discord:

python main.py

You should be able to see the bot with "Online" status in Discord, if the bot's token is correctly specified in config.py or config_sensitive.py. After that, it can respond to messages in the allowed channels.

Option 2: Hosting with Streamlit

This chatbot supports Streamlit too. You may launch the bot in Streamlit through the following commands:

streamlit run main_st.py

You will be redirected to a localhost website, where Streamlit is hosted on.

Option 3: Try with Cloud Version

This chatbot is hosted in Streamlit Cloud, you may access it with https://iai-chatbot-15.streamlit.app/
Due to the limitation on system resources provided by Streamlit Cloud, the chatbot might have lower performance compared to running it locally.

Sample questions to the chatbot

Below is the list of sample queries you may ask to the Chatbot. Nevertheless, you may ask questions which are not listed.

  1. LRT/APU/APIIT to LRT/APU/APIIT bus
  2. Where is parking/library/campus/cashier
  3. Where to wait bus at LRT/APU/APIIT
  4. Travel pass cost
  5. Parking rate zone A/B/G
  6. Holiday schedule
  7. How to top up APCard
  8. Operating hour of admin/library
  9. APU citation style
  10. Payment with Maybank/JomPay/CIMB/Cheque
  11. How to check result

Credits

- Teo Jun Jia
- Siew Sheng Yao
- Sin Boon Leon
- Chong Kah Jun
- Yong Lee Wai
- Ting Zi Qing

iai-chatbot's People

Contributors

damienckj2812 avatar lonelywolf88 avatar omeowrice avatar shengyaosiew avatar teojjss avatar ysolo01 avatar

Watchers

 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.