This repository contains the ITS Support Chatbot project developed by CSUSB Fall 2024 CSE6550 Team 1. The chatbot is designed to assist users with IT-related queries and support.
- Getting Started
- Prerequisites
- Installation
- Accessing the Application
- SQA for IT Chatbot
- Troubleshooting
- Contributors
Follow these instructions to set up the application locally using Docker.
Before you begin, ensure you have the following installed on your machine:
The setup.py
script automates Docker process. If this does not work view the Alternate Instructions below
-
Clone the repository
Clone the repository from the main branch:
git clone -b main --single-branch https://github.com/DrAlzahraniProjects/csusb_fall2024_cse6550_team1.git
-
Navigate to the project folder
Change your directory to the repository folder:
cd csusb_fall2024_cse6550_team1
-
Discard changes
Discard all local changes:
git reset --hard
-
Update the local repository
Ensure your local repository is up to date by running:
git pull origin main
-
Run the setup scrpit
Setup script that runs relevant Docker commands and prompts user for the API Key:
python setup.py
Note: If the above command does not work (e.g., on Linux), try using:
python3 setup.py
-
Follow On-Screen Prompts
- The script will ask for the GROQ API key that can be found here
- It will stop any existing containers, pull updates, build the Docker image, and run the container
-
Clone the repository
Clone the repository from the main branch:
git clone -b main --single-branch https://github.com/DrAlzahraniProjects/csusb_fall2024_cse6550_team1.git
-
Navigate to the project folder
Change your directory to the repository folder:
cd csusb_fall2024_cse6550_team1
-
Discard changes
Discard all local changes:
git reset --hard
-
Update the local repository
Ensure your local repository is up to date by running:
git pull origin main
-
Build the Docker image
Build the Docker image using the following command:
DO NOT RUN THIS COMMAND YET, THE API KEY IN STEP 5 MUST BE INCLUDED AT THE END OF THE COMMAND
docker build -t team1_app:latest . --build-arg GROQ=
-
Include the API key
- Go to Team1 QA and copy the GROQ API key
- Paste the API key at the end of the previous instruction
- Your command should look like this:
docker build -t team1_app:latest . --build-arg GROQ=APIKEYHERE
- Run the command
-
Run the Docker container
Run the Docker container with the following command:
docker run -d -p 5001:5001 -p 6001:6001 team1_app:latest
Once the Docker container is running, you can access the ITS Support Chatbot through your browser at:
http://localhost:5001/team1 or http://127.0.0.1:5001/team1
You can access the Jupyter Notebook at:
http://localhost:6001/team1/jupyter or http://127.0.0.1:6001/team1/jupyter
Access through the CSE web server at:
https://sec.cse.csusb.edu/team1
You can access the Jupyter Notebook at:
https://sec.cse.csusb.edu/team1/jupyter
This section highlights the sets of questions the chatbot can and cannot answer.
Answerable | Unanswerable |
---|---|
How can I contact ITS? | What are the campus gym timings? |
How can I connect to the campus Wi-Fi? | What is a smart contract? |
What are the available free software for a student? | Can you write code for a basic Python script? |
Where are all the printers located? | What is the CGI phone number/email? |
What are the CoyoteLabs virtual computer labs? | What class does Dr. Alzahrani teach? |
Is Adobe Creative Cloud available as student software? | Who is Hironori Washizaki? |
What is information security awareness? | How can I make a payment for the tuition fee? |
How do I enable multi-factor authentication? | What is the future impact of AI on software quality standards? |
What are Coyote OneCard benefits? | What is regression testing? |
What if i lost my campus laptop charger? | How much does parking cost for one semester? |
- If you encounter issues while building or running the container, ensure that Docker is installed and running correctly.
- Ensure the port
5001
is not being used by another application.
- CSUSB Fall 2024 CSE6550 Team 1