DaeSikWoo/LLM-chat-system

0

stars

14

commits

Python

primary language

Jun 16, 2023

updated

README

LLM-chat-system

This is a code to implement a chat system based on LLM (Language Model) using the localGPT model developed by PromptEngineer (https://github.com/PromtEngineer/localGPT). The original code has been modified to include a conversational interface accessible through port 5000. Cribl solution documentation manual in PDF format has been loaded in the SOURCE_DOCUMENT to provide the necessary data.

Note

The chat system is built using the vicuna-7B language model and the Flask framework. The system is currently configured to use CPU due to the environment, but it can be modified to utilize GPU if desired. Please refer to the original code repository at https://github.com/PromtEngineer/localGPT if any additional settings are required and for further instructions.

Prerequisite

Ensure that all the required dependencies are installed before running the app.

pip install -r requirements.txt

Running the app

Execute the app.py file to run the application. The application will be hosted on port 5000 by default but can be modified according to the specific working environment.

python app.py

Interface

The system's user interface is displayed below. You can enter different queries to receive responses from the system.

image image

To interact with the system, simply enter your query or message in the chat input field. Each query will generate a response from the system. Feel free to ask various questions or provide different inputs to engage with the system and receive relevant responses.

Contributors

DaeSikWoo

14 commits

DaeSikWoo/LLM-chat-system

0

stars

14

commits

Python

primary language

Jun 16, 2023

updated

README

LLM-chat-system

This is a code to implement a chat system based on LLM (Language Model) using the localGPT model developed by PromptEngineer (https://github.com/PromtEngineer/localGPT). The original code has been modified to include a conversational interface accessible through port 5000. Cribl solution documentation manual in PDF format has been loaded in the SOURCE_DOCUMENT to provide the necessary data.

Note

The chat system is built using the vicuna-7B language model and the Flask framework. The system is currently configured to use CPU due to the environment, but it can be modified to utilize GPU if desired. Please refer to the original code repository at https://github.com/PromtEngineer/localGPT if any additional settings are required and for further instructions.

Prerequisite

Ensure that all the required dependencies are installed before running the app.

pip install -r requirements.txt

Running the app

Execute the app.py file to run the application. The application will be hosted on port 5000 by default but can be modified according to the specific working environment.

python app.py

Interface

The system's user interface is displayed below. You can enter different queries to receive responses from the system.

image image

To interact with the system, simply enter your query or message in the chat input field. Each query will generate a response from the system. Feel free to ask various questions or provide different inputs to engage with the system and receive relevant responses.

Contributors

DaeSikWoo

14 commits

Languages

Python

55.2%

JavaScript

24.5%

CSS

15.2%

HTML

5.2%