lollms-webui icon indicating copy to clipboard operation
lollms-webui copied to clipboard

Switch database

Open ParisNeo opened this issue 1 year ago • 2 comments

Expected Behavior

Being able to Switch between databases to separate personal discussions from other duscussions.

Current Behavior

This can be done manually by changing the parameters in config.yaml

This is a feature request.

ParisNeo avatar Apr 21 '23 09:04 ParisNeo

Do we need this? I mean we can separate discussions from private and other, why do you want to do another level? Well the UI could have a dropdown with all DBs avaliable, just need to have an array with all the db somewhere - config.yaml?. Im not sure right now how the DB is selected, havent looked at that part of the code. If there is and API endpoint that you could request with http GET to get the list of all DBs and then use POST to set the current DB that would be great :). The config.yml will be large with all the varriables :)

andzejsp avatar Apr 27 '23 18:04 andzejsp

No, I'll add a service that you can request the available databases list from. And another service to select the database; It will save the configuration automatically.

ParisNeo avatar Apr 27 '23 18:04 ParisNeo

also ingest feature like privateGPT to chat with documents would be great..

x-legion avatar May 27 '23 08:05 x-legion

this is in the working. Not ready to release yet but yes I already have a working prototype

ParisNeo avatar May 29 '23 14:05 ParisNeo