@lobehub/chat 1.44.3 → 1.45.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/.remarkrc.mdx.js +6 -0
- package/CHANGELOG.md +25 -0
- package/changelog/v1.json +9 -0
- package/docs/changelog/2023-09-09-plugin-system.mdx +5 -0
- package/docs/changelog/2023-09-09-plugin-system.zh-CN.mdx +5 -0
- package/docs/changelog/2023-11-14-gpt4-vision.mdx +6 -0
- package/docs/changelog/2023-11-14-gpt4-vision.zh-CN.mdx +6 -0
- package/docs/changelog/2023-11-19-tts-stt.mdx +6 -0
- package/docs/changelog/2023-11-19-tts-stt.zh-CN.mdx +7 -0
- package/docs/changelog/2023-12-22-dalle-3.mdx +6 -0
- package/docs/changelog/2023-12-22-dalle-3.zh-CN.mdx +4 -0
- package/docs/changelog/2024-02-08-sso-oauth.mdx +6 -0
- package/docs/changelog/2024-02-08-sso-oauth.zh-CN.mdx +6 -0
- package/docs/changelog/2024-02-14-ollama.mdx +6 -0
- package/docs/changelog/2024-02-14-ollama.zh-CN.mdx +5 -0
- package/docs/changelog/2024-06-19-lobe-chat-v1.mdx +6 -0
- package/docs/changelog/2024-06-19-lobe-chat-v1.zh-CN.mdx +5 -0
- package/docs/changelog/2024-07-19-gpt-4o-mini.mdx +5 -0
- package/docs/changelog/2024-07-19-gpt-4o-mini.zh-CN.mdx +4 -0
- package/docs/changelog/2024-08-02-lobe-chat-database-docker.mdx +6 -0
- package/docs/changelog/2024-08-02-lobe-chat-database-docker.zh-CN.mdx +5 -0
- package/docs/changelog/2024-08-21-file-upload-and-knowledge-base.mdx +6 -0
- package/docs/changelog/2024-08-21-file-upload-and-knowledge-base.zh-CN.mdx +5 -0
- package/docs/changelog/2024-09-13-openai-o1-models.mdx +6 -0
- package/docs/changelog/2024-09-13-openai-o1-models.zh-CN.mdx +6 -0
- package/docs/changelog/2024-09-20-artifacts.mdx +6 -0
- package/docs/changelog/2024-09-20-artifacts.zh-CN.mdx +6 -0
- package/docs/changelog/2024-10-27-pin-assistant.mdx +5 -0
- package/docs/changelog/2024-10-27-pin-assistant.zh-CN.mdx +4 -0
- package/docs/changelog/2024-11-06-share-text-json.mdx +4 -0
- package/docs/changelog/2024-11-06-share-text-json.zh-CN.mdx +4 -0
- package/docs/changelog/2024-11-25-november-providers.mdx +7 -0
- package/docs/changelog/2024-11-25-november-providers.zh-CN.mdx +7 -0
- package/docs/changelog/2024-11-27-forkable-chat.mdx +4 -0
- package/docs/changelog/2024-11-27-forkable-chat.zh-CN.mdx +5 -0
- package/docs/changelog/2025-01-03-user-profile.mdx +5 -0
- package/docs/changelog/2025-01-03-user-profile.zh-CN.mdx +4 -1
- package/docs/self-hosting/advanced/auth/clerk.mdx +25 -41
- package/docs/self-hosting/advanced/auth/clerk.zh-CN.mdx +23 -37
- package/docs/self-hosting/advanced/auth/next-auth/auth0.mdx +31 -58
- package/docs/self-hosting/advanced/auth/next-auth/auth0.zh-CN.mdx +30 -57
- package/docs/self-hosting/advanced/auth/next-auth/authelia.mdx +38 -38
- package/docs/self-hosting/advanced/auth/next-auth/authelia.zh-CN.mdx +37 -38
- package/docs/self-hosting/advanced/auth/next-auth/authentik.mdx +26 -31
- package/docs/self-hosting/advanced/auth/next-auth/authentik.zh-CN.mdx +25 -30
- package/docs/self-hosting/advanced/auth/next-auth/casdoor.mdx +74 -75
- package/docs/self-hosting/advanced/auth/next-auth/casdoor.zh-CN.mdx +72 -73
- package/docs/self-hosting/advanced/auth/next-auth/cloudflare-zero-trust.mdx +24 -25
- package/docs/self-hosting/advanced/auth/next-auth/cloudflare-zero-trust.zh-CN.mdx +23 -24
- package/docs/self-hosting/advanced/auth/next-auth/github.mdx +46 -73
- package/docs/self-hosting/advanced/auth/next-auth/github.zh-CN.mdx +43 -70
- package/docs/self-hosting/advanced/auth/next-auth/logto.mdx +28 -37
- package/docs/self-hosting/advanced/auth/next-auth/logto.zh-CN.mdx +28 -37
- package/docs/self-hosting/advanced/auth/next-auth/microsoft-entra-id.mdx +36 -49
- package/docs/self-hosting/advanced/auth/next-auth/microsoft-entra-id.zh-CN.mdx +30 -43
- package/docs/self-hosting/advanced/auth/next-auth/wechat.mdx +13 -14
- package/docs/self-hosting/advanced/auth/next-auth/wechat.zh-CN.mdx +14 -15
- package/docs/self-hosting/advanced/auth/next-auth/zitadel.mdx +35 -69
- package/docs/self-hosting/advanced/auth/next-auth/zitadel.zh-CN.mdx +34 -68
- package/docs/self-hosting/advanced/auth.mdx +14 -13
- package/docs/self-hosting/advanced/auth.zh-CN.mdx +15 -14
- package/docs/self-hosting/advanced/feature-flags.zh-CN.mdx +15 -15
- package/docs/self-hosting/advanced/knowledge-base.mdx +14 -3
- package/docs/self-hosting/advanced/knowledge-base.zh-CN.mdx +12 -3
- package/docs/self-hosting/advanced/model-list.zh-CN.mdx +5 -5
- package/docs/self-hosting/advanced/s3/cloudflare-r2.mdx +52 -81
- package/docs/self-hosting/advanced/s3/cloudflare-r2.zh-CN.mdx +51 -80
- package/docs/self-hosting/advanced/s3/tencent-cloud.mdx +20 -34
- package/docs/self-hosting/advanced/s3/tencent-cloud.zh-CN.mdx +28 -43
- package/docs/self-hosting/advanced/s3.mdx +30 -34
- package/docs/self-hosting/advanced/s3.zh-CN.mdx +28 -33
- package/docs/self-hosting/advanced/settings-url-share.mdx +6 -6
- package/docs/self-hosting/advanced/settings-url-share.zh-CN.mdx +19 -19
- package/docs/self-hosting/advanced/upstream-sync.mdx +73 -89
- package/docs/self-hosting/advanced/upstream-sync.zh-CN.mdx +71 -87
- package/docs/self-hosting/advanced/webrtc.mdx +14 -21
- package/docs/self-hosting/advanced/webrtc.zh-CN.mdx +19 -26
- package/docs/self-hosting/environment-variables/analytics.zh-CN.mdx +0 -3
- package/docs/self-hosting/environment-variables/auth.zh-CN.mdx +1 -1
- package/docs/self-hosting/environment-variables/basic.mdx +13 -13
- package/docs/self-hosting/environment-variables/basic.zh-CN.mdx +15 -15
- package/docs/self-hosting/environment-variables/model-provider.mdx +1 -1
- package/docs/self-hosting/environment-variables/model-provider.zh-CN.mdx +1 -1
- package/docs/self-hosting/environment-variables/s3.mdx +3 -4
- package/docs/self-hosting/environment-variables/s3.zh-CN.mdx +5 -7
- package/docs/self-hosting/environment-variables.mdx +8 -4
- package/docs/self-hosting/environment-variables.zh-CN.mdx +4 -0
- package/docs/self-hosting/examples/azure-openai.mdx +9 -12
- package/docs/self-hosting/examples/azure-openai.zh-CN.mdx +8 -11
- package/docs/self-hosting/examples/ollama.mdx +8 -7
- package/docs/self-hosting/examples/ollama.zh-CN.mdx +8 -7
- package/docs/self-hosting/platform/alibaba-cloud.mdx +5 -7
- package/docs/self-hosting/platform/alibaba-cloud.zh-CN.mdx +5 -7
- package/docs/self-hosting/platform/btpanel.mdx +3 -2
- package/docs/self-hosting/platform/btpanel.zh-CN.mdx +3 -3
- package/docs/self-hosting/platform/docker-compose.mdx +75 -85
- package/docs/self-hosting/platform/docker-compose.zh-CN.mdx +75 -85
- package/docs/self-hosting/platform/docker.mdx +87 -92
- package/docs/self-hosting/platform/docker.zh-CN.mdx +96 -115
- package/docs/self-hosting/platform/netlify.mdx +44 -94
- package/docs/self-hosting/platform/netlify.zh-CN.mdx +40 -90
- package/docs/self-hosting/platform/railway.mdx +6 -7
- package/docs/self-hosting/platform/railway.zh-CN.mdx +6 -7
- package/docs/self-hosting/platform/repocloud.mdx +6 -7
- package/docs/self-hosting/platform/repocloud.zh-CN.mdx +6 -7
- package/docs/self-hosting/platform/sealos.mdx +6 -7
- package/docs/self-hosting/platform/sealos.zh-CN.mdx +6 -7
- package/docs/self-hosting/platform/vercel.mdx +7 -8
- package/docs/self-hosting/platform/vercel.zh-CN.mdx +7 -8
- package/docs/self-hosting/platform/zeabur.mdx +29 -32
- package/docs/self-hosting/platform/zeabur.zh-CN.mdx +29 -32
- package/docs/self-hosting/server-database/docker-compose.mdx +44 -71
- package/docs/self-hosting/server-database/docker-compose.zh-CN.mdx +44 -71
- package/docs/self-hosting/server-database/docker.mdx +84 -88
- package/docs/self-hosting/server-database/docker.zh-CN.mdx +87 -91
- package/docs/self-hosting/server-database/dokploy.mdx +18 -1
- package/docs/self-hosting/server-database/dokploy.zh-CN.mdx +84 -68
- package/docs/self-hosting/server-database/repocloud.mdx +7 -9
- package/docs/self-hosting/server-database/repocloud.zh-CN.mdx +9 -11
- package/docs/self-hosting/server-database/vercel.mdx +158 -243
- package/docs/self-hosting/server-database/vercel.zh-CN.mdx +137 -205
- package/docs/self-hosting/server-database/zeabur.mdx +21 -23
- package/docs/self-hosting/server-database/zeabur.zh-CN.mdx +20 -22
- package/docs/self-hosting/server-database.mdx +34 -36
- package/docs/self-hosting/server-database.zh-CN.mdx +34 -37
- package/docs/self-hosting/start.mdx +1 -4
- package/docs/self-hosting/start.zh-CN.mdx +1 -1
- package/docs/usage/agents/agent-organization.mdx +5 -21
- package/docs/usage/agents/agent-organization.zh-CN.mdx +5 -21
- package/docs/usage/agents/concepts.mdx +4 -4
- package/docs/usage/agents/concepts.zh-CN.mdx +4 -4
- package/docs/usage/agents/custom-agent.mdx +2 -2
- package/docs/usage/agents/custom-agent.zh-CN.mdx +2 -2
- package/docs/usage/agents/model.mdx +4 -4
- package/docs/usage/agents/model.zh-CN.mdx +6 -6
- package/docs/usage/agents/prompt.mdx +5 -6
- package/docs/usage/agents/prompt.zh-CN.mdx +5 -6
- package/docs/usage/agents/topics.mdx +2 -2
- package/docs/usage/agents/topics.zh-CN.mdx +2 -2
- package/docs/usage/features/agent-market.mdx +2 -2
- package/docs/usage/features/agent-market.zh-CN.mdx +2 -2
- package/docs/usage/features/auth.mdx +1 -5
- package/docs/usage/features/auth.zh-CN.mdx +1 -5
- package/docs/usage/features/database.mdx +1 -5
- package/docs/usage/features/database.zh-CN.mdx +1 -5
- package/docs/usage/features/local-llm.mdx +2 -6
- package/docs/usage/features/local-llm.zh-CN.mdx +2 -6
- package/docs/usage/features/mobile.mdx +1 -5
- package/docs/usage/features/mobile.zh-CN.mdx +1 -5
- package/docs/usage/features/multi-ai-providers.mdx +3 -11
- package/docs/usage/features/multi-ai-providers.zh-CN.mdx +3 -11
- package/docs/usage/features/plugin-system.mdx +9 -10
- package/docs/usage/features/plugin-system.zh-CN.mdx +9 -10
- package/docs/usage/features/pwa.mdx +11 -25
- package/docs/usage/features/pwa.zh-CN.mdx +11 -25
- package/docs/usage/features/text-to-image.mdx +2 -2
- package/docs/usage/features/text-to-image.zh-CN.mdx +2 -2
- package/docs/usage/features/theme.mdx +1 -6
- package/docs/usage/features/theme.zh-CN.mdx +1 -6
- package/docs/usage/features/tts.mdx +3 -7
- package/docs/usage/features/tts.zh-CN.mdx +3 -7
- package/docs/usage/features/vision.mdx +2 -2
- package/docs/usage/features/vision.zh-CN.mdx +2 -2
- package/docs/usage/foundation/basic.mdx +7 -18
- package/docs/usage/foundation/basic.zh-CN.mdx +6 -16
- package/docs/usage/foundation/share.mdx +3 -13
- package/docs/usage/foundation/share.zh-CN.mdx +3 -13
- package/docs/usage/foundation/text2image.mdx +3 -12
- package/docs/usage/foundation/text2image.zh-CN.mdx +3 -12
- package/docs/usage/foundation/translate.mdx +3 -13
- package/docs/usage/foundation/translate.zh-CN.mdx +3 -13
- package/docs/usage/foundation/tts-stt.mdx +3 -12
- package/docs/usage/foundation/tts-stt.zh-CN.mdx +3 -12
- package/docs/usage/foundation/vision.mdx +4 -16
- package/docs/usage/foundation/vision.zh-CN.mdx +4 -16
- package/docs/usage/plugins/basic-usage.mdx +7 -30
- package/docs/usage/plugins/basic-usage.zh-CN.mdx +7 -30
- package/docs/usage/plugins/development.mdx +30 -78
- package/docs/usage/plugins/development.zh-CN.mdx +31 -79
- package/docs/usage/plugins/store.mdx +2 -10
- package/docs/usage/plugins/store.zh-CN.mdx +2 -10
- package/docs/usage/providers/ai21.mdx +17 -33
- package/docs/usage/providers/ai21.zh-CN.mdx +17 -33
- package/docs/usage/providers/ai360.mdx +17 -33
- package/docs/usage/providers/ai360.zh-CN.mdx +20 -36
- package/docs/usage/providers/anthropic.mdx +23 -45
- package/docs/usage/providers/anthropic.zh-CN.mdx +22 -44
- package/docs/usage/providers/azure.mdx +21 -51
- package/docs/usage/providers/azure.zh-CN.mdx +19 -48
- package/docs/usage/providers/baichuan.mdx +16 -34
- package/docs/usage/providers/baichuan.zh-CN.mdx +15 -33
- package/docs/usage/providers/bedrock.mdx +38 -87
- package/docs/usage/providers/bedrock.zh-CN.mdx +37 -86
- package/docs/usage/providers/cloudflare.mdx +25 -48
- package/docs/usage/providers/cloudflare.zh-CN.mdx +24 -45
- package/docs/usage/providers/deepseek.mdx +25 -51
- package/docs/usage/providers/deepseek.zh-CN.mdx +24 -50
- package/docs/usage/providers/fireworksai.mdx +23 -43
- package/docs/usage/providers/fireworksai.zh-CN.mdx +21 -41
- package/docs/usage/providers/gemini.mdx +20 -46
- package/docs/usage/providers/gemini.zh-CN.mdx +20 -46
- package/docs/usage/providers/giteeai.mdx +24 -45
- package/docs/usage/providers/giteeai.zh-CN.mdx +22 -43
- package/docs/usage/providers/github.mdx +19 -45
- package/docs/usage/providers/github.zh-CN.mdx +19 -44
- package/docs/usage/providers/groq.mdx +12 -29
- package/docs/usage/providers/groq.zh-CN.mdx +11 -28
- package/docs/usage/providers/hunyuan.mdx +19 -39
- package/docs/usage/providers/hunyuan.zh-CN.mdx +18 -38
- package/docs/usage/providers/internlm.mdx +21 -38
- package/docs/usage/providers/internlm.zh-CN.mdx +19 -36
- package/docs/usage/providers/minimax.mdx +24 -50
- package/docs/usage/providers/minimax.zh-CN.mdx +22 -48
- package/docs/usage/providers/mistral.mdx +21 -39
- package/docs/usage/providers/mistral.zh-CN.mdx +20 -38
- package/docs/usage/providers/moonshot.mdx +20 -38
- package/docs/usage/providers/moonshot.zh-CN.mdx +19 -37
- package/docs/usage/providers/novita.mdx +20 -43
- package/docs/usage/providers/novita.zh-CN.mdx +19 -42
- package/docs/usage/providers/ollama/gemma.mdx +12 -29
- package/docs/usage/providers/ollama/gemma.zh-CN.mdx +12 -30
- package/docs/usage/providers/ollama/qwen.mdx +17 -32
- package/docs/usage/providers/ollama/qwen.zh-CN.mdx +12 -27
- package/docs/usage/providers/ollama.mdx +67 -99
- package/docs/usage/providers/ollama.zh-CN.mdx +67 -99
- package/docs/usage/providers/openai.mdx +42 -56
- package/docs/usage/providers/openai.zh-CN.mdx +39 -52
- package/docs/usage/providers/openrouter.mdx +48 -84
- package/docs/usage/providers/openrouter.zh-CN.mdx +31 -67
- package/docs/usage/providers/perplexity.mdx +16 -34
- package/docs/usage/providers/perplexity.zh-CN.mdx +16 -34
- package/docs/usage/providers/qwen.mdx +26 -52
- package/docs/usage/providers/qwen.zh-CN.mdx +25 -51
- package/docs/usage/providers/sensenova.mdx +24 -45
- package/docs/usage/providers/sensenova.zh-CN.mdx +22 -43
- package/docs/usage/providers/siliconcloud.mdx +17 -33
- package/docs/usage/providers/siliconcloud.zh-CN.mdx +17 -33
- package/docs/usage/providers/spark.mdx +20 -40
- package/docs/usage/providers/spark.zh-CN.mdx +19 -39
- package/docs/usage/providers/stepfun.mdx +17 -35
- package/docs/usage/providers/stepfun.zh-CN.mdx +17 -35
- package/docs/usage/providers/taichu.mdx +16 -34
- package/docs/usage/providers/taichu.zh-CN.mdx +15 -33
- package/docs/usage/providers/togetherai.mdx +18 -40
- package/docs/usage/providers/togetherai.zh-CN.mdx +18 -40
- package/docs/usage/providers/upstage.mdx +18 -34
- package/docs/usage/providers/upstage.zh-CN.mdx +17 -33
- package/docs/usage/providers/wenxin.mdx +22 -42
- package/docs/usage/providers/wenxin.zh-CN.mdx +20 -40
- package/docs/usage/providers/xai.mdx +21 -38
- package/docs/usage/providers/xai.zh-CN.mdx +20 -37
- package/docs/usage/providers/zeroone.mdx +22 -48
- package/docs/usage/providers/zeroone.zh-CN.mdx +22 -48
- package/docs/usage/providers/zhipu.mdx +17 -35
- package/docs/usage/providers/zhipu.zh-CN.mdx +18 -34
- package/docs/usage/providers.mdx +1 -6
- package/docs/usage/providers.zh-CN.mdx +1 -6
- package/docs/usage/start.mdx +4 -18
- package/docs/usage/start.zh-CN.mdx +2 -19
- package/docs/usage/tools-calling/anthropic.mdx +18 -51
- package/docs/usage/tools-calling/anthropic.zh-CN.mdx +22 -55
- package/docs/usage/tools-calling/google.mdx +16 -23
- package/docs/usage/tools-calling/google.zh-CN.mdx +17 -24
- package/docs/usage/tools-calling/groq.mdx +9 -0
- package/docs/usage/tools-calling/groq.zh-CN.mdx +44 -70
- package/docs/usage/tools-calling/moonshot.mdx +9 -0
- package/docs/usage/tools-calling/openai.mdx +19 -44
- package/docs/usage/tools-calling/openai.zh-CN.mdx +20 -45
- package/docs/usage/tools-calling.mdx +9 -0
- package/docs/usage/tools-calling.zh-CN.mdx +60 -68
- package/package.json +42 -41
- package/scripts/mdxWorkflow/index.ts +7 -0
- package/src/app/(main)/(mobile)/me/(home)/features/Header.tsx +2 -1
- package/src/app/(main)/(mobile)/me/data/features/Header.tsx +1 -1
- package/src/app/(main)/(mobile)/me/profile/features/Header.tsx +1 -1
- package/src/app/(main)/(mobile)/me/settings/features/Header.tsx +1 -1
- package/src/app/(main)/@nav/_layout/Mobile.tsx +2 -1
- package/src/app/(main)/chat/(workspace)/@topic/features/SystemRole/SystemRoleContent.tsx +2 -1
- package/src/app/(main)/chat/(workspace)/@topic/features/TopicListContent/ByTimeMode/GroupItem.tsx +2 -2
- package/src/app/(main)/chat/(workspace)/_layout/Desktop/ChatHeader/Main.tsx +2 -1
- package/src/app/(main)/chat/(workspace)/_layout/Desktop/ChatHeader/index.tsx +1 -1
- package/src/app/(main)/chat/(workspace)/_layout/Mobile/ChatHeader/ChatHeaderTitle.tsx +2 -1
- package/src/app/(main)/chat/(workspace)/_layout/Mobile/ChatHeader/index.tsx +1 -1
- package/src/app/(main)/chat/@session/_layout/Mobile/SessionHeader.tsx +2 -1
- package/src/app/(main)/chat/settings/_layout/Desktop/Header.tsx +1 -1
- package/src/app/(main)/chat/settings/_layout/Mobile/Header.tsx +1 -1
- package/src/app/(main)/discover/(detail)/provider/[slug]/features/InfoSidebar/SuggestionItem.tsx +8 -6
- package/src/app/(main)/discover/(list)/_layout/Desktop/Nav.tsx +1 -1
- package/src/app/(main)/discover/(list)/_layout/Mobile/Header.tsx +2 -1
- package/src/app/(main)/discover/_layout/Desktop/Header.tsx +1 -1
- package/src/app/(main)/discover/components/VirtuosoGridList/index.tsx +9 -5
- package/src/app/(main)/discover/search/_layout/Mobile/Header.tsx +1 -1
- package/src/app/(main)/files/(content)/@menu/features/KnowledgeBase/EmptyStatus.tsx +21 -13
- package/src/app/(main)/repos/[id]/evals/evaluation/EvaluationList/index.tsx +1 -1
- package/src/app/(main)/settings/sync/features/DeviceInfo/SystemIcon.tsx +2 -0
- package/src/components/Branding/ProductLogo/Custom.tsx +19 -20
- package/src/components/BrowserIcon/index.tsx +19 -30
- package/src/components/BubblesLoading/index.tsx +31 -23
- package/src/components/FunctionModal/createModalHooks.ts +6 -3
- package/src/components/StopLoading.tsx +10 -7
- package/src/features/ChatInput/Desktop/InputArea/index.tsx +2 -2
- package/src/features/InitClientDB/EnableModal.tsx +2 -2
- package/src/features/InitClientDB/{PGliteSVG.tsx → PGliteIcon.tsx} +17 -11
- package/src/features/ShareModal/ShareImage/index.tsx +32 -22
- package/src/features/ShareModal/ShareJSON/Preview.tsx +2 -2
- package/src/features/ShareModal/ShareJSON/index.tsx +49 -37
- package/src/features/ShareModal/ShareText/Preview.tsx +4 -1
- package/src/features/ShareModal/ShareText/index.tsx +49 -38
- package/src/features/ShareModal/index.tsx +1 -1
- package/src/features/ShareModal/style.ts +30 -0
- package/src/utils/colorUtils.ts +1 -1
- package/src/components/BrowserIcon/components/Brave.tsx +0 -56
- package/src/components/BrowserIcon/components/Chrome.tsx +0 -14
- package/src/components/BrowserIcon/components/Chromium.tsx +0 -14
- package/src/components/BrowserIcon/components/Edge.tsx +0 -36
- package/src/components/BrowserIcon/components/Firefox.tsx +0 -38
- package/src/components/BrowserIcon/components/Opera.tsx +0 -19
- package/src/components/BrowserIcon/components/Safari.tsx +0 -23
- package/src/components/BrowserIcon/components/Samsung.tsx +0 -21
@@ -11,10 +11,7 @@ tags:
|
|
11
11
|
|
12
12
|
# 在 LobeChat 中使用 GitHub Models
|
13
13
|
|
14
|
-
<Image
|
15
|
-
cover
|
16
|
-
src={'https://github.com/user-attachments/assets/3050839a-cb16-485d-8bae-1bc2f9ade632'}
|
17
|
-
/>
|
14
|
+
<Image cover src={'https://github.com/user-attachments/assets/3050839a-cb16-485d-8bae-1bc2f9ade632'} />
|
18
15
|
|
19
16
|
[GitHub Models](https://github.com/marketplace/models) 是 GitHub 最近推出的一项新功能,旨在为开发者提供一个免费的平台来访问和实验多种 AI 模型。GitHub Models 提供了一个互动沙盒环境,用户可以在此测试不同的模型参数和提示语,观察模型的响应。该平台支持多种先进的语言模型,包括 OpenAI 的 GPT-4o、Meta 的 Llama 3.1 和 Mistral 的 Large 2 等,覆盖了从大规模语言模型到特定任务模型的广泛应用。
|
20
17
|
|
@@ -24,11 +21,7 @@ tags:
|
|
24
21
|
|
25
22
|
当前 Playground 和免费 API 的使用受到每分钟请求数、每日请求数、每个请求的令牌数以及并发请求数的限制。若达到速率限制,则需等待限制重置后方可继续发出请求。不同模型(低、高及嵌入模型)的速率限制有所不同。 模型类型信息请参阅 GitHub Marketplace。
|
26
23
|
|
27
|
-
<Image
|
28
|
-
alt={'GitHub Models 速率限制'}
|
29
|
-
inStep
|
30
|
-
src={'https://github.com/user-attachments/assets/21c52e2a-b2f8-4de8-a5d4-cf3444608db7'}
|
31
|
-
/>
|
24
|
+
<Image alt={'GitHub Models 速率限制'} inStep src={'https://github.com/user-attachments/assets/21c52e2a-b2f8-4de8-a5d4-cf3444608db7'} />
|
32
25
|
|
33
26
|
<Callout type="note">
|
34
27
|
这些限制可能随时更改,具体信息请参考 [GitHub
|
@@ -40,52 +33,34 @@ tags:
|
|
40
33
|
## GitHub Models 配置指南
|
41
34
|
|
42
35
|
<Steps>
|
43
|
-
### 步骤一:获得 GitHub 的访问令牌
|
36
|
+
### 步骤一:获得 GitHub 的访问令牌
|
44
37
|
|
45
|
-
- 登录 GitHub 并打开 [访问令牌](https://github.com/settings/tokens) 页面
|
46
|
-
- 创建并设置一个新的访问令牌
|
38
|
+
- 登录 GitHub 并打开 [访问令牌](https://github.com/settings/tokens) 页面
|
39
|
+
- 创建并设置一个新的访问令牌
|
47
40
|
|
48
|
-
<Image
|
49
|
-
alt={'创建访问令牌'}
|
50
|
-
inStep
|
51
|
-
src={'https://github.com/user-attachments/assets/8570db14-dac6-4279-ab71-04a072c15490'}
|
52
|
-
/>
|
41
|
+
<Image alt={'创建访问令牌'} inStep src={'https://github.com/user-attachments/assets/8570db14-dac6-4279-ab71-04a072c15490'} />
|
53
42
|
|
54
|
-
- 在返回的结果中复制并保存生成的令牌
|
43
|
+
- 在返回的结果中复制并保存生成的令牌
|
55
44
|
|
56
|
-
<Image
|
57
|
-
alt={'保存访问令牌'}
|
58
|
-
inStep
|
59
|
-
src={'https://github.com/user-attachments/assets/3c1a492d-a3d4-4570-9e74-785c2942ca41'}
|
60
|
-
/>
|
45
|
+
<Image alt={'保存访问令牌'} inStep src={'https://github.com/user-attachments/assets/3c1a492d-a3d4-4570-9e74-785c2942ca41'} />
|
61
46
|
|
62
|
-
<Callout type={"warning"}>
|
63
|
-
|
47
|
+
<Callout type={"warning"}>
|
48
|
+
- GitHub Models 测试期间,要使用 GitHub Models,用户需要申请加入[等待名单(waitlist)](https://github.com/marketplace/models/waitlist/join) 通过后才能获得访问权限。
|
64
49
|
|
65
|
-
- 请安全地存储访问令牌,因为它只会出现一次。如果您意外丢失它,您将需要创建一个新令牌。
|
50
|
+
- 请安全地存储访问令牌,因为它只会出现一次。如果您意外丢失它,您将需要创建一个新令牌。
|
51
|
+
</Callout>
|
66
52
|
|
67
|
-
|
68
|
-
|
69
|
-
### 步骤二:在 LobeChat 中配置 GitHub Models
|
70
|
-
|
71
|
-
- 访问 LobeChat 的`设置`界面
|
72
|
-
- 在`语言模型`下找到 `GitHub` 的设置项
|
53
|
+
### 步骤二:在 LobeChat 中配置 GitHub Models
|
73
54
|
|
74
|
-
|
75
|
-
|
76
|
-
inStep
|
77
|
-
src={'https://github.com/user-attachments/assets/a00f06cc-da7c-41e8-a4d5-d4b675a22673'}
|
78
|
-
/>
|
55
|
+
- 访问 LobeChat 的`设置`界面
|
56
|
+
- 在`语言模型`下找到 `GitHub` 的设置项
|
79
57
|
|
80
|
-
-
|
81
|
-
- 为你的 AI 助手选择一个 GitHub 的模型即可开始对话
|
58
|
+
<Image alt={'填入访问令牌'} inStep src={'https://github.com/user-attachments/assets/a00f06cc-da7c-41e8-a4d5-d4b675a22673'} />
|
82
59
|
|
83
|
-
|
84
|
-
|
85
|
-
inStep
|
86
|
-
src={'https://github.com/user-attachments/assets/aead3c6c-891e-47c3-9f34-bdc33875e0c2'}
|
87
|
-
/>
|
60
|
+
- 填入获得的访问令牌
|
61
|
+
- 为你的 AI 助手选择一个 GitHub 的模型即可开始对话
|
88
62
|
|
63
|
+
<Image alt={'选择 GitHub 模型并开始对话'} inStep src={'https://github.com/user-attachments/assets/aead3c6c-891e-47c3-9f34-bdc33875e0c2'} />
|
89
64
|
</Steps>
|
90
65
|
|
91
66
|
至此你已经可以在 LobeChat 中使用 GitHub 提供的模型进行对话了。
|
@@ -14,11 +14,7 @@ tags:
|
|
14
14
|
|
15
15
|
# Using Groq in LobeChat
|
16
16
|
|
17
|
-
<Image
|
18
|
-
alt={'Using Groq in LobeChat'}
|
19
|
-
cover
|
20
|
-
src={'https://github.com/lobehub/lobe-chat/assets/17870709/1d840e27-fa74-4e71-b777-330bf41d6dff'}
|
21
|
-
/>
|
17
|
+
<Image alt={'Using Groq in LobeChat'} cover src={'https://github.com/lobehub/lobe-chat/assets/17870709/1d840e27-fa74-4e71-b777-330bf41d6dff'} />
|
22
18
|
|
23
19
|
Groq's [LPU Inference Engine](https://wow.groq.com/news_press/groq-lpu-inference-engine-leads-in-first-independent-llm-benchmark/) has excelled in the latest independent Large Language Model (LLM) benchmark, redefining the standard for AI solutions with its remarkable speed and efficiency. By integrating LobeChat with Groq Cloud, you can now easily leverage Groq's technology to accelerate the operation of large language models in LobeChat.
|
24
20
|
|
@@ -34,39 +30,26 @@ This document will guide you on how to use Groq in LobeChat:
|
|
34
30
|
<Steps>
|
35
31
|
### Obtaining GroqCloud API Keys
|
36
32
|
|
37
|
-
First, you need to obtain an API Key from the [GroqCloud Console](https://console.groq.com/).
|
33
|
+
First, you need to obtain an API Key from the [GroqCloud Console](https://console.groq.com/).
|
38
34
|
|
39
|
-
<Image
|
40
|
-
alt={'Get GroqCloud API Key'}
|
41
|
-
height={274}
|
42
|
-
inStep
|
43
|
-
src={'https://github.com/lobehub/lobe-chat/assets/34400653/6942287e-fbb1-4a10-a1ce-caaa6663da1e'}
|
44
|
-
/>
|
35
|
+
<Image alt={'Get GroqCloud API Key'} height={274} inStep src={'https://github.com/lobehub/lobe-chat/assets/34400653/6942287e-fbb1-4a10-a1ce-caaa6663da1e'} />
|
45
36
|
|
46
|
-
Create an API Key in the `API Keys` menu of the console.
|
37
|
+
Create an API Key in the `API Keys` menu of the console.
|
47
38
|
|
48
|
-
<Image
|
49
|
-
alt={'Save GroqCloud API Key'}
|
50
|
-
height={274}
|
51
|
-
inStep
|
52
|
-
src={'https://github.com/lobehub/lobe-chat/assets/34400653/eb57ca57-4f45-4409-91ce-9fa9c7c626d6'}
|
53
|
-
/>
|
39
|
+
<Image alt={'Save GroqCloud API Key'} height={274} inStep src={'https://github.com/lobehub/lobe-chat/assets/34400653/eb57ca57-4f45-4409-91ce-9fa9c7c626d6'} />
|
54
40
|
|
55
|
-
<Callout type={'warning'}>
|
56
|
-
|
57
|
-
|
58
|
-
</Callout>
|
41
|
+
<Callout type={'warning'}>
|
42
|
+
Safely store the key from the pop-up as it will only appear once. If you accidentally lose it, you
|
43
|
+
will need to create a new key.
|
44
|
+
</Callout>
|
59
45
|
|
60
|
-
### Configure Groq in LobeChat
|
46
|
+
### Configure Groq in LobeChat
|
61
47
|
|
62
|
-
You can find the Groq configuration option in `Settings` -> `Language Model`, where you can input the API Key you just obtained.
|
48
|
+
You can find the Groq configuration option in `Settings` -> `Language Model`, where you can input the API Key you just obtained.
|
63
49
|
|
64
50
|
<Image alt={'Groq service provider settings'} height={274} inStep src={'https://github.com/lobehub/lobe-chat/assets/34400653/88948a3a-6681-4a8d-9734-a464e09e4957'} />
|
65
51
|
</Steps>
|
66
52
|
|
67
53
|
Next, select a Groq-supported model in the assistant's model options, and you can experience the powerful performance of Groq in LobeChat.
|
68
54
|
|
69
|
-
<Video
|
70
|
-
alt={'Select and use Groq model'}
|
71
|
-
src="https://github.com/lobehub/lobe-chat/assets/28616219/b6b8226b-183f-4249-8255-663a5e9f5af4"
|
72
|
-
/>
|
55
|
+
<Video alt={'Select and use Groq model'} src="https://github.com/lobehub/lobe-chat/assets/28616219/b6b8226b-183f-4249-8255-663a5e9f5af4" />
|
@@ -11,11 +11,7 @@ tags:
|
|
11
11
|
|
12
12
|
# 在 LobeChat 中使用 Groq
|
13
13
|
|
14
|
-
<Image
|
15
|
-
alt={'在 LobeChat 中使用 Groq'}
|
16
|
-
cover
|
17
|
-
src={'https://github.com/lobehub/lobe-chat/assets/17870709/1d840e27-fa74-4e71-b777-330bf41d6dff'}
|
18
|
-
/>
|
14
|
+
<Image alt={'在 LobeChat 中使用 Groq'} cover src={'https://github.com/lobehub/lobe-chat/assets/17870709/1d840e27-fa74-4e71-b777-330bf41d6dff'} />
|
19
15
|
|
20
16
|
Groq 的 [LPU 推理引擎](https://wow.groq.com/news_press/groq-lpu-inference-engine-leads-in-first-independent-llm-benchmark/) 在最新的独立大语言模型(LLM)基准测试中表现卓越,以其惊人的速度和效率重新定义了 AI 解决方案的标准。通过 LobeChat 与 Groq Cloud 的集成,你现在可以轻松地利用 Groq 的技术,在 LobeChat 中加速大语言模型的运行。
|
21
17
|
|
@@ -30,38 +26,25 @@ Groq 的 [LPU 推理引擎](https://wow.groq.com/news_press/groq-lpu-inference-e
|
|
30
26
|
<Steps>
|
31
27
|
### 获取 GroqCloud API Key
|
32
28
|
|
33
|
-
首先,你需要到 [GroqCloud Console](https://console.groq.com/) 中获取一个 API Key。
|
29
|
+
首先,你需要到 [GroqCloud Console](https://console.groq.com/) 中获取一个 API Key。
|
34
30
|
|
35
|
-
<Image
|
36
|
-
alt={'获取 GroqCloud API Key'}
|
37
|
-
height={274}
|
38
|
-
inStep
|
39
|
-
src={'https://github.com/lobehub/lobe-chat/assets/34400653/6942287e-fbb1-4a10-a1ce-caaa6663da1e'}
|
40
|
-
/>
|
31
|
+
<Image alt={'获取 GroqCloud API Key'} height={274} inStep src={'https://github.com/lobehub/lobe-chat/assets/34400653/6942287e-fbb1-4a10-a1ce-caaa6663da1e'} />
|
41
32
|
|
42
|
-
在控制台的 `API Keys` 菜单中创建一个 API Key。
|
33
|
+
在控制台的 `API Keys` 菜单中创建一个 API Key。
|
43
34
|
|
44
|
-
<Image
|
45
|
-
alt={'保存 GroqCloud API Key'}
|
46
|
-
height={274}
|
47
|
-
inStep
|
48
|
-
src={'https://github.com/lobehub/lobe-chat/assets/34400653/eb57ca57-4f45-4409-91ce-9fa9c7c626d6'}
|
49
|
-
/>
|
35
|
+
<Image alt={'保存 GroqCloud API Key'} height={274} inStep src={'https://github.com/lobehub/lobe-chat/assets/34400653/eb57ca57-4f45-4409-91ce-9fa9c7c626d6'} />
|
50
36
|
|
51
|
-
<Callout type={'warning'}>
|
52
|
-
|
53
|
-
</Callout>
|
37
|
+
<Callout type={'warning'}>
|
38
|
+
妥善保存弹窗中的 key,它只会出现一次,如果不小心丢失了,你需要重新创建一个 key。
|
39
|
+
</Callout>
|
54
40
|
|
55
|
-
### 在 LobeChat 中配置 Groq
|
41
|
+
### 在 LobeChat 中配置 Groq
|
56
42
|
|
57
|
-
你可以在 `设置` -> `语言模型` 中找到 Groq 的配置选项,将刚才获取的 API Key 填入。
|
43
|
+
你可以在 `设置` -> `语言模型` 中找到 Groq 的配置选项,将刚才获取的 API Key 填入。
|
58
44
|
|
59
45
|
<Image alt={'Groq 服务商设置'} height={274} inStep src={'https://github.com/lobehub/lobe-chat/assets/34400653/88948a3a-6681-4a8d-9734-a464e09e4957'} />
|
60
46
|
</Steps>
|
61
47
|
|
62
48
|
接下来,在助手的模型选项中,选中一个 Groq 支持的模型,就可以在 LobeChat 中体验 Groq 强大的性能了。
|
63
49
|
|
64
|
-
<Video
|
65
|
-
alt={'选择 Groq 模型'}
|
66
|
-
src="https://github.com/lobehub/lobe-chat/assets/28616219/b6b8226b-183f-4249-8255-663a5e9f5af4"
|
67
|
-
/>
|
50
|
+
<Video alt={'选择 Groq 模型'} src="https://github.com/lobehub/lobe-chat/assets/28616219/b6b8226b-183f-4249-8255-663a5e9f5af4" />
|
@@ -12,61 +12,41 @@ tags:
|
|
12
12
|
|
13
13
|
# Using Tencent Hunyuan in LobeChat
|
14
14
|
|
15
|
-
<Image
|
16
|
-
cover
|
17
|
-
src={'https://github.com/user-attachments/assets/467bb431-ca0d-4bb4-ac17-e5e2b764a770'}
|
18
|
-
/>
|
15
|
+
<Image cover src={'https://github.com/user-attachments/assets/467bb431-ca0d-4bb4-ac17-e5e2b764a770'} />
|
19
16
|
|
20
17
|
[Tencent Hunyuan](https://hunyuan.tencent.com/) is a large model launched by Tencent, designed to provide users with intelligent assistant services. It utilizes natural language processing technology to help users solve problems, offer suggestions, and generate content. By conversing with the model, users can quickly access the information they need, thereby enhancing work efficiency.
|
21
18
|
|
22
19
|
This article will guide you on how to use Tencent Hunyuan in LobeChat.
|
23
20
|
|
24
21
|
<Steps>
|
25
|
-
### Step 1: Obtain the Tencent Hunyuan API Key
|
22
|
+
### Step 1: Obtain the Tencent Hunyuan API Key
|
26
23
|
|
27
|
-
- Register and log in to the [Tencent Cloud Console](https://console.cloud.tencent.com/hunyuan/api-key)
|
28
|
-
- Navigate to `Hunyuan Large Model` and click on `API KEY Management`
|
29
|
-
- Create an API key
|
24
|
+
- Register and log in to the [Tencent Cloud Console](https://console.cloud.tencent.com/hunyuan/api-key)
|
25
|
+
- Navigate to `Hunyuan Large Model` and click on `API KEY Management`
|
26
|
+
- Create an API key
|
30
27
|
|
31
|
-
<Image
|
32
|
-
alt={'Create API Key'}
|
33
|
-
inStep
|
34
|
-
src={'https://github.com/user-attachments/assets/5f344314-ecbc-41e6-9120-520a2d5352ff'}
|
35
|
-
/>
|
28
|
+
<Image alt={'Create API Key'} inStep src={'https://github.com/user-attachments/assets/5f344314-ecbc-41e6-9120-520a2d5352ff'} />
|
36
29
|
|
37
|
-
- Click `View`, and copy the API key from the pop-up panel, ensuring you save it securely
|
30
|
+
- Click `View`, and copy the API key from the pop-up panel, ensuring you save it securely
|
38
31
|
|
39
|
-
<Image
|
40
|
-
alt={'Save Key'}
|
41
|
-
inStep
|
42
|
-
src={'https://github.com/user-attachments/assets/659b5ac1-82f1-43bd-9d4b-a98491e05794'}
|
43
|
-
/>
|
32
|
+
<Image alt={'Save Key'} inStep src={'https://github.com/user-attachments/assets/659b5ac1-82f1-43bd-9d4b-a98491e05794'} />
|
44
33
|
|
45
|
-
### Step 2: Configure Tencent Hunyuan in LobeChat
|
34
|
+
### Step 2: Configure Tencent Hunyuan in LobeChat
|
46
35
|
|
47
|
-
- Go to the `Settings` page in LobeChat
|
48
|
-
- Find the `Tencent Hunyuan` settings under `Language Models`
|
36
|
+
- Go to the `Settings` page in LobeChat
|
37
|
+
- Find the `Tencent Hunyuan` settings under `Language Models`
|
49
38
|
|
50
|
-
<Image
|
51
|
-
alt={'Enter API Key'}
|
52
|
-
inStep
|
53
|
-
src={'https://github.com/user-attachments/assets/796c94af-9bad-4e3c-b1c7-dbb17c215c56'}
|
54
|
-
/>
|
39
|
+
<Image alt={'Enter API Key'} inStep src={'https://github.com/user-attachments/assets/796c94af-9bad-4e3c-b1c7-dbb17c215c56'} />
|
55
40
|
|
56
|
-
- Enter the API key you obtained
|
57
|
-
- Select a Tencent Hunyuan model for your AI assistant to start the conversation
|
41
|
+
- Enter the API key you obtained
|
42
|
+
- Select a Tencent Hunyuan model for your AI assistant to start the conversation
|
58
43
|
|
59
|
-
<Image
|
60
|
-
alt={'Select Tencent Hunyuan Model and Start Conversation'}
|
61
|
-
inStep
|
62
|
-
src={'https://github.com/user-attachments/assets/e3f44bc8-2fa5-441d-8934-943481472450'}
|
63
|
-
/>
|
64
|
-
|
65
|
-
<Callout type={'warning'}>
|
66
|
-
During usage, you may need to pay the API service provider, please refer to Tencent Hunyuan's
|
67
|
-
relevant pricing policy.
|
68
|
-
</Callout>
|
44
|
+
<Image alt={'Select Tencent Hunyuan Model and Start Conversation'} inStep src={'https://github.com/user-attachments/assets/e3f44bc8-2fa5-441d-8934-943481472450'} />
|
69
45
|
|
46
|
+
<Callout type={'warning'}>
|
47
|
+
During usage, you may need to pay the API service provider, please refer to Tencent Hunyuan's
|
48
|
+
relevant pricing policy.
|
49
|
+
</Callout>
|
70
50
|
</Steps>
|
71
51
|
|
72
52
|
You can now engage in conversations using the models provided by Tencent Hunyuan in LobeChat.
|
@@ -10,60 +10,40 @@ tags:
|
|
10
10
|
|
11
11
|
# 在 LobeChat 中使用腾讯混元
|
12
12
|
|
13
|
-
<Image
|
14
|
-
cover
|
15
|
-
src={'https://github.com/user-attachments/assets/467bb431-ca0d-4bb4-ac17-e5e2b764a770'}
|
16
|
-
/>
|
13
|
+
<Image cover src={'https://github.com/user-attachments/assets/467bb431-ca0d-4bb4-ac17-e5e2b764a770'} />
|
17
14
|
|
18
15
|
[腾讯混元](https://hunyuan.tencent.com/)是由腾讯推出的一款大模型,旨在为用户提供智能助手服务。它能够通过自然语言处理技术,帮助用户解决问题、提供建议以及进行内容生成等任务。用户可以通过与模型的对话,快速获取所需信息,从而提高工作效率。
|
19
16
|
|
20
17
|
本文将指导你如何在 LobeChat 中使用腾讯混元。
|
21
18
|
|
22
19
|
<Steps>
|
23
|
-
### 步骤一:获得腾讯混元的 API Key
|
20
|
+
### 步骤一:获得腾讯混元的 API Key
|
24
21
|
|
25
|
-
- 注册并登录 [腾讯云控制台](https://console.cloud.tencent.com/hunyuan/api-key)
|
26
|
-
- 进入 `混元大模型` 并点击 `API KEY 管理`
|
27
|
-
- 创建一个 API 密钥
|
22
|
+
- 注册并登录 [腾讯云控制台](https://console.cloud.tencent.com/hunyuan/api-key)
|
23
|
+
- 进入 `混元大模型` 并点击 `API KEY 管理`
|
24
|
+
- 创建一个 API 密钥
|
28
25
|
|
29
|
-
<Image
|
30
|
-
alt={'创建 API 密钥'}
|
31
|
-
inStep
|
32
|
-
src={'https://github.com/user-attachments/assets/5f344314-ecbc-41e6-9120-520a2d5352ff'}
|
33
|
-
/>
|
26
|
+
<Image alt={'创建 API 密钥'} inStep src={'https://github.com/user-attachments/assets/5f344314-ecbc-41e6-9120-520a2d5352ff'} />
|
34
27
|
|
35
|
-
- 点击`查看`,在弹出面板中复制 API 密钥,并妥善保存
|
28
|
+
- 点击`查看`,在弹出面板中复制 API 密钥,并妥善保存
|
36
29
|
|
37
|
-
<Image
|
38
|
-
alt={'保存密钥'}
|
39
|
-
inStep
|
40
|
-
src={'https://github.com/user-attachments/assets/659b5ac1-82f1-43bd-9d4b-a98491e05794'}
|
41
|
-
/>
|
30
|
+
<Image alt={'保存密钥'} inStep src={'https://github.com/user-attachments/assets/659b5ac1-82f1-43bd-9d4b-a98491e05794'} />
|
42
31
|
|
43
|
-
### 步骤二:在 LobeChat 中配置腾讯混元
|
32
|
+
### 步骤二:在 LobeChat 中配置腾讯混元
|
44
33
|
|
45
|
-
- 访问 LobeChat 的`设置`界面
|
46
|
-
- 在`语言模型`下找到 `腾讯混元` 的设置项
|
34
|
+
- 访问 LobeChat 的`设置`界面
|
35
|
+
- 在`语言模型`下找到 `腾讯混元` 的设置项
|
47
36
|
|
48
|
-
<Image
|
49
|
-
alt={'填入 API 密钥'}
|
50
|
-
inStep
|
51
|
-
src={'https://github.com/user-attachments/assets/796c94af-9bad-4e3c-b1c7-dbb17c215c56'}
|
52
|
-
/>
|
37
|
+
<Image alt={'填入 API 密钥'} inStep src={'https://github.com/user-attachments/assets/796c94af-9bad-4e3c-b1c7-dbb17c215c56'} />
|
53
38
|
|
54
|
-
- 填入获得的 API 密钥
|
55
|
-
- 为你的 AI 助手选择一个腾讯混元的模型即可开始对话
|
39
|
+
- 填入获得的 API 密钥
|
40
|
+
- 为你的 AI 助手选择一个腾讯混元的模型即可开始对话
|
56
41
|
|
57
|
-
<Image
|
58
|
-
alt={'选择腾讯混元模型并开始对话'}
|
59
|
-
inStep
|
60
|
-
src={'https://github.com/user-attachments/assets/e3f44bc8-2fa5-441d-8934-943481472450'}
|
61
|
-
/>
|
62
|
-
|
63
|
-
<Callout type={'warning'}>
|
64
|
-
在使用过程中你可能需要向 API 服务提供商付费,请参考腾讯混元的相关费用政策。
|
65
|
-
</Callout>
|
42
|
+
<Image alt={'选择腾讯混元模型并开始对话'} inStep src={'https://github.com/user-attachments/assets/e3f44bc8-2fa5-441d-8934-943481472450'} />
|
66
43
|
|
44
|
+
<Callout type={'warning'}>
|
45
|
+
在使用过程中你可能需要向 API 服务提供商付费,请参考腾讯混元的相关费用政策。
|
46
|
+
</Callout>
|
67
47
|
</Steps>
|
68
48
|
|
69
49
|
至此你已经可以在 LobeChat 中使用腾讯混元提供的模型进行对话了。
|
@@ -12,59 +12,42 @@ tags:
|
|
12
12
|
|
13
13
|
# Using InternLM in LobeChat
|
14
14
|
|
15
|
-
<Image
|
16
|
-
cover
|
17
|
-
src={'https://github.com/user-attachments/assets/be7dcd49-0165-4f7b-bf90-0739cc9dd212'}
|
18
|
-
/>
|
15
|
+
<Image cover src={'https://github.com/user-attachments/assets/be7dcd49-0165-4f7b-bf90-0739cc9dd212'} />
|
19
16
|
|
20
17
|
[InternLM](https://platform.sensenova.cn/home) is a large pre-trained language model jointly launched by the Shanghai Artificial Intelligence Laboratory and Shusheng Group. This model focuses on natural language processing, aimed at understanding and generating human language, boasting powerful semantic comprehension and text generation capabilities.
|
21
18
|
|
22
19
|
This article will guide you on how to use InternLM in LobeChat.
|
23
20
|
|
24
21
|
<Steps>
|
22
|
+
### Step 1: Obtain the InternLM API Key
|
25
23
|
|
26
|
-
|
24
|
+
- Register and log in to [InternLM API](https://InternLM.intern-ai.org.cn/api/tokens)
|
25
|
+
- Create an API token
|
26
|
+
- Save the API token in the pop-up window
|
27
27
|
|
28
|
-
|
29
|
-
- Create an API token
|
30
|
-
- Save the API token in the pop-up window
|
28
|
+
<Image alt={'Save API Token'} inStep src={'https://github.com/user-attachments/assets/0e2fdc5d-9623-4a74-a7f6-dcb802d52297'} />
|
31
29
|
|
32
|
-
<
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
/>
|
30
|
+
<Callout type={'warning'}>
|
31
|
+
Please store the API token shown in the pop-up securely; it will only appear once. If you lose it,
|
32
|
+
you will need to create a new API token.
|
33
|
+
</Callout>
|
37
34
|
|
38
|
-
|
39
|
-
Please store the API token shown in the pop-up securely; it will only appear once. If you lose it,
|
40
|
-
you will need to create a new API token.
|
41
|
-
</Callout>
|
35
|
+
### Step 2: Configure InternLM in LobeChat
|
42
36
|
|
43
|
-
|
37
|
+
- Go to the `Settings` interface in LobeChat
|
38
|
+
- Find the settings option for `InternLM` under `Language Models`
|
44
39
|
|
45
|
-
|
46
|
-
- Find the settings option for `InternLM` under `Language Models`
|
40
|
+
<Image alt={'Enter API Key'} inStep src={'https://github.com/user-attachments/assets/8ec7656e-1e3d-41e0-95a0-f6883135c2fc'} />
|
47
41
|
|
48
|
-
|
49
|
-
|
50
|
-
inStep
|
51
|
-
src={'https://github.com/user-attachments/assets/8ec7656e-1e3d-41e0-95a0-f6883135c2fc'}
|
52
|
-
/>
|
42
|
+
- Enter the obtained `AccessKey ID` and `AccessKey Secret`
|
43
|
+
- Choose a InternLM model for your AI assistant to start a conversation
|
53
44
|
|
54
|
-
|
55
|
-
- Choose a InternLM model for your AI assistant to start a conversation
|
56
|
-
|
57
|
-
<Image
|
58
|
-
alt={'Select InternLM Model and Start Conversation'}
|
59
|
-
inStep
|
60
|
-
src={'https://github.com/user-attachments/assets/76ad163e-ee19-4f95-a712-85bea764d3ec'}
|
61
|
-
/>
|
62
|
-
|
63
|
-
<Callout type={'warning'}>
|
64
|
-
During usage, you may need to pay the API service provider; please refer to the pricing policy
|
65
|
-
regarding InternLM.
|
66
|
-
</Callout>
|
45
|
+
<Image alt={'Select InternLM Model and Start Conversation'} inStep src={'https://github.com/user-attachments/assets/76ad163e-ee19-4f95-a712-85bea764d3ec'} />
|
67
46
|
|
47
|
+
<Callout type={'warning'}>
|
48
|
+
During usage, you may need to pay the API service provider; please refer to the pricing policy
|
49
|
+
regarding InternLM.
|
50
|
+
</Callout>
|
68
51
|
</Steps>
|
69
52
|
|
70
53
|
You are now ready to engage in conversations using the models provided by InternLM in LobeChat.
|
@@ -10,57 +10,40 @@ tags:
|
|
10
10
|
|
11
11
|
# 在 LobeChat 中使用书生浦语
|
12
12
|
|
13
|
-
<Image
|
14
|
-
cover
|
15
|
-
src={'https://github.com/user-attachments/assets/be7dcd49-0165-4f7b-bf90-0739cc9dd212'}
|
16
|
-
/>
|
13
|
+
<Image cover src={'https://github.com/user-attachments/assets/be7dcd49-0165-4f7b-bf90-0739cc9dd212'} />
|
17
14
|
|
18
15
|
[书生浦语(InternLM)](https://platform.sensenova.cn/home) 是由上海人工智能实验室与书生集团联合推出的一款大型预训练语言模型。该模型专注于自然语言处理,旨在理解和生成自然语言,具备强大的语义理解和文本生成能力。
|
19
16
|
|
20
17
|
本文将指导你如何在 LobeChat 中使用书生浦语。
|
21
18
|
|
22
19
|
<Steps>
|
20
|
+
### 步骤一:获取书生浦语的 API 密钥
|
23
21
|
|
24
|
-
|
22
|
+
- 注册并登录 [浦语 API](https://internlm.intern-ai.org.cn/api/tokens)
|
23
|
+
- 创建一个 API 令牌
|
24
|
+
- 在弹出窗口中保存 API 令牌
|
25
25
|
|
26
|
-
|
27
|
-
- 创建一个 API 令牌
|
28
|
-
- 在弹出窗口中保存 API 令牌
|
26
|
+
<Image alt={'保存 API Token'} inStep src={'https://github.com/user-attachments/assets/0e2fdc5d-9623-4a74-a7f6-dcb802d52297'} />
|
29
27
|
|
30
|
-
<
|
31
|
-
|
32
|
-
|
33
|
-
src={'https://github.com/user-attachments/assets/0e2fdc5d-9623-4a74-a7f6-dcb802d52297'}
|
34
|
-
/>
|
28
|
+
<Callout type={'warning'}>
|
29
|
+
妥善保存弹窗中的 API 令牌,它只会出现一次,如果不小心丢失了,你需要重新创建一个 API 令牌。
|
30
|
+
</Callout>
|
35
31
|
|
36
|
-
|
37
|
-
妥善保存弹窗中的 API 令牌,它只会出现一次,如果不小心丢失了,你需要重新创建一个 API 令牌。
|
38
|
-
</Callout>
|
32
|
+
### 步骤二:在 LobeChat 中配置书生浦语
|
39
33
|
|
40
|
-
|
34
|
+
- 访问 LobeChat 的`设置`界面
|
35
|
+
- 在`语言模型`下找到 `书生浦语` 的设置项
|
41
36
|
|
42
|
-
|
43
|
-
- 在`语言模型`下找到 `书生浦语` 的设置项
|
37
|
+
<Image alt={'填入 API 密钥'} inStep src={'https://github.com/user-attachments/assets/8ec7656e-1e3d-41e0-95a0-f6883135c2fc'} />
|
44
38
|
|
45
|
-
|
46
|
-
|
47
|
-
inStep
|
48
|
-
src={'https://github.com/user-attachments/assets/8ec7656e-1e3d-41e0-95a0-f6883135c2fc'}
|
49
|
-
/>
|
39
|
+
- 填入获得的 `AccessKey ID` 和 `AccessKey Secret`
|
40
|
+
- 为你的 AI 助手选择一个书生浦语的模型即可开始对话
|
50
41
|
|
51
|
-
|
52
|
-
- 为你的 AI 助手选择一个书生浦语的模型即可开始对话
|
53
|
-
|
54
|
-
<Image
|
55
|
-
alt={'选择书生浦语模型并开始对话'}
|
56
|
-
inStep
|
57
|
-
src={'https://github.com/user-attachments/assets/76ad163e-ee19-4f95-a712-85bea764d3ec'}
|
58
|
-
/>
|
59
|
-
|
60
|
-
<Callout type={'warning'}>
|
61
|
-
在使用过程中你可能需要向 API 服务提供商付费,请参考书生浦语的相关费用政策。
|
62
|
-
</Callout>
|
42
|
+
<Image alt={'选择书生浦语模型并开始对话'} inStep src={'https://github.com/user-attachments/assets/76ad163e-ee19-4f95-a712-85bea764d3ec'} />
|
63
43
|
|
44
|
+
<Callout type={'warning'}>
|
45
|
+
在使用过程中你可能需要向 API 服务提供商付费,请参考书生浦语的相关费用政策。
|
46
|
+
</Callout>
|
64
47
|
</Steps>
|
65
48
|
|
66
49
|
至此你已经可以在 LobeChat 中使用书生浦语提供的模型进行对话了。
|
@@ -13,75 +13,49 @@ tags:
|
|
13
13
|
|
14
14
|
# Using Minimax in LobeChat
|
15
15
|
|
16
|
-
<Image
|
17
|
-
alt={'Using Minimax in LobeChat'}
|
18
|
-
cover
|
19
|
-
src={'https://github.com/lobehub/lobe-chat/assets/34400653/703f170b-c03b-4c71-b57d-c2357596bdfb'}
|
20
|
-
/>
|
16
|
+
<Image alt={'Using Minimax in LobeChat'} cover src={'https://github.com/lobehub/lobe-chat/assets/34400653/703f170b-c03b-4c71-b57d-c2357596bdfb'} />
|
21
17
|
|
22
18
|
[MiniMax](https://www.minimaxi.com/) is a general artificial intelligence technology company founded in 2021, dedicated to co-creating intelligence with users. MiniMax has independently developed universal large models of different modalities, including trillion-parameter MoE text large models, speech large models, and image large models. They have also launched applications like Hai Luo AI.
|
23
19
|
|
24
20
|
This document will guide you on how to use Minimax in LobeChat:
|
25
21
|
|
26
22
|
<Steps>
|
23
|
+
### Step 1: Obtain MiniMax API Key
|
27
24
|
|
28
|
-
|
25
|
+
- Register and log in to the [MiniMax Open Platform](https://www.minimaxi.com/platform)
|
26
|
+
- In `Account Management`, locate the `API Key` menu and create a new key
|
29
27
|
|
30
|
-
|
31
|
-
- In `Account Management`, locate the `API Key` menu and create a new key
|
28
|
+
<Image alt={'Create MiniMax API Key'} inStep src={'https://github.com/lobehub/lobe-chat/assets/34400653/f6e46f1c-0ac9-42ae-8e83-ddb0cc6c5bf8'} />
|
32
29
|
|
33
|
-
|
34
|
-
alt={'Create MiniMax API Key'}
|
35
|
-
inStep
|
36
|
-
src={'https://github.com/lobehub/lobe-chat/assets/34400653/f6e46f1c-0ac9-42ae-8e83-ddb0cc6c5bf8'}
|
37
|
-
/>
|
30
|
+
- Enter a name for the API key and create it
|
38
31
|
|
39
|
-
|
32
|
+
<Image alt={'Enter API Key Name'} inStep src={'https://github.com/lobehub/lobe-chat/assets/34400653/cbc23ca9-1188-4b85-8ef0-e75ac7d74b92'} />
|
40
33
|
|
41
|
-
|
42
|
-
alt={'Enter API Key Name'}
|
43
|
-
inStep
|
44
|
-
src={'https://github.com/lobehub/lobe-chat/assets/34400653/cbc23ca9-1188-4b85-8ef0-e75ac7d74b92'}
|
45
|
-
/>
|
34
|
+
- Copy the API key from the pop-up dialog box and save it securely
|
46
35
|
|
47
|
-
|
36
|
+
<Image alt={'Save API Key'} inStep src={'https://github.com/lobehub/lobe-chat/assets/34400653/fb0f7574-c2f5-40d6-8613-3749e85ce881'} />
|
48
37
|
|
49
|
-
<
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
/>
|
38
|
+
<Callout type={'warning'}>
|
39
|
+
Please store the key securely as it will only appear once. If you accidentally lose it, you will
|
40
|
+
need to create a new key.
|
41
|
+
</Callout>
|
54
42
|
|
55
|
-
|
56
|
-
Please store the key securely as it will only appear once. If you accidentally lose it, you will
|
57
|
-
need to create a new key.
|
58
|
-
</Callout>
|
43
|
+
### Step 2: Configure MiniMax in LobeChat
|
59
44
|
|
60
|
-
|
45
|
+
- Go to the `Settings` interface of LobeChat
|
46
|
+
- Find the setting for `MiniMax` under `Language Model`
|
61
47
|
|
62
|
-
|
63
|
-
- Find the setting for `MiniMax` under `Language Model`
|
48
|
+
<Image alt={'Enter API Key'} inStep src={'https://github.com/lobehub/lobe-chat/assets/34400653/b839e04e-0cef-46a3-bb84-0484a3f51c69'} />
|
64
49
|
|
65
|
-
|
66
|
-
|
67
|
-
inStep
|
68
|
-
src={'https://github.com/lobehub/lobe-chat/assets/34400653/b839e04e-0cef-46a3-bb84-0484a3f51c69'}
|
69
|
-
/>
|
50
|
+
- Open Minimax and enter the obtained API key
|
51
|
+
- Choose a MiniMax model for your AI assistant to start the conversation
|
70
52
|
|
71
|
-
|
72
|
-
- Choose a MiniMax model for your AI assistant to start the conversation
|
73
|
-
|
74
|
-
<Image
|
75
|
-
alt={'Select MiniMax Model and Start Conversation'}
|
76
|
-
inStep
|
77
|
-
src={'https://github.com/lobehub/lobe-chat/assets/34400653/f7d59c7a-abd0-4ebd-8c72-ca10c47a0f1a'}
|
78
|
-
/>
|
79
|
-
|
80
|
-
<Callout type={'warning'}>
|
81
|
-
During usage, you may need to pay the API service provider, please refer to MiniMax's relevant
|
82
|
-
pricing policies.
|
83
|
-
</Callout>
|
53
|
+
<Image alt={'Select MiniMax Model and Start Conversation'} inStep src={'https://github.com/lobehub/lobe-chat/assets/34400653/f7d59c7a-abd0-4ebd-8c72-ca10c47a0f1a'} />
|
84
54
|
|
55
|
+
<Callout type={'warning'}>
|
56
|
+
During usage, you may need to pay the API service provider, please refer to MiniMax's relevant
|
57
|
+
pricing policies.
|
58
|
+
</Callout>
|
85
59
|
</Steps>
|
86
60
|
|
87
61
|
You can now use the models provided by MiniMax to have conversations in LobeChat.
|