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.
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.
Ensure that all the required dependencies are installed before running the app.
pip install -r requirements.txt
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
The system's user interface is displayed below. You can enter different queries to receive responses from the system.
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.
14 commits
Python
55.2%
JavaScript
24.5%
CSS
15.2%
HTML
5.2%
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.
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.
Ensure that all the required dependencies are installed before running the app.
pip install -r requirements.txt
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
The system's user interface is displayed below. You can enter different queries to receive responses from the system.
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.
14 commits
Python
55.2%
JavaScript
24.5%
CSS
15.2%
HTML
5.2%