Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
hackerYHT opened this issue Sep 15, 2024 · 8 comments
Closed
Labels
🌠 Feature Request New feature or request | 特性与建议

Comments

@hackerYHT
Copy link

🥰 需求描述

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

🧐 解决方案

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

📝 补充信息

No response

@hackerYHT hackerYHT added the 🌠 Feature Request New feature or request | 特性与建议 label Sep 15, 2024
@lobehubbot
Copy link
Member

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
Copy link
Member

👀 @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
Copy link

Duplicated with #3650

@ZeroDeng01
Copy link

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

@lobehubbot
Copy link
Member

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
Copy link
Author

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

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

@lobehubbot
Copy link
Member

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.

@arvinxx
Copy link
Contributor

arvinxx commented Sep 23, 2024

@hackerYHT 可以做一个插件,然后一个api 一个 agent

@arvinxx arvinxx closed this as completed Sep 23, 2024
@lobehub lobehub locked and limited conversation to collaborators Sep 23, 2024
@arvinxx arvinxx converted this issue into discussion #4094 Sep 23, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
🌠 Feature Request New feature or request | 特性与建议
Projects
None yet
Development

No branches or pull requests

5 participants