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
41.16k stars 9.37k forks source link

本地部署的插件如何在lobechat中配置默认选项而不需要手动添加了 #1321

Open scortLi opened 7 months ago

scortLi commented 7 months ago

🥰 需求描述

我看你们[0.128.0]这个版本增加一些默认的配置但是我不知道如何配置本地部署的插件为默认插件不需要手动添加的,请问应该如何设置

🧐 解决方案

我看你们[0.128.0]这个版本增加一些默认的配置但是我不知道如何配置本地部署的插件为默认插件不需要手动添加的,请问应该如何设置

📝 补充信息

No response

lobehubbot commented 7 months ago

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


🥰 Description of requirements

I see that your [0.128.0] version has added some default configurations, but I don’t know how to configure the locally deployed plug-ins as default plug-ins. There is no need to add them manually. How should I set them up?

🧐 Solution

I see that your [0.128.0] version has added some default configurations, but I don’t know how to configure the locally deployed plug-ins as default plug-ins. There is no need to add them manually. How should I set them up?

📝 Supplementary information

No response

lobehubbot commented 7 months ago

👀 @scortLi

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。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。

arvinxx commented 7 months ago

可以先看下基础文档,有不明白的话可以提出来

https://chat-docs.lobehub.com/zh/self-hosting/environment-variable/basic#default_agent_config

后续会考虑单独补充一篇更加完善的说明

lobehubbot commented 7 months ago

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


You can read the basic documentation first. If you don’t understand something, you can ask it.

https://chat-docs.lobehub.com/zh/self-hosting/environment-variable/basic#default_agent_config

We will consider adding a more complete explanation separately in the future.

scortLi commented 7 months ago

@arvinxx 文档我看了,我看环境变量配置的启用插件plugins都是插件市场的,如果我部署在自己的服务器应该怎么配置呢,麻烦大佬有空指点下

lobehubbot commented 7 months ago

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


@arvinxx I have read the document. I see that the plugins that enable the environment variable configuration are all from the plugin market. If I deploy it on my own server, how should I configure it? Could you please give me some advice when you have time?

arvinxx commented 7 months ago

目前不支持。除非你私有化部署插件市场

lobehubbot commented 7 months ago

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


Not currently supported. Unless you deploy the plug-in market privately

scortLi commented 7 months ago

@arvinxx 那后续会支持吗或者如何私有化部署插件市场呢

lobehubbot commented 7 months ago

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


@arvinxx Will it be supported in the future or how to privatize the deployment of the plug-in market?

arvinxx commented 7 months ago

那后续会支持吗

会考虑支持的,方案还在想

如何私有化部署插件市场

https://github.com/lobehub/lobe-chat-plugins?tab=readme-ov-file#deploy-to-vercel

scortLi commented 7 months ago

@arvinxx 好的,谢谢

lobehubbot commented 7 months ago

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


@arvinxx ok thanks

scortLi commented 7 months ago

@arvinxx 本地部署插件市场后如何在lobechat配置可以加载插件市场的插件呢,麻烦大佬有空看下

lobehubbot commented 7 months ago

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


@arvinxx After deploying the plug-in market locally, how do you configure lobechat to load plug-ins from the plug-in market? Could you please check it out when you have time?

arvinxx commented 7 months ago

@scortLi https://chat-docs.lobehub.com/zh/self-hosting/environment-variable/basic#plugins_index_url

scortLi commented 6 months ago

@arvinxx 请问下配置默认插件在哪个文件呢?我配置了不生效,我是在.env文件中增加EFAULT_AGENT_CONFIG='model=gpt-4-1106-preview;params.max_tokens=300;plugins=search-engine,lobe-image-designer'这个好像不生效

lobehubbot commented 6 months ago

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


@arvinxx Which file is the default plug-in configured in? My configuration does not take effect. I added EFAULT_AGENT_CONFIG='model=gpt-4-1106-preview;params.max_tokens=300;plugins=search-engine,lobe-image-designer' in the .env file. This does not seem to take effect.

scortLi commented 6 months ago

@arvinxx 如果当默认插件环境变量生效之后可以默认选中吗

lobehubbot commented 6 months ago

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


@arvinxx If the default plug-in environment variable takes effect, can it be selected by default?