Lord of Large Language Models Web User Interface
Go to file
2024-09-30 11:56:21 +02:00
.devcontainer Cleared code 2023-08-26 03:07:31 +02:00
.github changed 2024-01-07 20:44:59 +01:00
.vscode Upgraded install batch files 2023-04-06 22:07:20 +02:00
ai_ethics upgraded UI 2024-09-29 10:17:55 +02:00
api Huge upgrade, discussion system is now in lollms core 2024-02-26 01:55:44 +01:00
assets Warp drive 2024-07-31 01:08:35 +02:00
code_templates/tts upgraded ui added fish 2024-09-20 01:46:53 +02:00
configs upgraded UI 2024-09-29 10:17:55 +02:00
databases New code struture with separated backend 2023-04-15 13:30:08 +02:00
docs fixed all security risks from npm modules 2024-09-29 21:46:45 +02:00
endpoints Update lollms_tti.js 2024-09-30 11:56:21 +02:00
events upgraded core functions 2024-08-15 17:28:33 +02:00
extensions Added extension 2023-07-06 11:36:57 +02:00
help fixed 2024-08-17 22:11:00 +02:00
images updated 2023-06-24 13:06:06 +02:00
lollms_core@cca3553ce1 upgraded 2024-09-29 22:48:21 +02:00
notebooks fixed model icon issue 2024-02-27 13:03:35 +01:00
presets upgraded 2024-07-16 00:59:56 +02:00
scripts Lollms feather v 13 alpha version 2024-09-27 01:42:31 +02:00
tests Added multipart boundary check to prevent from DOS attacks 2024-09-11 23:11:00 +02:00
tests_and_fun v9.6 2024-04-21 20:48:05 +02:00
train added training code 2023-06-06 22:20:29 +02:00
utilities/execution_engines fix python execution 2024-09-29 12:16:48 +02:00
web fixed all security risks from npm modules 2024-09-29 21:46:45 +02:00
zoos sync 2024-09-27 22:57:24 +02:00
.gitignore Warp drive 2024-07-31 01:08:35 +02:00
.gitmodules upgraded stt 2024-05-26 21:42:35 +02:00
.hadolint.yaml Hadolint config added 2023-04-07 18:14:03 +02:00
app.py Finalized conda removal 2024-09-26 00:46:31 +02:00
CHANGELOG.md synced 2023-11-09 02:04:28 +01:00
CODE_OF_CONDUCT.md Initial commit 2023-04-06 21:12:49 +02:00
CONTRIBUTING.md Added personalities manipulation tools 2023-06-08 08:58:02 +02:00
docker-compose.yml upgraded docker compose 2024-08-27 21:58:44 +02:00
Dockerfile upgraded docker compose 2024-08-27 21:58:44 +02:00
installer_cpu.iss upgraded tool 2023-08-28 01:40:24 +02:00
installer.iss upgraded ui 2023-08-31 14:07:11 +02:00
LICENSE V5: new personalities structuring 2023-08-18 01:29:53 +02:00
lollms_webui.py fixed all security risks from npm modules 2024-09-29 21:46:45 +02:00
models.yaml upgraded 2024-04-27 17:06:59 +02:00
package-lock.json Preparing for the final move to FastAPI 2024-01-06 02:05:07 +01:00
package.json Preparing for the final move to FastAPI 2024-01-06 02:05:07 +01:00
README.md Added smart model routing 2024-08-06 11:47:49 +02:00
requirements_dev.txt fix 2024-08-29 12:27:36 +02:00
requirements.txt enhanced 2024-09-15 01:37:41 +02:00
restart_script.py steps can fail now 2023-07-28 01:16:26 +02:00
SECURITY.md Create SECURITY.md 2024-02-01 08:49:53 +01:00
setup.py fixed cstom personalities 2023-11-06 20:51:39 +01:00
tailwind.config.js Light and Dark mode + Tailwind Files 2023-04-18 21:49:44 -07:00
update_script.py sync 2024-09-18 20:34:54 +02:00

LoLLMs (Lord of Large Language Multimodal Systems) Web UI

Logo

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

LoLLMs core library download statistics

Downloads Downloads Downloads

LoLLMs webui download statistics

Downloads Downloads

Welcome to LoLLMS WebUI (Lord of Large Language Multimodal Systems: One tool to rule them all), the hub for LLM (Large Language Models) and multimodal intelligence systems. This project aims to provide a user-friendly interface to access and utilize various LLM and other AI models for a wide range of tasks. Whether you need help with writing, coding, organizing data, analyzing images, generating images, generating music or seeking answers to your questions, LoLLMS WebUI has got you covered.

As an all-encompassing tool with access to over 500 AI expert conditioning across diverse domains and more than 2500 fine tuned models over multiple domains, you now have an immediate resource for any problem. Whether your car needs repair or if you need coding assistance in Python, C++ or JavaScript; feeling down about life decisions that were made wrongly yet unable to see how? Ask Lollms. Need guidance on what lies ahead healthwise based on current symptoms presented, our medical assistance AI can help you get a potential diagnosis and guide you to seek the right medical care. If stuck with legal matters such contract interpretation feel free to reach out to Lawyer personality, to get some insight at hand -all without leaving comfort home. Not only does it aid students struggling through those lengthy lectors but provides them extra support during assessments too, so they are able grasp concepts properly rather then just reading along lines which could leave many confused afterward. Want some entertainment? Then engage Laughter Botand let yourself go enjoy hysterical laughs until tears roll from eyes while playing Dungeons&Dragonsor make up crazy stories together thanks to Creative Story Generator. Need illustration work done? No worries, Artbot got us covered there! And last but definitely not least LordOfMusic is here for music generation according to individual specifications. So essentially say goodbye boring nights alone because everything possible can be achieved within one single platform called Lollms...

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, image generation, and music 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 image/video generation based on stable diffusion
  • Support for music generation based on musicgen
  • Support for multi generation peer to peer network through Lollms Nodes and Petals.
  • Support for Docker, conda, and manual virtual environment setups
  • Support for LM Studio as a backend
  • Support for Ollama as a backend
  • Support for vllm as a backend
  • Support for prompt Routing to various models depending on the complexity of the task

Star History

Star History Chart

Thank you for all users who tested this tool and helped making it more user friendly.

Installation

Automatic installation (UI)

If you are using Windows, just visit the release page, download the windows installer and install it.

Automatic installation (Console)

Download the installation script from scripts folder and run it. The installation scripts are:

  • win_install.bat for Windows.
  • linux_install.shfor Linux.
  • mac_install.shfor Mac.

Manual install:

Since v 9.4, it is not advised to do manual install as many services require the creation of a separate environment and lollms needs to have complete control on the environments. So If you install it using your own conda setup, you will not be able to install any service and reduce the use of lollms to the chat interface (no xtts, no comfyui, no fast generation through vllm or petals or soever)

Smart Routing: Optimizing for Money and Speed

Lollms' Smart Routing feature goes beyond just selecting the right model for accuracy. It empowers you to optimize your text generation process for two key factors: money and speed.

Optimizing for Money:

Imagine you're using multiple text generation services with varying price points. Some models might be exceptionally powerful but come with a hefty price tag, while others offer a more budget-friendly option with slightly less capability. Smart Routing lets you leverage this price difference to your advantage:

  • Cost-Effective Selection: By defining a hierarchy of models based on their cost, Smart Routing can automatically choose the most economical model for your prompt. This ensures you're only paying for the power you need, minimizing unnecessary expenses.
  • Dynamic Price Adjustment: As your prompt complexity changes, Smart Routing can dynamically switch between models, ensuring you're always using the most cost-effective option for the task at hand.

Optimizing for Speed:

Speed is another critical factor in text generation, especially when dealing with large volumes of content or time-sensitive tasks. Smart Routing allows you to prioritize speed by:

  • Prioritizing Smaller Models: By placing faster, less resource-intensive models higher in the hierarchy, Smart Routing can prioritize speed for simple prompts. This ensures quick responses and efficient processing.
  • Dynamic Speed Adjustment: For more complex prompts requiring the power of larger models, Smart Routing can seamlessly switch to those models while maintaining a balance between speed and accuracy.

Example Use Cases:

  • Content Marketing: Use Smart Routing to select the most cost-effective model for generating large volumes of blog posts or social media content.
  • Customer Support: Prioritize speed by using smaller models for quick responses to frequently asked questions, while leveraging more powerful models for complex inquiries.
  • Research and Development: Optimize for both money and speed by using a tiered model hierarchy, ensuring you can quickly generate initial drafts while using more powerful models for in-depth analysis.

Conclusion:

Smart Routing is a versatile tool that empowers you to optimize your text generation process for both cost and speed. By leveraging a hierarchy of models and dynamically adjusting your selection based on prompt complexity, you can achieve the perfect balance between efficiency, accuracy, and cost-effectiveness.

Code of conduct

By using this tool, users agree to follow these guidelines :

  • This tool is not meant to be used for building and spreading fakenews / misinformation.
  • You are responsible for what you generate by using this tool. The creators will take no responsibility for anything created via this lollms.
  • You can use lollms in your own project free of charge if you agree to respect the Apache 2.0 licenseterms. Please refer to https://www.apache.org/licenses/LICENSE-2.0 .
  • You are not allowed to use lollms to harm others directly or indirectly. This tool is meant for peaceful purposes and should be used for good never for bad.
  • Users must comply with local laws when accessing content provided by third parties like OpenAI API etc., including copyright restrictions where applicable.

⚠️ Security Warning

Please be aware that LoLLMs WebUI does not have built-in user authentication and is primarily designed for local use. Exposing the WebUI to external access without proper security measures could lead to potential vulnerabilities.

If you require remote access to LoLLMs, it is strongly recommended to follow these security guidelines:

  1. Activate Headless Mode: Enabling headless mode will expose only the generation API while turning off other potentially vulnerable endpoints. This helps to minimize the attack surface.

  2. Set Up a Secure Tunnel: Establish a secure tunnel between the localhost running LoLLMs and the remote PC that needs access. This ensures that the communication between the two devices is encrypted and protected.

  3. Modify Configuration Settings: After setting up the secure tunnel, edit the /configs/local_config.yaml file and adjust the following settings:

    host: 0.0.0.0  # Allow remote connections
    port: 9600  # Change the port number if desired (default is 9600)
    force_accept_remote_access: true  # Force accepting remote connections
    headless_server_mode: true  # Set to true for API-only access, or false if the WebUI is needed
    

By following these security practices, you can help protect your LoLLMs instance and its users from potential security risks when enabling remote access.

Remember, it is crucial to prioritize security and take necessary precautions to safeguard your system and sensitive information. If you have any further questions or concerns regarding the security of LoLLMs, please consult the documentation or reach out to the community for assistance.

Stay safe and enjoy using LoLLMs responsibly!

Disclaimer

Large Language Models are amazing tools that can be used for diverse purposes. Lollms was built to harness this power to help the user enhance its productivity. But you need to keep in mind that these models have their limitations and should not replace human intelligence or creativity, but rather augment it by providing suggestions based on patterns found within large amounts of data. It is up to each individual how they choose to use them responsibly!

The performance of the system varies depending on the used model, its size and the dataset on whichit has been trained. The larger a language model's training set (the more examples), generally speaking - better results will follow when using such systems as opposed those with smaller ones. But there is still no guarantee that the output generated from any given prompt would always be perfect and it may contain errors due various reasons. So please make sure you do not use it for serious matters like choosing medications or making financial decisions without consulting an expert first hand!

license

This repository uses code under ApacheLicense Version 2.0 , see license file for details about rights granted with respect to usage & distribution

Copyright:

ParisNeo 2023