lobehub / lobe-chat

🤯 Lobe Chat - an open-source, modern-design AI chat framework. Supports Multi AI Providers( OpenAI / Claude 3 / Gemini / Ollama / Azure / DeepSeek), Knowledge Base (file upload / knowledge management / RAG ), Multi-Modals (Vision/TTS) and plugin system. One-click FREE deployment of your private ChatGPT/ Claude application.
https://chat-preview.lobehub.com
Other
40.95k stars 9.33k forks source link

[Request] 可以设置所有人都能看到并使用的默认助手吗? #3982

Open hackerYHT opened 5 days ago

hackerYHT commented 5 days ago

🥰 需求描述

可以设置所有人都能看到并使用的默认助手吗?自己想通过langchain搭建一个RAG助手,接入lobe-chat前端进行使用,作为默认的RAG助手给所有人使用,别人不能删除修改的那种

🧐 解决方案

可以设置所有人都能看到并使用的默认助手吗?

📝 补充信息

No response

lobehubbot commented 5 days ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


🥰 Description of requirements

Can I set a default assistant that everyone can see and use? I want to build a RAG assistant through langchain, connect it to the lobe-chat front-end and use it as the default RAG assistant for everyone to use. Others cannot delete or modify it.

🧐 Solution

Can I set a default assistant that everyone can see and use?

📝 Supplementary information

No response

lobehubbot commented 5 days ago

👀 @hackerYHT

Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible. Please make sure you have given us as much context as possible.\ 非常感谢您提交 issue。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。

mujiannan commented 5 days ago

Duplicated with #3650

ZeroDeng01 commented 4 days ago

有个思路就是你先构建一个RAG插件,然后环境变量里面有默认助手设置,在默认助手设置里面配置使用你的插件,这样所有用户新建默认助手就是你环境变量配置的内容了

lobehubbot commented 4 days ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


One idea is to build a RAG plug-in first, and then have the default assistant settings in the environment variables. Configure and use your plug-in in the default assistant settings. In this way, the default assistant created by all users will be the content of your environment variable configuration.

hackerYHT commented 4 days ago

有个思路就是你先构建一个RAG插件,然后环境变量里面有默认助手设置,在默认助手设置里面配置使用你的插件,这样所有用户新建默认助手就是你环境变量配置的内容了

非常感谢!这也是个非常好的思路。但是如果同时想能够自定义多套默认RAG-Agent提供给别人使用好像比较困难

lobehubbot commented 4 days ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


One idea is to build a RAG plug-in first, and then have the default assistant settings in the environment variables. Configure and use your plug-in in the default assistant settings. In this way, the default assistant created by all users will be the content of your environment variable configuration.

Thank you so much! This is also a very good idea. However, it seems difficult to customize multiple sets of default RAG-Agent for others to use at the same time.