@lobehub/chat 0.146.1 → 0.147.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.env.example +3 -5
- package/.github/workflows/issue-close-require.yml +1 -1
- package/.github/workflows/release.yml +1 -1
- package/.github/workflows/test.yml +3 -1
- package/.i18nrc.js +13 -8
- package/.seorc.cjs +9 -0
- package/CHANGELOG.md +98 -0
- package/README.md +25 -25
- package/README.zh-CN.md +25 -25
- package/contributing/Home.md +1 -1
- package/docs/self-hosting/advanced/analytics.mdx +12 -0
- package/docs/self-hosting/advanced/analytics.zh-CN.mdx +10 -0
- package/docs/self-hosting/advanced/authentication.mdx +19 -0
- package/docs/self-hosting/advanced/authentication.zh-CN.mdx +15 -0
- package/docs/self-hosting/advanced/sso-providers/auth0.mdx +19 -2
- package/docs/self-hosting/advanced/sso-providers/auth0.zh-CN.mdx +15 -2
- package/docs/self-hosting/advanced/sso-providers/authentik.mdx +18 -3
- package/docs/self-hosting/advanced/sso-providers/authentik.zh-CN.mdx +14 -2
- package/docs/self-hosting/advanced/sso-providers/github.mdx +13 -0
- package/docs/self-hosting/advanced/sso-providers/github.zh-CN.mdx +13 -3
- package/docs/self-hosting/advanced/sso-providers/microsoft-entra-id.mdx +18 -2
- package/docs/self-hosting/advanced/sso-providers/microsoft-entra-id.zh-CN.mdx +15 -2
- package/docs/self-hosting/advanced/sso-providers/zitadel.mdx +17 -2
- package/docs/self-hosting/advanced/sso-providers/zitadel.zh-CN.mdx +14 -2
- package/docs/self-hosting/advanced/upstream-sync.mdx +13 -0
- package/docs/self-hosting/advanced/upstream-sync.zh-CN.mdx +10 -0
- package/docs/self-hosting/environment-variables/analytics.mdx +15 -0
- package/docs/self-hosting/environment-variables/analytics.zh-CN.mdx +13 -0
- package/docs/self-hosting/environment-variables/auth.mdx +14 -0
- package/docs/self-hosting/environment-variables/auth.zh-CN.mdx +15 -1
- package/docs/self-hosting/environment-variables/basic.mdx +15 -0
- package/docs/self-hosting/environment-variables/basic.zh-CN.mdx +11 -0
- package/docs/self-hosting/environment-variables/model-provider.mdx +26 -0
- package/docs/self-hosting/environment-variables/model-provider.zh-CN.mdx +10 -0
- package/docs/self-hosting/environment-variables.mdx +13 -2
- package/docs/self-hosting/environment-variables.zh-CN.mdx +9 -0
- package/docs/self-hosting/examples/azure-openai.mdx +12 -0
- package/docs/self-hosting/examples/azure-openai.zh-CN.mdx +12 -0
- package/docs/self-hosting/examples/ollama.mdx +13 -0
- package/docs/self-hosting/examples/ollama.zh-CN.mdx +11 -0
- package/docs/self-hosting/faq/no-v1-suffix.mdx +12 -0
- package/docs/self-hosting/faq/no-v1-suffix.zh-CN.mdx +9 -0
- package/docs/self-hosting/faq/proxy-with-unable-to-verify-leaf-signature.mdx +14 -0
- package/docs/self-hosting/faq/proxy-with-unable-to-verify-leaf-signature.zh-CN.mdx +11 -0
- package/docs/self-hosting/platform/docker-compose.mdx +21 -5
- package/docs/self-hosting/platform/docker-compose.zh-CN.mdx +18 -5
- package/docs/self-hosting/platform/docker.mdx +26 -8
- package/docs/self-hosting/platform/docker.zh-CN.mdx +27 -9
- package/docs/self-hosting/platform/netlify.mdx +18 -2
- package/docs/self-hosting/platform/netlify.zh-CN.mdx +14 -1
- package/docs/self-hosting/platform/railway.mdx +12 -0
- package/docs/self-hosting/platform/railway.zh-CN.mdx +11 -0
- package/docs/self-hosting/platform/repocloud.mdx +12 -0
- package/docs/self-hosting/platform/repocloud.zh-CN.mdx +10 -0
- package/docs/self-hosting/platform/sealos.mdx +11 -0
- package/docs/self-hosting/platform/sealos.zh-CN.mdx +10 -0
- package/docs/self-hosting/platform/vercel.mdx +12 -0
- package/docs/self-hosting/platform/vercel.zh-CN.mdx +11 -0
- package/docs/self-hosting/platform/zeabur.mdx +11 -0
- package/docs/self-hosting/platform/zeabur.zh-CN.mdx +10 -0
- package/docs/self-hosting/start.mdx +12 -0
- package/docs/self-hosting/start.zh-CN.mdx +13 -0
- package/docs/usage/agents/concepts.mdx +13 -0
- package/docs/usage/agents/concepts.zh-CN.mdx +10 -0
- package/docs/usage/agents/custom-agent.mdx +16 -2
- package/docs/usage/agents/custom-agent.zh-CN.mdx +14 -2
- package/docs/usage/agents/model.mdx +11 -2
- package/docs/usage/agents/model.zh-CN.mdx +12 -0
- package/docs/usage/agents/prompt.mdx +15 -0
- package/docs/usage/agents/prompt.zh-CN.mdx +10 -0
- package/docs/usage/agents/topics.mdx +13 -0
- package/docs/usage/agents/topics.zh-CN.mdx +11 -0
- package/docs/usage/features/agent-market.mdx +11 -1
- package/docs/usage/features/agent-market.zh-CN.mdx +13 -0
- package/docs/usage/features/local-llm.mdx +12 -2
- package/docs/usage/features/local-llm.zh-CN.mdx +3 -3
- package/docs/usage/features/mobile.mdx +10 -1
- package/docs/usage/features/mobile.zh-CN.mdx +11 -0
- package/docs/usage/features/more.mdx +13 -0
- package/docs/usage/features/more.zh-CN.mdx +10 -0
- package/docs/usage/features/multi-ai-providers.mdx +14 -1
- package/docs/usage/features/multi-ai-providers.zh-CN.mdx +16 -0
- package/docs/usage/features/plugin-system.mdx +12 -1
- package/docs/usage/features/plugin-system.zh-CN.mdx +9 -0
- package/docs/usage/features/pwa.mdx +11 -1
- package/docs/usage/features/pwa.zh-CN.mdx +13 -0
- package/docs/usage/features/text-to-image.mdx +11 -1
- package/docs/usage/features/text-to-image.zh-CN.mdx +13 -0
- package/docs/usage/features/theme.mdx +12 -1
- package/docs/usage/features/theme.zh-CN.mdx +11 -0
- package/docs/usage/features/tts.mdx +14 -1
- package/docs/usage/features/tts.zh-CN.mdx +12 -0
- package/docs/usage/features/vision.mdx +11 -1
- package/docs/usage/features/vision.zh-CN.mdx +10 -0
- package/docs/usage/plugins/basic-usage.mdx +12 -0
- package/docs/usage/plugins/basic-usage.zh-CN.mdx +10 -0
- package/docs/usage/plugins/custom-plugin.mdx +12 -0
- package/docs/usage/plugins/custom-plugin.zh-CN.mdx +10 -0
- package/docs/usage/plugins/development.mdx +18 -0
- package/docs/usage/plugins/development.zh-CN.mdx +12 -0
- package/docs/usage/plugins/store.mdx +12 -0
- package/docs/usage/plugins/store.zh-CN.mdx +9 -0
- package/docs/usage/providers/groq.mdx +14 -2
- package/docs/usage/providers/groq.zh-CN.mdx +12 -2
- package/docs/usage/providers/ollama/gemma.mdx +13 -3
- package/docs/usage/providers/ollama/gemma.zh-CN.mdx +12 -3
- package/docs/usage/providers/ollama/qwen.mdx +12 -4
- package/docs/usage/providers/ollama/qwen.zh-CN.mdx +10 -3
- package/docs/usage/providers/ollama.mdx +19 -9
- package/docs/usage/providers/ollama.zh-CN.mdx +20 -9
- package/docs/usage/start.mdx +13 -2
- package/docs/usage/start.zh-CN.mdx +11 -2
- package/locales/ar/common.json +0 -26
- package/locales/ar/components.json +15 -0
- package/locales/ar/error.json +1 -52
- package/locales/ar/modelProvider.json +226 -0
- package/locales/ar/setting.json +48 -199
- package/locales/bg-BG/common.json +0 -26
- package/locales/bg-BG/components.json +15 -0
- package/locales/bg-BG/error.json +1 -52
- package/locales/bg-BG/modelProvider.json +226 -0
- package/locales/bg-BG/setting.json +48 -199
- package/locales/de-DE/common.json +0 -26
- package/locales/de-DE/components.json +15 -0
- package/locales/de-DE/error.json +1 -52
- package/locales/de-DE/modelProvider.json +226 -0
- package/locales/de-DE/setting.json +48 -199
- package/locales/en-US/common.json +0 -26
- package/locales/en-US/components.json +15 -0
- package/locales/en-US/error.json +1 -52
- package/locales/en-US/modelProvider.json +226 -0
- package/locales/en-US/setting.json +48 -199
- package/locales/es-ES/common.json +0 -26
- package/locales/es-ES/components.json +15 -0
- package/locales/es-ES/error.json +1 -52
- package/locales/es-ES/modelProvider.json +226 -0
- package/locales/es-ES/setting.json +48 -199
- package/locales/fr-FR/common.json +0 -26
- package/locales/fr-FR/components.json +15 -0
- package/locales/fr-FR/error.json +1 -52
- package/locales/fr-FR/modelProvider.json +226 -0
- package/locales/fr-FR/setting.json +48 -199
- package/locales/it-IT/common.json +0 -26
- package/locales/it-IT/components.json +15 -0
- package/locales/it-IT/error.json +1 -52
- package/locales/it-IT/modelProvider.json +226 -0
- package/locales/it-IT/setting.json +59 -210
- package/locales/ja-JP/common.json +0 -26
- package/locales/ja-JP/components.json +15 -0
- package/locales/ja-JP/error.json +1 -52
- package/locales/ja-JP/modelProvider.json +226 -0
- package/locales/ja-JP/setting.json +59 -210
- package/locales/ko-KR/common.json +0 -26
- package/locales/ko-KR/components.json +15 -0
- package/locales/ko-KR/error.json +1 -52
- package/locales/ko-KR/modelProvider.json +226 -0
- package/locales/ko-KR/setting.json +48 -199
- package/locales/nl-NL/common.json +0 -26
- package/locales/nl-NL/components.json +15 -0
- package/locales/nl-NL/error.json +4 -55
- package/locales/nl-NL/modelProvider.json +226 -0
- package/locales/nl-NL/setting.json +49 -200
- package/locales/pl-PL/common.json +0 -26
- package/locales/pl-PL/components.json +15 -0
- package/locales/pl-PL/error.json +1 -52
- package/locales/pl-PL/modelProvider.json +226 -0
- package/locales/pl-PL/setting.json +48 -199
- package/locales/pt-BR/common.json +0 -26
- package/locales/pt-BR/components.json +15 -0
- package/locales/pt-BR/error.json +1 -52
- package/locales/pt-BR/modelProvider.json +226 -0
- package/locales/pt-BR/setting.json +48 -199
- package/locales/ru-RU/common.json +0 -26
- package/locales/ru-RU/components.json +15 -0
- package/locales/ru-RU/error.json +1 -52
- package/locales/ru-RU/modelProvider.json +226 -0
- package/locales/ru-RU/setting.json +48 -199
- package/locales/tr-TR/common.json +0 -26
- package/locales/tr-TR/components.json +15 -0
- package/locales/tr-TR/error.json +1 -52
- package/locales/tr-TR/modelProvider.json +226 -0
- package/locales/tr-TR/setting.json +48 -199
- package/locales/vi-VN/common.json +0 -26
- package/locales/vi-VN/components.json +15 -0
- package/locales/vi-VN/error.json +1 -52
- package/locales/vi-VN/modelProvider.json +226 -0
- package/locales/vi-VN/setting.json +48 -199
- package/locales/zh-CN/common.json +0 -26
- package/locales/zh-CN/components.json +15 -0
- package/locales/zh-CN/error.json +2 -53
- package/locales/zh-CN/modelProvider.json +226 -0
- package/locales/zh-CN/setting.json +48 -199
- package/locales/zh-TW/common.json +0 -26
- package/locales/zh-TW/components.json +15 -0
- package/locales/zh-TW/error.json +1 -52
- package/locales/zh-TW/modelProvider.json +226 -0
- package/locales/zh-TW/setting.json +48 -199
- package/package.json +121 -117
- package/scripts/mdxWorkflow/index.ts +48 -0
- package/src/app/api/chat/[provider]/route.test.ts +4 -9
- package/src/app/api/chat/[provider]/route.ts +6 -23
- package/src/app/api/chat/{[provider]/agentRuntime.test.ts → agentRuntime.test.ts} +12 -12
- package/src/app/api/chat/{[provider]/agentRuntime.ts → agentRuntime.ts} +11 -30
- package/src/app/api/chat/auth/index.ts +42 -0
- package/src/app/api/chat/models/[provider]/route.ts +45 -0
- package/src/app/api/config/__snapshots__/route.test.ts.snap +127 -0
- package/src/app/api/config/route.test.ts +170 -0
- package/src/app/api/config/route.ts +46 -11
- package/src/app/api/plugin/gateway/route.ts +1 -1
- package/src/app/settings/llm/Azure/index.tsx +36 -43
- package/src/app/settings/llm/Bedrock/index.tsx +12 -20
- package/src/app/settings/llm/Ollama/index.tsx +2 -2
- package/src/app/settings/llm/OpenAI/index.tsx +9 -121
- package/src/app/settings/llm/OpenRouter/index.tsx +1 -1
- package/src/app/settings/llm/TogetherAI/index.tsx +0 -1
- package/src/app/settings/llm/components/ProviderConfig/index.tsx +48 -32
- package/src/app/settings/llm/components/ProviderModelList/CustomModelOption.tsx +94 -0
- package/src/app/settings/llm/components/ProviderModelList/MaxTokenSlider.tsx +88 -0
- package/src/app/settings/llm/components/ProviderModelList/ModelConfigModal.tsx +128 -0
- package/src/app/settings/llm/components/ProviderModelList/ModelFetcher.tsx +81 -0
- package/src/app/settings/llm/components/ProviderModelList/Option.tsx +38 -0
- package/src/app/settings/llm/components/ProviderModelList/index.tsx +142 -0
- package/src/app/settings/llm/const.ts +1 -1
- package/src/app/settings/llm/index.tsx +7 -6
- package/src/app/settings/tts/TTS/index.tsx +1 -1
- package/src/components/AntdStaticMethods/index.test.tsx +43 -0
- package/src/components/ModelIcon/index.tsx +25 -7
- package/src/components/ModelSelect/index.tsx +67 -56
- package/src/config/modelProviders/anthropic.ts +6 -1
- package/src/config/modelProviders/azure.ts +42 -0
- package/src/config/modelProviders/bedrock.ts +4 -1
- package/src/config/modelProviders/google.ts +2 -14
- package/src/config/modelProviders/groq.ts +3 -0
- package/src/config/modelProviders/index.ts +19 -14
- package/src/config/modelProviders/mistral.ts +5 -0
- package/src/config/modelProviders/moonshot.ts +3 -1
- package/src/config/modelProviders/ollama.ts +6 -17
- package/src/config/modelProviders/openai.ts +9 -13
- package/src/config/modelProviders/openrouter.ts +6 -1
- package/src/config/modelProviders/perplexity.ts +2 -0
- package/src/config/modelProviders/togetherai.ts +11 -0
- package/src/config/modelProviders/zeroone.ts +3 -0
- package/src/config/modelProviders/zhipu.ts +3 -0
- package/src/config/server/provider.ts +52 -7
- package/src/const/auth.ts +0 -1
- package/src/const/{settings.ts → settings/index.ts} +31 -4
- package/src/const/url.ts +1 -1
- package/src/database/core/db.ts +14 -0
- package/src/database/schemas/user.ts +1 -25
- package/src/features/AgentSetting/AgentConfig/ModelSelect.tsx +7 -11
- package/src/features/ChatInput/STT/common.tsx +80 -78
- package/src/features/ChatInput/STT/index.tsx +8 -6
- package/src/features/Conversation/Error/APIKeyForm/Bedrock.tsx +8 -8
- package/src/features/Conversation/Error/APIKeyForm/ProviderApiKeyForm.tsx +73 -0
- package/src/features/Conversation/Error/APIKeyForm/ProviderAvatar.tsx +74 -0
- package/src/features/Conversation/Error/APIKeyForm/index.tsx +25 -49
- package/src/features/ModelSwitchPanel/index.tsx +40 -13
- package/src/hooks/_header.ts +5 -20
- package/src/libs/agent-runtime/BaseAI.ts +17 -1
- package/src/libs/agent-runtime/anthropic/index.ts +3 -7
- package/src/libs/agent-runtime/azureOpenai/index.test.ts +166 -0
- package/src/libs/agent-runtime/azureOpenai/index.ts +16 -8
- package/src/libs/agent-runtime/bedrock/index.test.ts +199 -22
- package/src/libs/agent-runtime/bedrock/index.ts +11 -18
- package/src/libs/agent-runtime/groq/index.test.ts +350 -0
- package/src/libs/agent-runtime/groq/index.ts +14 -77
- package/src/libs/agent-runtime/mistral/index.test.ts +25 -19
- package/src/libs/agent-runtime/mistral/index.ts +24 -86
- package/src/libs/agent-runtime/moonshot/index.test.ts +2 -2
- package/src/libs/agent-runtime/moonshot/index.ts +14 -77
- package/src/libs/agent-runtime/openai/__snapshots__/index.test.ts.snap +99 -0
- package/src/libs/agent-runtime/openai/fixtures/openai-models.json +170 -0
- package/src/libs/agent-runtime/openai/index.test.ts +15 -50
- package/src/libs/agent-runtime/openai/index.ts +15 -107
- package/src/libs/agent-runtime/openrouter/__snapshots__/index.test.ts.snap +82 -0
- package/src/libs/agent-runtime/openrouter/fixtures/models.json +62 -0
- package/src/libs/agent-runtime/openrouter/index.test.ts +25 -9
- package/src/libs/agent-runtime/openrouter/index.ts +42 -84
- package/src/libs/agent-runtime/openrouter/type.ts +28 -0
- package/src/libs/agent-runtime/togetherai/index.test.ts +12 -9
- package/src/libs/agent-runtime/togetherai/index.ts +20 -85
- package/src/libs/agent-runtime/utils/anthropicHelpers.test.ts +14 -22
- package/src/libs/agent-runtime/utils/anthropicHelpers.ts +4 -10
- package/src/libs/agent-runtime/utils/openaiCompatibleFactory/index.ts +147 -0
- package/src/libs/agent-runtime/zeroone/index.test.ts +350 -0
- package/src/libs/agent-runtime/zeroone/index.ts +14 -77
- package/src/locales/default/common.ts +0 -28
- package/src/locales/default/components.ts +15 -0
- package/src/locales/default/error.ts +2 -54
- package/src/locales/default/index.ts +4 -0
- package/src/locales/default/modelProvider.ts +229 -0
- package/src/locales/default/setting.ts +51 -202
- package/src/migrations/FromV3ToV4/fixtures/azure-input-v3.json +79 -0
- package/src/migrations/FromV3ToV4/fixtures/azure-output-v4.json +75 -0
- package/src/migrations/FromV3ToV4/fixtures/ollama-input-v3.json +85 -0
- package/src/migrations/FromV3ToV4/fixtures/ollama-output-v4.json +86 -0
- package/src/migrations/FromV3ToV4/fixtures/openai-input-v3.json +77 -0
- package/src/migrations/FromV3ToV4/fixtures/openai-output-v4.json +79 -0
- package/src/migrations/FromV3ToV4/fixtures/openrouter-input-v3.json +82 -0
- package/src/migrations/FromV3ToV4/fixtures/openrouter-output-v4.json +89 -0
- package/src/migrations/FromV3ToV4/fixtures/output-v4-from-v1.json +203 -0
- package/src/migrations/FromV3ToV4/index.ts +96 -0
- package/src/migrations/FromV3ToV4/migrations.test.ts +195 -0
- package/src/migrations/FromV3ToV4/types/v3.ts +59 -0
- package/src/migrations/FromV3ToV4/types/v4.ts +37 -0
- package/src/migrations/index.ts +11 -3
- package/src/services/_auth.test.ts +4 -6
- package/src/services/_auth.ts +8 -60
- package/src/services/_header.ts +5 -22
- package/src/services/_url.ts +1 -0
- package/src/services/chat.ts +16 -6
- package/src/services/global.ts +1 -1
- package/src/services/models.ts +23 -0
- package/src/services/ollama.ts +2 -2
- package/src/store/chat/slices/share/action.test.ts +113 -0
- package/src/store/chat/slices/share/action.ts +1 -1
- package/src/store/global/slices/common/action.test.ts +166 -1
- package/src/store/global/slices/common/action.ts +2 -1
- package/src/store/global/slices/settings/{action.test.ts → actions/general.test.ts} +1 -19
- package/src/store/global/slices/settings/{action.ts → actions/general.ts} +4 -19
- package/src/store/global/slices/settings/actions/index.ts +18 -0
- package/src/store/global/slices/settings/actions/llm.test.ts +60 -0
- package/src/store/global/slices/settings/actions/llm.ts +88 -0
- package/src/store/global/slices/settings/initialState.ts +3 -1
- package/src/store/global/slices/settings/reducers/customModelCard.test.ts +204 -0
- package/src/store/global/slices/settings/reducers/customModelCard.ts +64 -0
- package/src/store/global/slices/settings/selectors/index.ts +1 -0
- package/src/store/global/slices/settings/selectors/modelConfig.test.ts +189 -0
- package/src/store/global/slices/settings/selectors/modelConfig.ts +179 -0
- package/src/store/global/slices/settings/selectors/modelProvider.test.ts +47 -138
- package/src/store/global/slices/settings/selectors/modelProvider.ts +102 -243
- package/src/store/global/store.ts +1 -1
- package/src/types/llm.ts +12 -1
- package/src/types/serverConfig.ts +22 -0
- package/src/types/settings/index.ts +0 -12
- package/src/types/settings/modelProvider.ts +34 -90
- package/src/utils/client/switchLang.test.ts +34 -0
- package/src/utils/difference.test.ts +46 -0
- package/src/utils/difference.ts +15 -2
- package/src/utils/fetch.ts +1 -3
- package/src/utils/parseModels.ts +62 -0
- package/vercel.json +1 -1
- package/docs/package.json +0 -5
- package/src/features/Conversation/Error/APIKeyForm/Anthropic.tsx +0 -40
- package/src/features/Conversation/Error/APIKeyForm/Google.tsx +0 -61
- package/src/features/Conversation/Error/APIKeyForm/Groq.tsx +0 -60
- package/src/features/Conversation/Error/APIKeyForm/Mistral.tsx +0 -60
- package/src/features/Conversation/Error/APIKeyForm/Moonshot.tsx +0 -60
- package/src/features/Conversation/Error/APIKeyForm/OpenAI.tsx +0 -63
- package/src/features/Conversation/Error/APIKeyForm/OpenRouter.tsx +0 -40
- package/src/features/Conversation/Error/APIKeyForm/Perplexity.tsx +0 -60
- package/src/features/Conversation/Error/APIKeyForm/TogetherAI.tsx +0 -40
- package/src/features/Conversation/Error/APIKeyForm/ZeroOne.tsx +0 -60
- package/src/features/Conversation/Error/APIKeyForm/Zhipu.tsx +0 -62
- package/src/libs/agent-runtime/utils/env.ts +0 -1
- package/src/store/global/slices/settings/selectors/__snapshots__/modelProvider.test.ts.snap +0 -230
- /package/src/app/api/chat/{auth.ts → auth/utils.ts} +0 -0
- /package/src/components/{AntdStaticMethods.tsx → AntdStaticMethods/index.tsx} +0 -0
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: LobeChat 移动设备适配 - 提升用户移动体验
|
|
3
|
+
description: LobeChat针对移动设备进行优化设计,版本迭代以实现更流畅直观的交互。欢迎通过GitHub Issues或Pull Requests提供反馈。
|
|
4
|
+
tags:
|
|
5
|
+
- LobeChat
|
|
6
|
+
- 移动设备适配
|
|
7
|
+
- 用户体验
|
|
8
|
+
- 版本迭代
|
|
9
|
+
- GitHub
|
|
10
|
+
- 反馈
|
|
11
|
+
---
|
|
1
12
|
# 移动设备适配
|
|
2
13
|
|
|
3
14
|
<Image alt={'移动端设备适配'} cover src={'https://github.com/lobehub/lobe-chat/assets/28616219/11110732-8d5a-4049-b556-c2561cb66182'} />
|
|
@@ -1,3 +1,16 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: More Features in LobeChat - Enhancing Design and Technical Capabilities
|
|
3
|
+
description: >-
|
|
4
|
+
Explore the additional features offered, including exquisite UI design, smooth
|
|
5
|
+
conversation experience, fast deployment options, privacy and security
|
|
6
|
+
measures, and custom domain support.
|
|
7
|
+
tags:
|
|
8
|
+
- UI Design
|
|
9
|
+
- Conversation Experience
|
|
10
|
+
- Deployment
|
|
11
|
+
- Privacy
|
|
12
|
+
- Custom Domain
|
|
13
|
+
---
|
|
1
14
|
# More Features
|
|
2
15
|
|
|
3
16
|
In addition to the above features, our design and technical capabilities will provide you with more assurance in usage:
|
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
---
|
|
2
|
-
title: Multi AI Providers
|
|
2
|
+
title: LobeChat with Multi AI Providers
|
|
3
|
+
description: >-
|
|
4
|
+
Discover how LobeChat offers diverse model service provider support, including
|
|
5
|
+
AWS Bedrock, Google AI Gemini series, ChatGLM, and Moonshot AI, to cater to
|
|
6
|
+
various user needs. Explore local model support with Ollama integration.
|
|
7
|
+
tags:
|
|
8
|
+
- LobeChat
|
|
9
|
+
- model service providers
|
|
10
|
+
- AWS Bedrock
|
|
11
|
+
- Google AI Gemini
|
|
12
|
+
- ChatGLM
|
|
13
|
+
- Moonshot AI
|
|
14
|
+
- local model support
|
|
15
|
+
- Ollama
|
|
3
16
|
---
|
|
4
17
|
|
|
5
18
|
# Multi-Model Service Provider Support
|
|
@@ -1,3 +1,19 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: LobeChat 支持多模型服务商
|
|
3
|
+
description: 了解 LobeChat 在多模型服务商支持方面的最新进展,包括已支持的模型服务商和计划中的扩展,以及本地模型支持的使用方式。
|
|
4
|
+
tags:
|
|
5
|
+
- LobeChat
|
|
6
|
+
- AI 会话服务
|
|
7
|
+
- 模型服务商
|
|
8
|
+
- 多模型支持
|
|
9
|
+
- 本地模型支持
|
|
10
|
+
- AWS Bedrock
|
|
11
|
+
- Google AI
|
|
12
|
+
- ChatGLM
|
|
13
|
+
- Moonshot AI
|
|
14
|
+
- 01 AI
|
|
15
|
+
- Ollama
|
|
16
|
+
---
|
|
1
17
|
# 多模型服务商支持
|
|
2
18
|
|
|
3
19
|
<Image alt={'多模型服务商支持'} borderless cover src={'https://github.com/lobehub/lobe-chat/assets/28616219/b164bc54-8ba2-4c1e-b2f2-f4d7f7e7a551'} />
|
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
---
|
|
2
|
-
title: Plugin System
|
|
2
|
+
title: Plugin System in LobeChat
|
|
3
|
+
description: >-
|
|
4
|
+
Explore the diverse plugin ecosystem of LobeChat, extending its capabilities
|
|
5
|
+
to provide real-time information, interact with various platforms, and
|
|
6
|
+
simplify user interactions.
|
|
7
|
+
tags:
|
|
8
|
+
- LobeChat
|
|
9
|
+
- Plugin Ecosystem
|
|
10
|
+
- Assistant Functionality
|
|
11
|
+
- Plugin Development
|
|
12
|
+
- SDK
|
|
13
|
+
- Chat Application
|
|
3
14
|
---
|
|
4
15
|
|
|
5
16
|
# Plugin System
|
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
---
|
|
2
|
-
title: Progressive Web Apps (PWA)
|
|
2
|
+
title: LobeChat support Progressive Web Apps (PWA)
|
|
3
|
+
description: >-
|
|
4
|
+
Discover how LobeChat utilizes Progressive Web App (PWA) technology to provide
|
|
5
|
+
a seamless and near-native app experience on both desktop and mobile devices.
|
|
6
|
+
Learn how to install LobeChat as a desktop app for enhanced convenience.
|
|
7
|
+
tags:
|
|
8
|
+
- Progressive Web App
|
|
9
|
+
- PWA
|
|
10
|
+
- LobeChat
|
|
11
|
+
- Web Applications
|
|
12
|
+
- User Experience
|
|
3
13
|
---
|
|
4
14
|
|
|
5
15
|
# Progressive Web App (PWA)
|
|
@@ -1,3 +1,16 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: LobeChat 支持渐进式 Web 应用(PWA)- 提升用户体验
|
|
3
|
+
description: 了解渐进式 Web 应用(PWA)技术如何提升网页应用至接近原生应用体验,以及如何在桌面和移动设备上提供优化的用户体验。
|
|
4
|
+
tags:
|
|
5
|
+
- 渐进式 Web 应用
|
|
6
|
+
- PWA 技术
|
|
7
|
+
- 用户体验
|
|
8
|
+
- 桌面应用
|
|
9
|
+
- 移动设备
|
|
10
|
+
- 轻量级
|
|
11
|
+
- 高性能
|
|
12
|
+
- 响应式布局
|
|
13
|
+
---
|
|
1
14
|
# 渐进式 Web 应用(PWA)
|
|
2
15
|
|
|
3
16
|
<Image alt={'渐进式 Web 应用(PWA)'} borderless cover src={'https://github.com/lobehub/lobe-chat/assets/28616219/ecc8364a-cfc4-4a3d-b6fd-68b2d9bc5f0d'} />
|
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
---
|
|
2
|
-
title: Text to Image
|
|
2
|
+
title: Text to Image in LobeChat
|
|
3
|
+
description: >-
|
|
4
|
+
Transform your ideas into images with the latest text-to-image generation
|
|
5
|
+
technology integrated into LobeChat AI Assistant. Experience a private and
|
|
6
|
+
immersive creative process.
|
|
7
|
+
tags:
|
|
8
|
+
- Text to Image Generation
|
|
9
|
+
- LobeChat AI Assistant
|
|
10
|
+
- DALL-E 3
|
|
11
|
+
- MidJourney
|
|
12
|
+
- Pollinations
|
|
3
13
|
---
|
|
4
14
|
|
|
5
15
|
# Text to Image Generation
|
|
@@ -1,3 +1,16 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: LobeChat 文生图:文本转图片生成技术
|
|
3
|
+
description: >-
|
|
4
|
+
LobeChat 现在支持最新的文本到图片生成技术,让用户可以在与助手对话中直接调用文生图工具进行创作。利用 DALL-E 3、MidJourney 和
|
|
5
|
+
Pollinations 等 AI 工具,助手们可以将你的想法转化为图像,让创作过程更私密和沉浸式。
|
|
6
|
+
tags:
|
|
7
|
+
- LobeChat
|
|
8
|
+
- 文生图
|
|
9
|
+
- DALL-E 3
|
|
10
|
+
- MidJourney
|
|
11
|
+
- Pollinations
|
|
12
|
+
- AI工具
|
|
13
|
+
---
|
|
1
14
|
# Text to Image 文生图
|
|
2
15
|
|
|
3
16
|
<Image
|
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
---
|
|
2
|
-
title: Custom Themes
|
|
2
|
+
title: LobeChat support Custom Themes
|
|
3
|
+
description: >-
|
|
4
|
+
Explore LobeChat's flexible theme modes and color customization options for a
|
|
5
|
+
personalized interface design. Switch between light and dark modes, customize
|
|
6
|
+
theme colors, and choose between conversation bubble and document modes.
|
|
7
|
+
tags:
|
|
8
|
+
- Custom Themes
|
|
9
|
+
- Personalized User Experiences
|
|
10
|
+
- Theme Modes
|
|
11
|
+
- Color Customization
|
|
12
|
+
- Interface Design
|
|
13
|
+
- LobeChat
|
|
3
14
|
---
|
|
4
15
|
|
|
5
16
|
# Custom Themes
|
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: LobeChat 自定义主题 - 个性化体验
|
|
3
|
+
description: 了解 LobeChat 的灵活多变主题模式,包括日间亮色模式和夜间深色模式,以及颜色定制选项,让用户根据喜好调整应用主题色彩。
|
|
4
|
+
tags:
|
|
5
|
+
- LobeChat
|
|
6
|
+
- 自定义主题
|
|
7
|
+
- 主题模式
|
|
8
|
+
- 颜色定制
|
|
9
|
+
- 界面设计
|
|
10
|
+
- 个性化体验
|
|
11
|
+
---
|
|
1
12
|
# 自定义主题
|
|
2
13
|
|
|
3
14
|
<Image alt={'自定义主题'} borderless cover src={'https://github.com/lobehub/lobe-chat/assets/28616219/9eca103c-9335-4a4c-8192-271a0b857b26'} />
|
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
---
|
|
2
|
-
title: Speech Synthesis and Recognition (TTS & STT)
|
|
2
|
+
title: LobeChat support Speech Synthesis and Recognition (TTS & STT)
|
|
3
|
+
description: >-
|
|
4
|
+
Experience seamless Text-to-Speech (TTS) and Speech-to-Text (STT) technologies
|
|
5
|
+
in LobeChat. Choose from a variety of high-quality voices for personalized
|
|
6
|
+
communication. Learn more about Lobe TTS toolkit @lobehub/tts.
|
|
7
|
+
tags:
|
|
8
|
+
- LobeChat
|
|
9
|
+
- TTS
|
|
10
|
+
- STT
|
|
11
|
+
- Voice Conversation
|
|
12
|
+
- Lobe TTS
|
|
13
|
+
- Text-to-Speech
|
|
14
|
+
- Speech-to-Text
|
|
15
|
+
- Voice Options
|
|
3
16
|
---
|
|
4
17
|
|
|
5
18
|
# TTS & STT Voice Conversation
|
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
---
|
|
2
|
-
title: Vision Recognition
|
|
2
|
+
title: LobeChat support Vision Recognition
|
|
3
|
+
description: >-
|
|
4
|
+
Discover how LobeChat integrates visual recognition capabilities like OpenAI's
|
|
5
|
+
gpt-4-vision and Google Gemini Pro vision for intelligent conversations based
|
|
6
|
+
on uploaded images.
|
|
7
|
+
tags:
|
|
8
|
+
- LobeChat
|
|
9
|
+
- Model Vision Recognition
|
|
10
|
+
- Multimodal Interaction
|
|
11
|
+
- Visual Elements
|
|
12
|
+
- Intelligent Conversations
|
|
3
13
|
---
|
|
4
14
|
|
|
5
15
|
# Model Vision Recognition
|
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Enhance Your LobeChat Assistant with Plugins
|
|
3
|
+
description: >-
|
|
4
|
+
Learn how to expand your LobeChat assistant's capabilities by enabling and
|
|
5
|
+
using various plugins. Access the Plugin Store, install plugins, and configure
|
|
6
|
+
them to enhance your assistant's functionality.
|
|
7
|
+
tags:
|
|
8
|
+
- LobeChat plugins
|
|
9
|
+
- Plugin Store
|
|
10
|
+
- Using Plugins
|
|
11
|
+
- Plugin Configuration
|
|
12
|
+
---
|
|
1
13
|
# Plugin Usage
|
|
2
14
|
|
|
3
15
|
The plugin system is a key element in expanding the capabilities of assistants in LobeChat. You can enhance the assistant's abilities by enabling a variety of plugins.
|
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Custom LobeChat Plugins Installation and Development Guide
|
|
3
|
+
description: >-
|
|
4
|
+
Learn how to install custom plugins in LobeChat and develop your own plugins
|
|
5
|
+
to enhance your AI assistant's capabilities.
|
|
6
|
+
tags:
|
|
7
|
+
- Custom Plugins
|
|
8
|
+
- LobeChat
|
|
9
|
+
- Plugin Installation
|
|
10
|
+
- Plugin Development
|
|
11
|
+
- ChatGPT Plugins
|
|
12
|
+
---
|
|
1
13
|
# Custom Plugins
|
|
2
14
|
|
|
3
15
|
## Installing Custom Plugins
|
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: LobeChat Plugin Development Guide
|
|
3
|
+
description: >-
|
|
4
|
+
Learn how to create and integrate custom plugins in LobeChat, including plugin
|
|
5
|
+
composition, custom plugin workflow, local plugin development, manifest
|
|
6
|
+
structure, project structure, server-side implementation, plugin UI interface,
|
|
7
|
+
deployment, and release.
|
|
8
|
+
tags:
|
|
9
|
+
- Plugin Development
|
|
10
|
+
- LobeChat
|
|
11
|
+
- Custom Plugins
|
|
12
|
+
- Plugin Workflow
|
|
13
|
+
- Manifest Structure
|
|
14
|
+
- Server-side Implementation
|
|
15
|
+
- Plugin UI Interface
|
|
16
|
+
- Deployment
|
|
17
|
+
- Release
|
|
18
|
+
---
|
|
1
19
|
# Plugin Development Guide
|
|
2
20
|
|
|
3
21
|
## Plugin Composition
|
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: LobeChat Plugin Store
|
|
3
|
+
description: >-
|
|
4
|
+
Learn how to access the Plugin Store in LobeChat to easily install and use
|
|
5
|
+
various plugins for enhanced functionality.
|
|
6
|
+
tags:
|
|
7
|
+
- Plugin Store
|
|
8
|
+
- LobeChat
|
|
9
|
+
- Install Plugins
|
|
10
|
+
- Extension Tools
|
|
11
|
+
- Enhanced Functionality
|
|
12
|
+
---
|
|
1
13
|
# Plugin Store
|
|
2
14
|
|
|
3
15
|
You can access the plugin store by going to `Extension Tools` -> `Plugin Store` in the session toolbar.
|
|
@@ -1,6 +1,17 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: Using Groq in LobeChat
|
|
3
|
-
|
|
3
|
+
description: >-
|
|
4
|
+
Integrate Groq's LPU Inference Engine with LobeChat to accelerate large
|
|
5
|
+
language models. Learn how to obtain GroqCloud API keys and configure Groq in
|
|
6
|
+
LobeChat for optimal performance.
|
|
7
|
+
tags:
|
|
8
|
+
- Groq
|
|
9
|
+
- LobeChat
|
|
10
|
+
- AI solutions
|
|
11
|
+
- LPU Inference Engine
|
|
12
|
+
- GroqCloud
|
|
13
|
+
- API keys
|
|
14
|
+
- Language Model
|
|
4
15
|
---
|
|
5
16
|
|
|
6
17
|
import { Callout, Steps } from 'nextra/components';
|
|
@@ -30,7 +41,8 @@ This document will guide you on how to use Groq in LobeChat:
|
|
|
30
41
|
|
|
31
42
|
<Callout type={'warning'}>
|
|
32
43
|
Safely store the key from the pop-up as it will only appear once. If you accidentally lose it, you will need to create a new key.
|
|
33
|
-
|
|
44
|
+
|
|
45
|
+
</Callout>
|
|
34
46
|
|
|
35
47
|
### Configure Groq in LobeChat
|
|
36
48
|
|
|
@@ -1,6 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: 在 LobeChat 中使用 Groq
|
|
3
|
-
|
|
3
|
+
description: >-
|
|
4
|
+
通过 LobeChat 与 Groq Cloud 的集成,利用 Groq 的技术加速大语言模型的运行。了解如何获取 GroqCloud API Key,并在
|
|
5
|
+
LobeChat 中配置 Groq,体验 Groq 强大的性能。
|
|
6
|
+
tags:
|
|
7
|
+
- Groq
|
|
8
|
+
- LobeChat
|
|
9
|
+
- 大语言模型
|
|
10
|
+
- AI 解决方案
|
|
11
|
+
- API Key
|
|
12
|
+
- GroqCloud
|
|
4
13
|
---
|
|
5
14
|
|
|
6
15
|
# 在 LobeChat 中使用 Groq
|
|
@@ -28,7 +37,8 @@ Groq 的 [LPU 推理引擎](https://wow.groq.com/news_press/groq-lpu-inference-e
|
|
|
28
37
|
|
|
29
38
|
<Callout type={'warning'}>
|
|
30
39
|
妥善保存弹窗中的 key,它只会出现一次,如果不小心丢失了,你需要重新创建一个 key。
|
|
31
|
-
|
|
40
|
+
|
|
41
|
+
</Callout>
|
|
32
42
|
|
|
33
43
|
### 在 LobeChat 中配置 Groq
|
|
34
44
|
|
|
@@ -1,6 +1,15 @@
|
|
|
1
1
|
---
|
|
2
|
-
title: Using Google Gemma Model
|
|
3
|
-
|
|
2
|
+
title: Using Google Gemma Model in LobeChat
|
|
3
|
+
description: >-
|
|
4
|
+
Learn how to integrate and utilize Google Gemma in LobeChat, an open-source
|
|
5
|
+
large language model, in LobeChat with the help of Ollama. Follow these steps
|
|
6
|
+
to pull and select the Gemma model for natural language processing tasks.
|
|
7
|
+
tags:
|
|
8
|
+
- Google Gemma
|
|
9
|
+
- LobeChat
|
|
10
|
+
- Ollama
|
|
11
|
+
- Natural Language Processing
|
|
12
|
+
- Language Model
|
|
4
13
|
---
|
|
5
14
|
|
|
6
15
|
# Using Google Gemma Model
|
|
@@ -36,7 +45,8 @@ This document will guide you on how to use Google Gemma in LobeChat:
|
|
|
36
45
|
If you do not see the Ollama provider in the model selection panel, please refer to [Integrating
|
|
37
46
|
with Ollama](/en/self-hosting/examples/ollama) to learn how to enable the Ollama provider in
|
|
38
47
|
LobeChat.
|
|
39
|
-
|
|
48
|
+
|
|
49
|
+
</Callout>
|
|
40
50
|
</Steps>
|
|
41
51
|
|
|
42
52
|
Now, you can start conversing with the local Gemma model using LobeChat.
|
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
---
|
|
2
|
-
title:
|
|
3
|
-
|
|
2
|
+
title: 在 LobeChat 中使用 Google Gemma 模型
|
|
3
|
+
description: >-
|
|
4
|
+
通过 LobeChat 与 Ollama 的集成,轻松使用 Google Gemma 模型进行自然语言处理任务。安装 Ollama,拉取 Gemma
|
|
5
|
+
模型,选择模型面板中的 Gemma 模型,开始对话。
|
|
6
|
+
tags:
|
|
7
|
+
- Google Gemma
|
|
8
|
+
- LobeChat
|
|
9
|
+
- Ollama
|
|
10
|
+
- 自然语言处理
|
|
11
|
+
- 模型选择
|
|
4
12
|
---
|
|
5
13
|
|
|
6
14
|
# 使用 Google Gemma 模型
|
|
@@ -35,7 +43,8 @@ image: https://github.com/lobehub/lobe-chat/assets/28616219/817f5655-4f9e-414b-a
|
|
|
35
43
|
<Callout type={'info'}>
|
|
36
44
|
如果你没有在模型选择面板中看到 Ollama 服务商,请查阅 [与 Ollama
|
|
37
45
|
集成](/zh/self-hosting/examples/ollama) 了解如何在 LobeChat 中开启 Ollama 服务商。
|
|
38
|
-
|
|
46
|
+
|
|
47
|
+
</Callout>
|
|
39
48
|
</Steps>
|
|
40
49
|
|
|
41
50
|
接下来,你就可以使用 LobeChat 与本地 Gemma 模型对话了。
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
---
|
|
2
|
-
title: Using
|
|
3
|
-
|
|
2
|
+
title: Using Local Qwen Model in LobeChat
|
|
3
|
+
description: 通过LobeChat和Ollama的集成,您可以轻松在LobeChat中使用Qwen。本文将指导您如何在LobeChat中使用本地部署版本的Qwen。
|
|
4
|
+
tags:
|
|
5
|
+
- Qwen
|
|
6
|
+
- LobeChat
|
|
7
|
+
- Ollama
|
|
8
|
+
- 本地部署
|
|
9
|
+
- AI大模型
|
|
4
10
|
---
|
|
5
11
|
|
|
6
12
|
# Using the Local Qwen Model
|
|
@@ -29,7 +35,8 @@ Now, through the integration of LobeChat and [Ollama](https://ollama.com/), you
|
|
|
29
35
|
The local version of Qwen provides different model sizes to choose from. Please refer to the
|
|
30
36
|
[Qwen's Ollama integration page](https://ollama.com/library/qwen) to understand how to choose the
|
|
31
37
|
model size.
|
|
32
|
-
|
|
38
|
+
|
|
39
|
+
</Callout>
|
|
33
40
|
|
|
34
41
|
<Image alt={'Use Ollama Pull Qwen Model'} height={473} inStep src={'https://github.com/lobehub/lobe-chat/assets/1845053/fe34fdfe-c2e4-4d6a-84d7-4ebc61b2516a'} />
|
|
35
42
|
|
|
@@ -41,7 +48,8 @@ Now, through the integration of LobeChat and [Ollama](https://ollama.com/), you
|
|
|
41
48
|
|
|
42
49
|
<Callout type={'info'}>
|
|
43
50
|
If you do not see the Ollama provider in the model selection panel, please refer to [Integration with Ollama](/en/self-hosting/examples/ollama) to learn how to enable the Ollama provider in LobeChat.
|
|
44
|
-
|
|
51
|
+
|
|
52
|
+
</Callout>
|
|
45
53
|
</Steps>
|
|
46
54
|
|
|
47
55
|
Next, you can have a conversation with the local Qwen model in LobeChat.
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
---
|
|
2
|
-
title:
|
|
3
|
-
|
|
2
|
+
title: 在 LobeChat 中使用本地通义千问 Qwen 模型
|
|
3
|
+
description: 通过 LobeChat 与 Ollama 的集成,轻松在本地部署的通义千问 Qwen 模型中进行对话。学习如何安装和选择 Qwen 模型。
|
|
4
|
+
tags:
|
|
5
|
+
- 通义千问
|
|
6
|
+
- Qwen模型
|
|
7
|
+
- LobeChat集成
|
|
8
|
+
- Ollama
|
|
9
|
+
- 本地部署
|
|
4
10
|
---
|
|
5
11
|
|
|
6
12
|
# 使用本地通义千问 Qwen 模型
|
|
@@ -39,7 +45,8 @@ image: https://github.com/lobehub/lobe-chat/assets/28616219/689e19ea-3003-4e15-a
|
|
|
39
45
|
<Callout type={'info'}>
|
|
40
46
|
如果你没有在模型选择面板中看到 Ollama 服务商,请查阅 [与 Ollama
|
|
41
47
|
集成](/zh/self-hosting/examples/ollama) 了解如何在 LobeChat 中开启 Ollama 服务商。
|
|
42
|
-
|
|
48
|
+
|
|
49
|
+
</Callout>
|
|
43
50
|
</Steps>
|
|
44
51
|
|
|
45
52
|
接下来,你就可以使用 LobeChat 与本地 Qwen 模型对话了。
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: Using Ollama in LobeChat
|
|
3
|
-
|
|
3
|
+
description: 了解如何在 LobeChat 中使用 Ollama 框架,以增强您的应用程序。
|
|
4
|
+
tags:
|
|
5
|
+
- Ollama
|
|
6
|
+
- LobeChat
|
|
7
|
+
- 语言模型
|
|
8
|
+
- 集成
|
|
9
|
+
- 自定义配置
|
|
4
10
|
---
|
|
5
11
|
|
|
6
12
|
# Using Ollama in LobeChat
|
|
@@ -17,9 +23,9 @@ This document will guide you on how to use Ollama in LobeChat:
|
|
|
17
23
|
First, you need to install Ollama, which supports macOS, Windows, and Linux systems. Depending on your operating system, choose one of the following installation methods:
|
|
18
24
|
|
|
19
25
|
<Tabs items={['macOS', 'Linux', 'Windows (Preview)', 'Docker']}>
|
|
20
|
-
<
|
|
26
|
+
<Tab>[Download Ollama for macOS](https://ollama.com/download) and unzip it.</Tab>
|
|
21
27
|
|
|
22
|
-
<
|
|
28
|
+
<Tab>
|
|
23
29
|
````bash
|
|
24
30
|
Install using the following command:
|
|
25
31
|
|
|
@@ -28,18 +34,21 @@ This document will guide you on how to use Ollama in LobeChat:
|
|
|
28
34
|
````
|
|
29
35
|
|
|
30
36
|
Alternatively, you can refer to the [Linux manual installation guide](https://github.com/jmorganca/ollama/blob/main/docs/linux.md).
|
|
31
|
-
|
|
37
|
+
|
|
38
|
+
</Tab>
|
|
32
39
|
|
|
33
|
-
<
|
|
40
|
+
<Tab>[Download Ollama for Windows](https://ollama.com/download) and install it.</Tab>
|
|
34
41
|
|
|
35
|
-
<
|
|
42
|
+
<Tab>
|
|
36
43
|
If you prefer using Docker, Ollama also provides an official Docker image, which you can pull using the following command:
|
|
37
44
|
|
|
38
45
|
```bash
|
|
39
46
|
docker pull ollama/ollama
|
|
40
47
|
```
|
|
41
|
-
|
|
42
|
-
|
|
48
|
+
|
|
49
|
+
</Tab>
|
|
50
|
+
|
|
51
|
+
</Tabs>
|
|
43
52
|
|
|
44
53
|
### Pulling Models to Local with Ollama
|
|
45
54
|
|
|
@@ -60,7 +69,8 @@ This document will guide you on how to use Ollama in LobeChat:
|
|
|
60
69
|
<Callout type={'info'}>
|
|
61
70
|
You can visit [Integrating with Ollama](/en/self-hosting/examples/ollama) to learn how to deploy
|
|
62
71
|
LobeChat to meet the integration requirements with Ollama.
|
|
63
|
-
|
|
72
|
+
|
|
73
|
+
</Callout>
|
|
64
74
|
</Steps>
|
|
65
75
|
|
|
66
76
|
## Custom Configuration
|