Lord of Large Language Models Web User Interface
Go to file
2023-06-06 22:20:29 +02:00
.github Update rsync.yml 2023-05-30 13:37:39 +02:00
.vscode Upgraded install batch files 2023-04-06 22:07:20 +02:00
ai_ethics fixed some bugs 2023-05-26 22:05:08 +02:00
api fixed a bunch of bugs 2023-06-06 00:17:23 +02:00
configs local update 2023-06-05 01:21:12 +02:00
databases New code struture with separated backend 2023-04-15 13:30:08 +02:00
docs added doc 2023-06-06 20:25:48 +02:00
extensions added extensions dir 2023-04-20 19:55:53 +02:00
images Working Open AI version 2023-05-30 00:37:09 +02:00
installations fixed path to env 2023-06-05 08:32:40 +03:00
models Changed backends to bindings 2023-05-25 23:24:14 +02:00
scripts update 2023-05-16 10:07:41 -04:00
shared Added get available space 2023-05-28 08:47:57 +02:00
static Changed backends to bindings 2023-05-25 23:24:14 +02:00
templates upgraded references 2023-05-26 12:11:14 +02:00
test Update python code (isort, black, pylint) and some manual tuning 2023-04-07 18:58:42 +02:00
train added training code 2023-06-06 22:20:29 +02:00
web added training code 2023-06-06 22:20:29 +02:00
.gitignore Added stuff 2023-06-06 20:43:38 +02:00
.hadolint.yaml Hadolint config added 2023-04-07 18:14:03 +02:00
app.py added training code 2023-06-06 22:20:29 +02:00
CODE_OF_CONDUCT.md Initial commit 2023-04-06 21:12:49 +02:00
CONTRIBUTING.md Update CONTRIBUTING.md 2023-04-27 20:00:22 +02:00
convert.py moved to PyAIPersonality file format 2023-04-30 22:40:19 +02:00
docker-compose.yml Added web folder to docker 2023-06-01 09:13:30 +02:00
Dockerfile fixed an issue with the web interface not loading under docker 2023-05-31 21:43:56 +10:00
LICENSE Initial commit 2023-04-06 12:38:00 -04:00
package-lock.json update 2023-05-15 15:00:58 -04:00
README.md Update README.md 2023-05-27 09:29:30 +02:00
requirements_dev.txt upgraded 2023-05-22 00:52:26 +02:00
requirements.txt local update 2023-06-05 01:21:12 +02:00
setup.py upgraded references 2023-05-26 12:11:14 +02:00
tailwind.config.js Light and Dark mode + Tailwind Files 2023-04-18 21:49:44 -07:00
uninstall.bat Upgraded install batch files 2023-04-06 22:07:20 +02:00
uninstall.sh Initial commit 2023-04-06 21:12:49 +02:00
webui.bat Update webui.bat 2023-05-22 15:28:37 +02:00
webui.sh * portability use /usr/bin/env bash 2023-05-22 21:43:09 -04:00

Gpt4All Web UI

GitHub license GitHub issues GitHub stars GitHub forks Discord Follow me on Twitter Follow Me on YouTube

Welcome to GPT4ALL WebUI, the hub for LLM (Large Language Model) models. This project aims to provide a user-friendly interface to access and utilize various LLM models for a wide range of tasks. Whether you need help with writing, coding, organizing data, generating images, or seeking answers to your questions, GPT4ALL WebUI has got you covered.

Click here for my youtube video on how to use the tool

Features

  • Choose your preferred binding, model, and personality for your tasks
  • Enhance your emails, essays, code debugging, thought organization, and more
  • Explore a wide range of functionalities, such as searching, data organization, and image generation
  • Easy-to-use UI with light and dark mode options
  • Integration with GitHub repository for easy access
  • Support for different personalities with predefined welcome messages
  • Thumb up/down rating for generated answers
  • Copy, edit, and remove messages
  • Local database storage for your discussions
  • Search, export, and delete multiple discussions
  • Support for Docker, conda, and manual virtual environment setups

Installation

Prerequisites

Before installing GPT4ALL WebUI, make sure you have the following dependencies installed:

  • Python 3.10 or higher
  • Git (for cloning the repository)

Ensure that the Python installation is in your system's PATH, and you can call it from the terminal. To verify your Python version, run the following command:

python --version

If you receive an error or the version is lower than 3.10, please install a newer version and try again.

Installation steps

Easy install

  • Download the appropriate application launcher based on your platform: For Windows: webui.bat For Linux: webui.sh
  • Place the downloaded launcher in a folder of your choice, for example: Windows: C:\ai\gpt4all-webui Linux: /home/user/ai/gpt4all-webui
  • Run the launcher script. Note that you might encounter warnings from antivirus or Windows Defender due to the tool's newness and limited usage. These warnings are false positives caused by reputation conditions in some antivirus software. You can safely proceed with running the script. Once the installation is complete, the GPT4ALL WebUI will launch automatically.

Using Conda

If you use conda, you can create a virtual environment and install the required packages using the provided requirements.txt file. Here's an example of how to set it up: First clone the project or download the zip file and unzip it:

git clone https://github.com/ParisNeo/gpt4all-ui.git
cd gpt4all-ui

Now create a new conda environment, activate it and install requirements

conda create -n gpt4all-webui python=3.10
conda activate gpt4all-webui
pip install -r requirements.txt

Using Docker

Alternatively, you can use Docker to set up the GPT4ALL WebUI. Please refer to the Docker documentation for installation instructions specific to your operating system.

Usage

You can launch the app from the webui.sh or webui.bat launcher. It will automatically perform updates if any are present. If you don't prefer this method, you can also activate the virtual environment and launch the application using python app.py from the root of the project. Once the app is running, you can go to the application front link displayed in the console (by default localhost:9600 but can change if you change configuration)

Selecting a Model and Binding

  • Open the GPT4ALL WebUI and navigate to the Settings page.
  • In the Models Zoo tab, select a binding from the list (e.g., llama-cpp-official).
  • Wait for the installation process to finish. You can monitor the progress in the console.
  • Once the installation is complete, click the Install button next to the desired model.
  • After the model installation finishes, select the model and press Apply changes.
  • Remember to press the Save button to save the configuration.

Starting a Discussion

  • Go to the Discussions view.
  • Click the + button to create a new discussion.
  • You will see a predefined welcome message based on the selected personality (by default, GPT4All).
  • Ask a question or provide an initial prompt to start the discussion.
  • You can stop the generation process at any time by pressing the Stop Generating button.

Managing Discussions

  • To edit a discussion title, simply type a new title or modify the existing one.
  • To delete a discussion, click the Delete button.
  • To search for specific discussions, use the search button and enter relevant keywords.
  • To perform batch operations (exporting or deleting multiple discussions), enable Check Mode, select the discussions, and choose the desired action.

Contributing

Contributions to GPT4ALL WebUI are welcome! If you encounter any issues, have ideas for improvements, or want to contribute code, please open an issue or submit a pull request on the GitHub repository.

License

This project is licensed under the Apache 2.0 License. You are free to use this software commercially, build upon it, and integrate it into your own projects. See the LICENSE file for details.

Acknowledgements

Please note that GPT4ALL WebUI is not affiliated with the GPT4All application developed by Nomic AI. The latter is a separate professional application available at gpt4all.io, which has its own unique features and community.

We express our gratitude to all the contributors who have made this project possible and welcome additional contributions to further enhance the tool for the benefit of all users.

Contact

For any questions or inquiries, feel free to reach out via our discord server: https://discord.gg/4rR282WJb6

Thank you for your interest and support!

If you find this tool useful, don't forget to give it a star on GitHub, share your experience, and help us spread the word. Your feedback and bug reports are valuable to us as we continue developing and improving GPT4ALL WebUI.

If you enjoyed this tutorial, consider subscribing to our YouTube channel for more updates, tutorials, and exciting content.

Happy exploring with GPT4ALL WebUI!