The Lecture Chat project is designed to offer valuable information and assistance on lectures. It utilizes various resources like lecture slides, screencasts, PDFs, and YouTube links to provide comprehensive answers to user questions. Notably, each response includes citations and links to the relevant source material, ensuring a deeper understanding and access to additional insights.
-
On-Premise Solution: The chatbot operates on an on-premise infrastructure to minimize costs and ensure data privacy.
-
Docker Containers: Docker containers are employed for easy deployment and management of services.
-
Open Source Development: The development of the chatbot exclusively utilizes open-source solutions.
- Programming Language: Python
- Docker Compose
- Citations
- Search Platform: Jina
- Service for Langchain: Langchain Serve
Follow these steps to run the provided services using Docker Compose:
-
Install Docker and Docker Compose:
Ensure that Docker and Docker Compose are installed on your system. If not, you can download and install them from the official Docker website: Docker and Docker Compose.
-
Clone the Repository:
Clone this repository to your local machine.
-
Start Services:
Start the services defined in the
docker-compose.yml
file using the following command:docker-compose up -d
The
-d
option stands for "detach" mode, which runs the services in the background. -
Access User Interfaces:
After starting the services, you can access the various user interfaces using the following URLs:
-
Lecture Chat Interface (
lecture-chat
):The Lecture Chat interface is accessible via a web browser by visiting:
http://localhost:8080
This interface allows interaction with the Lecture Chat Bot.
-
Language Processing Tool Interface (
langflow
):The Language Processing Tool interface can be accessed at:
http://localhost:7860
Here, the functions of the
langflow
service for language processing are available. -
Code Syntax Highlighting Interface (
chroma
):The interface for the code syntax highlighting service is reachable at:
http://localhost:8000
This interface allows testing and using the
chroma
service's code syntax highlighting functions.
To stop and remove the services, execute the following command in the directory containing the docker-compose.yml
file:
docker-compose down
This will stop the services and remove the associated containers, networks, and volumes.
This project is released under the MIT License.