mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2025-06-23 17:17:35 +00:00
Changed backends to bindings
This commit is contained in:
@ -18,7 +18,7 @@ npm run dev
|
||||
|
||||
> Note
|
||||
> To run the developmen environment you need to create copy of the `.env` file and name it either `.env.development` or if that dont work then `.env.dev`. Set `VITE_GPT4ALL_API_BASEURL = /api/ ` in the `.env.development`.
|
||||
> Run your gpt backend by launching `webui.bat` or bash `webui.sh`.
|
||||
> Run your gpt binding by launching `webui.bat` or bash `webui.sh`.
|
||||
|
||||
## Building frontend - UI
|
||||
|
||||
@ -41,13 +41,13 @@ Here we keep track of things to implement and stuff we need to do.
|
||||
- Add DB switcher (im thinking in the settings view)
|
||||
- Make the UI work good on mobile
|
||||
- Need to fix colors for `<input />` fields
|
||||
- Create status bar for backend to display if something is generating on the backend
|
||||
- Create status bar for binding to display if something is generating on the binding
|
||||
- Add ability for users to style the whole UI, either changing Hue or changing every color manually.
|
||||
- Create a panel in the Settings tab to create new personalities
|
||||
- Need to investigate performance of websocket when message is being streamed back to the UI
|
||||
- On first launch of the UI force users to create "User" personality, to be used as "User" for any or all input messages.
|
||||
- Add drag n drop files into messages, images gets parsed as images, ability to load images from messages from DB.
|
||||
- Send files to backend - images, other files for parsing data.
|
||||
- Send files to binding - images, other files for parsing data.
|
||||
- Ability to reorder Discussions, add tags, categories
|
||||
- Export whole DB
|
||||
- Reset whole DB
|
||||
@ -70,14 +70,14 @@ Here we keep track of things to implement and stuff we need to do.
|
||||
- Fix up the discussion array to filter out the messages by type not by count. (conditionner and )[DONE]
|
||||
- Add title of current discussion to page [DONE]
|
||||
- Populate settings with settings controls [DONE]
|
||||
- Connect Settings to backend, ability to save changes [DONE]
|
||||
- Connect Settings to binding, ability to save changes [DONE]
|
||||
- Scroll to bottom [SCROLLBAR]
|
||||
- Scroll to top [SCROLLBAR]
|
||||
- Create stop generating button [DONE]
|
||||
- Fix the generated message formatting - add line breaks, also for user input messages. [DONE]
|
||||
- Maybe try to set the chatbox to float to the bottom (always on the bottom of the screen) [DONE]
|
||||
- Need to fix when user inputs message it shows up in the discussion array and then add new message for bot that is typing. [DONE]
|
||||
- Connect delete / export discussions to backend functions.[DONE]
|
||||
- Connect delete / export discussions to binding functions.[DONE]
|
||||
- Need to fix when deleting multiple discussions to not loose loading animation for each discussion when list gets updated [DONE]
|
||||
- Need to add loading feedback for when a new discussion is being created [DONE]
|
||||
- Add ability to select multiple discussions to delete [DONE]
|
@ -5,7 +5,7 @@ This Flask server provides various endpoints to manage and interact with the cha
|
||||
|
||||
## Endpoints:
|
||||
|
||||
- "/list_backends": GET request endpoint to list all the available backends.
|
||||
- "/list_bindings": GET request endpoint to list all the available bindings.
|
||||
```
|
||||
[
|
||||
"llama_cpp"
|
||||
@ -159,14 +159,14 @@ This Flask server provides various endpoints to manage and interact with the cha
|
||||
- "/message_rank_up": GET request endpoint to rank up a message.
|
||||
- "/message_rank_down": GET request endpoint to rank down a message.
|
||||
- "/delete_message": GET request endpoint to delete a message.
|
||||
- "/set_backend": POST request endpoint to set the backend.
|
||||
- "/set_binding": POST request endpoint to set the binding.
|
||||
- "/set_model": POST request endpoint to set the model.
|
||||
- "/update_model_params": POST request endpoint to update the model parameters.
|
||||
- "/get_config": GET request endpoint to get the chatbot's configuration.
|
||||
```
|
||||
{
|
||||
"auto_read": false,
|
||||
"backend": "llama_cpp",
|
||||
"binding": "llama_cpp",
|
||||
"config": "local_default",
|
||||
"ctx_size": 2048,
|
||||
"db_path": "databases/database.db",
|
||||
@ -243,7 +243,7 @@ This Flask server provides various endpoints to manage and interact with the cha
|
||||
|
||||
## TODO Endpoints:
|
||||
|
||||
Here we list needed endpoints on th ebackend to make UI work as expected.
|
||||
Here we list needed endpoints on th ebinding to make UI work as expected.
|
||||
|
||||
|
||||
# Socketio endpoints
|
||||
@ -274,7 +274,7 @@ The available settings are:
|
||||
- `personality_category`: A string representing the category of personality traits to use for generating responses.
|
||||
- `personality`: A string representing the name of a specific personality traits to use for generating responses.
|
||||
- `model`: A string representing the model to use for generating responses.
|
||||
- `backend`: A string representing the backend to use for generating responses.
|
||||
- `binding`: A string representing the binding to use for generating responses.
|
||||
|
||||
The save_settings function is used to save the updated settings to a configuratio
|
||||
|
||||
|
Reference in New Issue
Block a user