@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
@@ -12,66 +12,46 @@ tags:
|
|
12
12
|
|
13
13
|
# Using Fireworks AI in LobeChat
|
14
14
|
|
15
|
-
<Image
|
16
|
-
cover
|
17
|
-
src={'https://github.com/user-attachments/assets/facdc83c-e789-4649-8060-7f7a10a1b1dd'}
|
18
|
-
/>
|
15
|
+
<Image cover src={'https://github.com/user-attachments/assets/facdc83c-e789-4649-8060-7f7a10a1b1dd'} />
|
19
16
|
|
20
17
|
[Fireworks.ai](https://fireworks.ai/) is a high-performance generative AI model inference platform that allows users to access and utilize various models through its API. The platform supports multiple modalities, including text and visual language models, and offers features like function calls and JSON schemas to enhance the flexibility of application development.
|
21
18
|
|
22
19
|
This article will guide you on how to use Fireworks AI in LobeChat.
|
23
20
|
|
24
21
|
<Steps>
|
25
|
-
### Step 1: Obtain an API Key for Fireworks AI
|
22
|
+
### Step 1: Obtain an API Key for Fireworks AI
|
26
23
|
|
27
|
-
- Log in to the [Fireworks.ai Console](https://fireworks.ai/account/api-keys)
|
28
|
-
- Navigate to the `User` page and click on `API Keys`
|
29
|
-
- Create a new API key
|
24
|
+
- Log in to the [Fireworks.ai Console](https://fireworks.ai/account/api-keys)
|
25
|
+
- Navigate to the `User` page and click on `API Keys`
|
26
|
+
- Create a new API key
|
30
27
|
|
31
|
-
<Image
|
32
|
-
alt={'Create API Key'}
|
33
|
-
inStep
|
34
|
-
src={'https://github.com/user-attachments/assets/eb027093-5ceb-4a9d-8850-b791fbf69a71'}
|
35
|
-
/>
|
28
|
+
<Image alt={'Create API Key'} inStep src={'https://github.com/user-attachments/assets/eb027093-5ceb-4a9d-8850-b791fbf69a71'} />
|
36
29
|
|
37
|
-
- Copy and securely save the generated API key
|
30
|
+
- Copy and securely save the generated API key
|
38
31
|
|
39
|
-
<Image
|
40
|
-
alt={'Save API Key'}
|
41
|
-
inStep
|
42
|
-
src={'https://github.com/user-attachments/assets/28590f7f-bfee-4215-b50b-8feddbf72366'}
|
43
|
-
/>
|
32
|
+
<Image alt={'Save API Key'} inStep src={'https://github.com/user-attachments/assets/28590f7f-bfee-4215-b50b-8feddbf72366'} />
|
44
33
|
|
45
|
-
<Callout type={'warning'}>
|
46
|
-
|
47
|
-
|
48
|
-
</Callout>
|
34
|
+
<Callout type={'warning'}>
|
35
|
+
Please store the key securely, as it will appear only once. If you accidentally lose it, you will
|
36
|
+
need to create a new key.
|
37
|
+
</Callout>
|
49
38
|
|
50
|
-
### Step 2: Configure Fireworks AI in LobeChat
|
39
|
+
### Step 2: Configure Fireworks AI in LobeChat
|
51
40
|
|
52
|
-
- Access the `Settings` interface in LobeChat
|
53
|
-
- Under `Language Model`, locate the settings for `Fireworks AI`
|
41
|
+
- Access the `Settings` interface in LobeChat
|
42
|
+
- Under `Language Model`, locate the settings for `Fireworks AI`
|
54
43
|
|
55
|
-
<Image
|
56
|
-
alt={'Enter API Key'}
|
57
|
-
inStep
|
58
|
-
src={'https://github.com/user-attachments/assets/12c1957d-f050-4235-95da-d55ddedfa6c9'}
|
59
|
-
/>
|
44
|
+
<Image alt={'Enter API Key'} inStep src={'https://github.com/user-attachments/assets/12c1957d-f050-4235-95da-d55ddedfa6c9'} />
|
60
45
|
|
61
|
-
- Enter the obtained API key
|
62
|
-
- Select a Fireworks AI model for your AI assistant to start a conversation
|
46
|
+
- Enter the obtained API key
|
47
|
+
- Select a Fireworks AI model for your AI assistant to start a conversation
|
63
48
|
|
64
|
-
<Image
|
65
|
-
alt={'Select Fireworks AI Model and Start Conversation'}
|
66
|
-
inStep
|
67
|
-
src={'https://github.com/user-attachments/assets/378df8df-8ec4-436e-8451-fbc52705faee'}
|
68
|
-
/>
|
69
|
-
|
70
|
-
<Callout type={'warning'}>
|
71
|
-
Please note that you may need to pay fees to the API service provider during use; refer to
|
72
|
-
Fireworks AI's pricing policy for details.
|
73
|
-
</Callout>
|
49
|
+
<Image alt={'Select Fireworks AI Model and Start Conversation'} inStep src={'https://github.com/user-attachments/assets/378df8df-8ec4-436e-8451-fbc52705faee'} />
|
74
50
|
|
51
|
+
<Callout type={'warning'}>
|
52
|
+
Please note that you may need to pay fees to the API service provider during use; refer to
|
53
|
+
Fireworks AI's pricing policy for details.
|
54
|
+
</Callout>
|
75
55
|
</Steps>
|
76
56
|
|
77
57
|
You are now ready to use the models provided by Fireworks AI for conversations in LobeChat.
|
@@ -10,64 +10,44 @@ tags:
|
|
10
10
|
|
11
11
|
# 在 LobeChat 中使用 Fireworks AI
|
12
12
|
|
13
|
-
<Image
|
14
|
-
cover
|
15
|
-
src={'https://github.com/user-attachments/assets/facdc83c-e789-4649-8060-7f7a10a1b1dd'}
|
16
|
-
/>
|
13
|
+
<Image cover src={'https://github.com/user-attachments/assets/facdc83c-e789-4649-8060-7f7a10a1b1dd'} />
|
17
14
|
|
18
15
|
[Fireworks.ai](https://fireworks.ai/) 是一个高性能的生成式 AI 模型推理平台,允许用户通过其 API 访问和使用各种模型。该平台支持多种模态,包括文本和视觉语言模型,并提供函数调用和 JSON 模式等功能,以增强应用开发的灵活性。
|
19
16
|
|
20
17
|
本文将指导你如何在 LobeChat 中使用 Fireworks AI。
|
21
18
|
|
22
19
|
<Steps>
|
23
|
-
### 步骤一:获得 Fireworks AI 的 API Key
|
20
|
+
### 步骤一:获得 Fireworks AI 的 API Key
|
24
21
|
|
25
|
-
- 登录 [Fireworks.ai 控制台](https://fireworks.ai/account/api-keys)
|
26
|
-
- 进入 `User` 页面,点击 `API Keys`
|
27
|
-
- 创建一个新的 API 密钥
|
22
|
+
- 登录 [Fireworks.ai 控制台](https://fireworks.ai/account/api-keys)
|
23
|
+
- 进入 `User` 页面,点击 `API Keys`
|
24
|
+
- 创建一个新的 API 密钥
|
28
25
|
|
29
|
-
<Image
|
30
|
-
alt={'创建 API 密钥'}
|
31
|
-
inStep
|
32
|
-
src={'https://github.com/user-attachments/assets/eb027093-5ceb-4a9d-8850-b791fbf69a71'}
|
33
|
-
/>
|
26
|
+
<Image alt={'创建 API 密钥'} inStep src={'https://github.com/user-attachments/assets/eb027093-5ceb-4a9d-8850-b791fbf69a71'} />
|
34
27
|
|
35
|
-
- 复制并保存生成的 API 密钥
|
28
|
+
- 复制并保存生成的 API 密钥
|
36
29
|
|
37
|
-
<Image
|
38
|
-
alt={'保存 API 密钥'}
|
39
|
-
inStep
|
40
|
-
src={'https://github.com/user-attachments/assets/28590f7f-bfee-4215-b50b-8feddbf72366'}
|
41
|
-
/>
|
30
|
+
<Image alt={'保存 API 密钥'} inStep src={'https://github.com/user-attachments/assets/28590f7f-bfee-4215-b50b-8feddbf72366'} />
|
42
31
|
|
43
|
-
<Callout type={'warning'}>
|
44
|
-
|
45
|
-
</Callout>
|
32
|
+
<Callout type={'warning'}>
|
33
|
+
请安全地存储密钥,因为它只会出现一次。如果您意外丢失它,您将需要创建一个新密钥。
|
34
|
+
</Callout>
|
46
35
|
|
47
|
-
### 步骤二:在 LobeChat 中配置 Fireworks AI
|
36
|
+
### 步骤二:在 LobeChat 中配置 Fireworks AI
|
48
37
|
|
49
|
-
- 访问 LobeChat 的`设置`界面
|
50
|
-
- 在`语言模型`下找到 `Fireworks AI` 的设置项
|
38
|
+
- 访问 LobeChat 的`设置`界面
|
39
|
+
- 在`语言模型`下找到 `Fireworks AI` 的设置项
|
51
40
|
|
52
|
-
<Image
|
53
|
-
alt={'填入 API 密钥'}
|
54
|
-
inStep
|
55
|
-
src={'https://github.com/user-attachments/assets/12c1957d-f050-4235-95da-d55ddedfa6c9'}
|
56
|
-
/>
|
41
|
+
<Image alt={'填入 API 密钥'} inStep src={'https://github.com/user-attachments/assets/12c1957d-f050-4235-95da-d55ddedfa6c9'} />
|
57
42
|
|
58
|
-
- 填入获得的 API 密钥
|
59
|
-
- 为你的 AI 助手选择一个 Fireworks AI 的模型即可开始对话
|
43
|
+
- 填入获得的 API 密钥
|
44
|
+
- 为你的 AI 助手选择一个 Fireworks AI 的模型即可开始对话
|
60
45
|
|
61
|
-
<Image
|
62
|
-
alt={'选择 Fireworks AI 模型并开始对话'}
|
63
|
-
inStep
|
64
|
-
src={'https://github.com/user-attachments/assets/378df8df-8ec4-436e-8451-fbc52705faee'}
|
65
|
-
/>
|
66
|
-
|
67
|
-
<Callout type={'warning'}>
|
68
|
-
在使用过程中你可能需要向 API 服务提供商付费,请参考 Fireworks AI 的相关费用政策。
|
69
|
-
</Callout>
|
46
|
+
<Image alt={'选择 Fireworks AI 模型并开始对话'} inStep src={'https://github.com/user-attachments/assets/378df8df-8ec4-436e-8451-fbc52705faee'} />
|
70
47
|
|
48
|
+
<Callout type={'warning'}>
|
49
|
+
在使用过程中你可能需要向 API 服务提供商付费,请参考 Fireworks AI 的相关费用政策。
|
50
|
+
</Callout>
|
71
51
|
</Steps>
|
72
52
|
|
73
53
|
至此你已经可以在 LobeChat 中使用 Fireworks AI 提供的模型进行对话了。
|
@@ -13,70 +13,44 @@ tags:
|
|
13
13
|
|
14
14
|
# Using Google Gemini in LobeChat
|
15
15
|
|
16
|
-
<Image
|
17
|
-
alt={'Using Google Gemini in LobeChat'}
|
18
|
-
cover
|
19
|
-
src={'https://github.com/lobehub/lobe-chat/assets/34400653/9a8dc1d4-152b-415f-a7cd-8f0c8fbb9913'}
|
20
|
-
/>
|
16
|
+
<Image alt={'Using Google Gemini in LobeChat'} cover src={'https://github.com/lobehub/lobe-chat/assets/34400653/9a8dc1d4-152b-415f-a7cd-8f0c8fbb9913'} />
|
21
17
|
|
22
18
|
Gemini AI is a set of large language models (LLMs) created by Google AI, known for its cutting-edge advancements in multimodal understanding and processing. It is essentially a powerful artificial intelligence tool capable of handling various tasks involving different types of data, not just text.
|
23
19
|
|
24
20
|
This document will guide you on how to use Google Gemini in LobeChat:
|
25
21
|
|
26
22
|
<Steps>
|
23
|
+
### Step 1: Obtain Google API Key
|
27
24
|
|
28
|
-
|
25
|
+
- Visit and log in to [Google AI Studio](https://aistudio.google.com/)
|
26
|
+
- Navigate to `Get API Key` in the menu and click on `Create API Key`
|
29
27
|
|
30
|
-
|
31
|
-
- Navigate to `Get API Key` in the menu and click on `Create API Key`
|
28
|
+
<Image alt={'Generate Google Gemini Key'} inStep src={'https://github.com/lobehub/lobe-chat/assets/34400653/ba3595e3-d9cb-4d0d-b414-8306b16df186'} />
|
32
29
|
|
33
|
-
|
34
|
-
alt={'Generate Google Gemini Key'}
|
35
|
-
inStep
|
36
|
-
src={'https://github.com/lobehub/lobe-chat/assets/34400653/ba3595e3-d9cb-4d0d-b414-8306b16df186'}
|
37
|
-
/>
|
30
|
+
- Select a project and create an API key, or create one in a new project
|
38
31
|
|
39
|
-
|
32
|
+
<Image alt={'Enter API Key Name'} inStep src={'https://github.com/lobehub/lobe-chat/assets/34400653/fa725e49-4c17-4055-82bc-98a31e73fa54'} />
|
40
33
|
|
41
|
-
|
42
|
-
alt={'Enter API Key Name'}
|
43
|
-
inStep
|
44
|
-
src={'https://github.com/lobehub/lobe-chat/assets/34400653/fa725e49-4c17-4055-82bc-98a31e73fa54'}
|
45
|
-
/>
|
34
|
+
- Copy the API key from the pop-up dialog
|
46
35
|
|
47
|
-
|
36
|
+
<Image alt={'Copy API Key'} inStep src={'https://github.com/lobehub/lobe-chat/assets/34400653/28d89add-cb18-4b86-9807-f2a5ed65ceba'} />
|
48
37
|
|
49
|
-
|
50
|
-
alt={'Copy API Key'}
|
51
|
-
inStep
|
52
|
-
src={'https://github.com/lobehub/lobe-chat/assets/34400653/28d89add-cb18-4b86-9807-f2a5ed65ceba'}
|
53
|
-
/>
|
38
|
+
### Step 2: Configure OpenAI in LobeChat
|
54
39
|
|
55
|
-
|
40
|
+
- Go to the `Settings` interface in LobeChat
|
41
|
+
- Find the setting for `Google Gemini` under `Language Models`
|
56
42
|
|
57
|
-
|
58
|
-
- Find the setting for `Google Gemini` under `Language Models`
|
43
|
+
<Image alt={'Enter Google Gemini API Key in LobeChat'} inStep src={'https://github.com/lobehub/lobe-chat/assets/34400653/11442ce4-a615-49c4-937a-ca2ae93dd27c'} />
|
59
44
|
|
60
|
-
|
61
|
-
|
62
|
-
inStep
|
63
|
-
src={'https://github.com/lobehub/lobe-chat/assets/34400653/11442ce4-a615-49c4-937a-ca2ae93dd27c'}
|
64
|
-
/>
|
45
|
+
- Enable Google Gemini and enter the obtained API key
|
46
|
+
- Choose a Gemini model for your assistant to start the conversation
|
65
47
|
|
66
|
-
|
67
|
-
- Choose a Gemini model for your assistant to start the conversation
|
68
|
-
|
69
|
-
<Image
|
70
|
-
alt={'Select and Use Gemini Model'}
|
71
|
-
inStep
|
72
|
-
src={'https://github.com/lobehub/lobe-chat/assets/34400653/ef9ed1b8-6828-4dd6-b86b-bb0b4fa40619'}
|
73
|
-
/>
|
74
|
-
|
75
|
-
<Callout type={'warning'}>
|
76
|
-
During usage, you may need to pay the API service provider, please refer to Google Gemini's
|
77
|
-
pricing policy.
|
78
|
-
</Callout>
|
48
|
+
<Image alt={'Select and Use Gemini Model'} inStep src={'https://github.com/lobehub/lobe-chat/assets/34400653/ef9ed1b8-6828-4dd6-b86b-bb0b4fa40619'} />
|
79
49
|
|
50
|
+
<Callout type={'warning'}>
|
51
|
+
During usage, you may need to pay the API service provider, please refer to Google Gemini's
|
52
|
+
pricing policy.
|
53
|
+
</Callout>
|
80
54
|
</Steps>
|
81
55
|
|
82
56
|
Congratulations! You can now use Google Gemini in LobeChat.
|
@@ -10,69 +10,43 @@ tags:
|
|
10
10
|
|
11
11
|
# 在 LobeChat 中使用 Google Gemini
|
12
12
|
|
13
|
-
<Image
|
14
|
-
alt={'在 LobeChat 中使用 Google Gemini'}
|
15
|
-
cover
|
16
|
-
src={'https://github.com/lobehub/lobe-chat/assets/34400653/9a8dc1d4-152b-415f-a7cd-8f0c8fbb9913'}
|
17
|
-
/>
|
13
|
+
<Image alt={'在 LobeChat 中使用 Google Gemini'} cover src={'https://github.com/lobehub/lobe-chat/assets/34400653/9a8dc1d4-152b-415f-a7cd-8f0c8fbb9913'} />
|
18
14
|
|
19
|
-
Gemini AI是由 Google AI 创建的一组大型语言模型(LLM),以其在多模式理解和处理方面的尖端进步而闻名。它本质上是一个强大的人工智能工具,可以处理涉及不同类型数据的各种任务,而不仅仅是文本。
|
15
|
+
Gemini AI 是由 Google AI 创建的一组大型语言模型(LLM),以其在多模式理解和处理方面的尖端进步而闻名。它本质上是一个强大的人工智能工具,可以处理涉及不同类型数据的各种任务,而不仅仅是文本。
|
20
16
|
|
21
17
|
本文档将指导你如何在 LobeChat 中使用 Google Gemini:
|
22
18
|
|
23
19
|
<Steps>
|
20
|
+
### 步骤一:获取 Google 的 API 密钥
|
24
21
|
|
25
|
-
|
22
|
+
- 访问并登录 [Google AI Studio](https://aistudio.google.com/)
|
23
|
+
- 在 `获取 API 密钥` 菜单中 `创建 API 密钥`
|
26
24
|
|
27
|
-
|
28
|
-
- 在 `获取 API 密钥` 菜单中 `创建 API 密钥`
|
25
|
+
<Image alt={'生成 Google Gemini 密钥'} inStep src={'https://github.com/lobehub/lobe-chat/assets/34400653/ba3595e3-d9cb-4d0d-b414-8306b16df186'} />
|
29
26
|
|
30
|
-
|
31
|
-
alt={'生成 Google Gemini 密钥'}
|
32
|
-
inStep
|
33
|
-
src={'https://github.com/lobehub/lobe-chat/assets/34400653/ba3595e3-d9cb-4d0d-b414-8306b16df186'}
|
34
|
-
/>
|
27
|
+
- 选择一个项目并创建 API 密钥,或者在新项目中创建 API 密钥
|
35
28
|
|
36
|
-
|
29
|
+
<Image alt={'输入 API 密钥名称'} inStep src={'https://github.com/lobehub/lobe-chat/assets/34400653/fa725e49-4c17-4055-82bc-98a31e73fa54'} />
|
37
30
|
|
38
|
-
|
39
|
-
alt={'输入 API 密钥名称'}
|
40
|
-
inStep
|
41
|
-
src={'https://github.com/lobehub/lobe-chat/assets/34400653/fa725e49-4c17-4055-82bc-98a31e73fa54'}
|
42
|
-
/>
|
31
|
+
- 在弹出的对话框中复制 API 密钥
|
43
32
|
|
44
|
-
|
33
|
+
<Image alt={'复制 API 密钥'} inStep src={'https://github.com/lobehub/lobe-chat/assets/34400653/28d89add-cb18-4b86-9807-f2a5ed65ceba'} />
|
45
34
|
|
46
|
-
|
47
|
-
alt={'复制 API 密钥'}
|
48
|
-
inStep
|
49
|
-
src={'https://github.com/lobehub/lobe-chat/assets/34400653/28d89add-cb18-4b86-9807-f2a5ed65ceba'}
|
50
|
-
/>
|
35
|
+
### 步骤二:在 LobeChat 中配置 OpenAI
|
51
36
|
|
52
|
-
|
37
|
+
- 访问 LobeChat 的`设置`界面
|
38
|
+
- 在`语言模型`下找到`Google Gemini`的设置项
|
53
39
|
|
54
|
-
-
|
55
|
-
- 在`语言模型`下找到`Google Gemini`的设置项
|
40
|
+
<Image alt={'LobeChat 中填写 Google Gemini API 密钥'} inStep src={'https://github.com/lobehub/lobe-chat/assets/34400653/11442ce4-a615-49c4-937a-ca2ae93dd27c'} />
|
56
41
|
|
57
|
-
|
58
|
-
|
59
|
-
inStep
|
60
|
-
src={'https://github.com/lobehub/lobe-chat/assets/34400653/11442ce4-a615-49c4-937a-ca2ae93dd27c'}
|
61
|
-
/>
|
42
|
+
- 打开 Google Gemini 并填入获得的 API 密钥
|
43
|
+
- 为你的助手选择一个 Gemini 的模型即可开始对话
|
62
44
|
|
63
|
-
|
64
|
-
- 为你的助手选择一个 Gemini 的模型即可开始对话
|
65
|
-
|
66
|
-
<Image
|
67
|
-
alt={' 选择并使用 Gemini 模型 '}
|
68
|
-
inStep
|
69
|
-
src={'https://github.com/lobehub/lobe-chat/assets/34400653/ef9ed1b8-6828-4dd6-b86b-bb0b4fa40619'}
|
70
|
-
/>
|
71
|
-
|
72
|
-
<Callout type={'warning'}>
|
73
|
-
在使用过程中你可能需要向 API 服务提供商付费,请参考 Google Gemini 的费用政策。
|
74
|
-
</Callout>
|
45
|
+
<Image alt={' 选择并使用 Gemini 模型 '} inStep src={'https://github.com/lobehub/lobe-chat/assets/34400653/ef9ed1b8-6828-4dd6-b86b-bb0b4fa40619'} />
|
75
46
|
|
47
|
+
<Callout type={'warning'}>
|
48
|
+
在使用过程中你可能需要向 API 服务提供商付费,请参考 Google Gemini 的费用政策。
|
49
|
+
</Callout>
|
76
50
|
</Steps>
|
77
51
|
|
78
52
|
至此,你已经可以在 LobeChat 中使用 Google Gemini 啦。
|
@@ -12,68 +12,47 @@ tags:
|
|
12
12
|
|
13
13
|
# Using Gitee AI in LobeChat
|
14
14
|
|
15
|
-
<Image
|
16
|
-
cover
|
17
|
-
src={'https://github.com/user-attachments/assets/f9ccce84-4fd4-48ca-9450-40660112d0d7'}
|
18
|
-
/>
|
15
|
+
<Image cover src={'https://github.com/user-attachments/assets/f9ccce84-4fd4-48ca-9450-40660112d0d7'} />
|
19
16
|
|
20
17
|
[Gitee AI](https://ai.gitee.com/) is an open-source platform based on Git code hosting technology, specifically designed for AI application scenarios. It aims to provide developers and businesses with a one-stop solution for AI application development services, including model experience, inference, fine-tuning, and deployment.
|
21
18
|
|
22
19
|
This article will guide you on how to use Gitee AI in LobeChat.
|
23
20
|
|
24
21
|
<Steps>
|
22
|
+
### Step 1: Obtain the Gitee AI API Key
|
25
23
|
|
26
|
-
|
24
|
+
- Register and log in to the [Gitee AI official website](https://ai.gitee.com/)
|
25
|
+
- Purchase and recharge `Serverless API` from your dashboard
|
27
26
|
|
28
|
-
|
29
|
-
- Purchase and recharge `Serverless API` from your dashboard
|
27
|
+
<Image alt={'Gitee Serverless API'} inStep src={'https://github.com/user-attachments/assets/c77fcf70-9039-49ff-86e4-f8eaa267bbf6'} />
|
30
28
|
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
src={'https://github.com/user-attachments/assets/c77fcf70-9039-49ff-86e4-f8eaa267bbf6'}
|
35
|
-
/>
|
29
|
+
- In `Settings`, click on the `Access Tokens` section
|
30
|
+
- Create a new access token
|
31
|
+
- Save the access token in the pop-up window
|
36
32
|
|
37
|
-
|
38
|
-
- Create a new access token
|
39
|
-
- Save the access token in the pop-up window
|
33
|
+
<Image alt={'Gitee Serverless API'} inStep src={'https://github.com/user-attachments/assets/0af85438-ac99-4c95-b888-a17e88ede043'} />
|
40
34
|
|
41
|
-
<
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
/>
|
35
|
+
<Callout type={'warning'}>
|
36
|
+
Please keep the access token safe as it will only appear once. If you accidentally lose it, you
|
37
|
+
will need to create a new one.
|
38
|
+
</Callout>
|
46
39
|
|
47
|
-
|
48
|
-
Please keep the access token safe as it will only appear once. If you accidentally lose it, you
|
49
|
-
will need to create a new one.
|
50
|
-
</Callout>
|
40
|
+
### Step 2: Configure Gitee AI in LobeChat
|
51
41
|
|
52
|
-
|
42
|
+
- Access the `Settings` page in LobeChat
|
43
|
+
- Under `Language Models`, find the settings for `Gitee AI`
|
53
44
|
|
54
|
-
|
55
|
-
- Under `Language Models`, find the settings for `Gitee AI`
|
45
|
+
<Image alt={'Enter API Key'} inStep src={'https://github.com/user-attachments/assets/eaa2a1fb-41ad-473d-ac10-a39c05886425'} />
|
56
46
|
|
57
|
-
|
58
|
-
|
59
|
-
inStep
|
60
|
-
src={'https://github.com/user-attachments/assets/eaa2a1fb-41ad-473d-ac10-a39c05886425'}
|
61
|
-
/>
|
47
|
+
- Enter the obtained API key
|
48
|
+
- Select a Gitee AI model for your AI assistant to begin chatting
|
62
49
|
|
63
|
-
|
64
|
-
- Select a Gitee AI model for your AI assistant to begin chatting
|
65
|
-
|
66
|
-
<Image
|
67
|
-
alt={'Select Gitee AI Model and Start Chatting'}
|
68
|
-
inStep
|
69
|
-
src={'https://github.com/user-attachments/assets/ab87120c-15ff-4bc7-bb28-4b0b43cfe91a'}
|
70
|
-
/>
|
71
|
-
|
72
|
-
<Callout type={'warning'}>
|
73
|
-
During usage, you may need to make payments to the API service provider; please refer to Gitee
|
74
|
-
AI's relevant pricing policy.
|
75
|
-
</Callout>
|
50
|
+
<Image alt={'Select Gitee AI Model and Start Chatting'} inStep src={'https://github.com/user-attachments/assets/ab87120c-15ff-4bc7-bb28-4b0b43cfe91a'} />
|
76
51
|
|
52
|
+
<Callout type={'warning'}>
|
53
|
+
During usage, you may need to make payments to the API service provider; please refer to Gitee
|
54
|
+
AI's relevant pricing policy.
|
55
|
+
</Callout>
|
77
56
|
</Steps>
|
78
57
|
|
79
58
|
Now you can start having conversations using the models provided by Gitee AI in LobeChat!
|
@@ -10,66 +10,45 @@ tags:
|
|
10
10
|
|
11
11
|
# 在 LobeChat 中使用 Gitee AI
|
12
12
|
|
13
|
-
<Image
|
14
|
-
cover
|
15
|
-
src={'https://github.com/user-attachments/assets/f9ccce84-4fd4-48ca-9450-40660112d0d7'}
|
16
|
-
/>
|
13
|
+
<Image cover src={'https://github.com/user-attachments/assets/f9ccce84-4fd4-48ca-9450-40660112d0d7'} />
|
17
14
|
|
18
15
|
[Gitee AI](https://ai.gitee.com/) 是一个基于 Git 代码托管技术的开源平台,专为人工智能(AI)应用场景设计。它旨在为开发者和企业提供一站式的 AI 应用开发服务,包括模型体验、推理、微调和部署等功能。
|
19
16
|
|
20
17
|
本文将指导你如何在 LobeChat 中使用 Gitee AI。
|
21
18
|
|
22
19
|
<Steps>
|
20
|
+
### 步骤一:获取 Gitee AI 的 API 密钥
|
23
21
|
|
24
|
-
|
22
|
+
- 注册并登录 [Gitee AI 官网](https://ai.gitee.com/)
|
23
|
+
- 在工作台中购买并充值 `Serverless API`
|
25
24
|
|
26
|
-
|
27
|
-
- 在工作台中购买并充值 `Serverless API`
|
25
|
+
<Image alt={'Gitee Serverless API'} inStep src={'https://github.com/user-attachments/assets/c77fcf70-9039-49ff-86e4-f8eaa267bbf6'} />
|
28
26
|
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
src={'https://github.com/user-attachments/assets/c77fcf70-9039-49ff-86e4-f8eaa267bbf6'}
|
33
|
-
/>
|
27
|
+
- 在 `设置` 中点击 `访问令牌` 界面
|
28
|
+
- 创建一个新的访问令牌
|
29
|
+
- 在弹出窗口中保存访问令牌
|
34
30
|
|
35
|
-
|
36
|
-
- 创建一个新的访问令牌
|
37
|
-
- 在弹出窗口中保存访问令牌
|
31
|
+
<Image alt={'Gitee Serverless API'} inStep src={'https://github.com/user-attachments/assets/0af85438-ac99-4c95-b888-a17e88ede043'} />
|
38
32
|
|
39
|
-
<
|
40
|
-
|
41
|
-
|
42
|
-
src={'https://github.com/user-attachments/assets/0af85438-ac99-4c95-b888-a17e88ede043'}
|
43
|
-
/>
|
33
|
+
<Callout type={'warning'}>
|
34
|
+
妥善保存弹窗中的访问令牌,它只会出现一次,如果不小心丢失了,你需要重新创建一个访问令牌。
|
35
|
+
</Callout>
|
44
36
|
|
45
|
-
|
46
|
-
妥善保存弹窗中的访问令牌,它只会出现一次,如果不小心丢失了,你需要重新创建一个访问令牌。
|
47
|
-
</Callout>
|
37
|
+
### 步骤二:在 LobeChat 中配置 Gitee AI
|
48
38
|
|
49
|
-
|
39
|
+
- 访问 LobeChat 的`设置`界面
|
40
|
+
- 在`语言模型`下找到 `Gitee AI` 的设置项
|
50
41
|
|
51
|
-
|
52
|
-
- 在`语言模型`下找到 `Gitee AI` 的设置项
|
42
|
+
<Image alt={'填入 API 密钥'} inStep src={'https://github.com/user-attachments/assets/eaa2a1fb-41ad-473d-ac10-a39c05886425'} />
|
53
43
|
|
54
|
-
|
55
|
-
|
56
|
-
inStep
|
57
|
-
src={'https://github.com/user-attachments/assets/eaa2a1fb-41ad-473d-ac10-a39c05886425'}
|
58
|
-
/>
|
44
|
+
- 填入获得的 API 密钥
|
45
|
+
- 为你的 AI 助手选择一个 Gitee AI 的模型即可开始对话
|
59
46
|
|
60
|
-
|
61
|
-
- 为你的 AI 助手选择一个 Gitee AI 的模型即可开始对话
|
62
|
-
|
63
|
-
<Image
|
64
|
-
alt={'选择 Gitee AI 模型并开始对话'}
|
65
|
-
inStep
|
66
|
-
src={'https://github.com/user-attachments/assets/ab87120c-15ff-4bc7-bb28-4b0b43cfe91a'}
|
67
|
-
/>
|
68
|
-
|
69
|
-
<Callout type={'warning'}>
|
70
|
-
在使用过程中你可能需要向 API 服务提供商付费,请参考 Gitee AI 的相关费用政策。
|
71
|
-
</Callout>
|
47
|
+
<Image alt={'选择 Gitee AI 模型并开始对话'} inStep src={'https://github.com/user-attachments/assets/ab87120c-15ff-4bc7-bb28-4b0b43cfe91a'} />
|
72
48
|
|
49
|
+
<Callout type={'warning'}>
|
50
|
+
在使用过程中你可能需要向 API 服务提供商付费,请参考 Gitee AI 的相关费用政策。
|
51
|
+
</Callout>
|
73
52
|
</Steps>
|
74
53
|
|
75
54
|
至此你已经可以在 LobeChat 中使用 Gitee AI 提供的模型进行对话了。
|
@@ -11,10 +11,7 @@ tags:
|
|
11
11
|
|
12
12
|
# Using GitHub Models in LobeChat
|
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) is a new feature recently launched by GitHub, designed to provide developers with a free platform to access and experiment with various AI models. GitHub Models offers an interactive sandbox environment where users can test different model parameters and prompts, and observe the responses of the models. The platform supports advanced language models, including OpenAI's GPT-4o, Meta's Llama 3.1, and Mistral's Large 2, covering a wide range of applications from large-scale language models to task-specific models.
|
20
17
|
|
@@ -24,11 +21,7 @@ This article will guide you on how to use GitHub Models in LobeChat.
|
|
24
21
|
|
25
22
|
Currently, the usage of the Playground and free API is subject to limits on the number of requests per minute, the number of requests per day, the number of tokens per request, and the number of concurrent requests. If you hit the rate limit, you will need to wait for the limit to reset before making further requests. The rate limits vary for different models (low, high, and embedding models). For model type information, please refer to the GitHub Marketplace.
|
26
23
|
|
27
|
-
<Image
|
28
|
-
alt={'GitHub Models Rate Limits'}
|
29
|
-
inStep
|
30
|
-
src={'https://github.com/user-attachments/assets/21c52e2a-b2f8-4de8-a5d4-cf3444608db7'}
|
31
|
-
/>
|
24
|
+
<Image alt={'GitHub Models Rate Limits'} inStep src={'https://github.com/user-attachments/assets/21c52e2a-b2f8-4de8-a5d4-cf3444608db7'} />
|
32
25
|
|
33
26
|
<Callout type="note">
|
34
27
|
These limits are subject to change at any time. For specific information, please refer to the
|
@@ -41,53 +34,34 @@ Currently, the usage of the Playground and free API is subject to limits on the
|
|
41
34
|
## Configuration Guide for GitHub Models
|
42
35
|
|
43
36
|
<Steps>
|
44
|
-
### Step 1: Obtain a GitHub Access Token
|
37
|
+
### Step 1: Obtain a GitHub Access Token
|
45
38
|
|
46
|
-
- Log in to GitHub and open the [Access Tokens](https://github.com/settings/tokens) page.
|
47
|
-
- Create and configure a new access token.
|
39
|
+
- Log in to GitHub and open the [Access Tokens](https://github.com/settings/tokens) page.
|
40
|
+
- Create and configure a new access token.
|
48
41
|
|
49
|
-
<Image
|
50
|
-
alt={'Creating Access Token'}
|
51
|
-
inStep
|
52
|
-
src={'https://github.com/user-attachments/assets/8570db14-dac6-4279-ab71-04a072c15490'}
|
53
|
-
/>
|
42
|
+
<Image alt={'Creating Access Token'} inStep src={'https://github.com/user-attachments/assets/8570db14-dac6-4279-ab71-04a072c15490'} />
|
54
43
|
|
55
|
-
- Copy and save the generated token from the results returned.
|
44
|
+
- Copy and save the generated token from the results returned.
|
56
45
|
|
57
|
-
<Image
|
58
|
-
alt={'Saving Access Token'}
|
59
|
-
inStep
|
60
|
-
src={'https://github.com/user-attachments/assets/3c1a492d-a3d4-4570-9e74-785c2942ca41'}
|
61
|
-
/>
|
46
|
+
<Image alt={'Saving Access Token'} inStep src={'https://github.com/user-attachments/assets/3c1a492d-a3d4-4570-9e74-785c2942ca41'} />
|
62
47
|
|
63
|
-
<Callout type={"warning"}>
|
64
|
-
|
65
|
-
- During the testing phase of GitHub Models, users must apply to join the [waitlist](https://github.com/marketplace/models/waitlist/join) in order to gain access.
|
48
|
+
<Callout type={"warning"}>
|
49
|
+
- During the testing phase of GitHub Models, users must apply to join the [waitlist](https://github.com/marketplace/models/waitlist/join) in order to gain access.
|
66
50
|
|
67
|
-
- Please store the access token securely, as it will only be displayed once. If you accidentally lose it, you will need to create a new token.
|
51
|
+
- Please store the access token securely, as it will only be displayed once. If you accidentally lose it, you will need to create a new token.
|
52
|
+
</Callout>
|
68
53
|
|
69
|
-
|
70
|
-
|
71
|
-
### Step 2: Configure GitHub Models in LobeChat
|
72
|
-
|
73
|
-
- Navigate to the `Settings` interface in LobeChat.
|
74
|
-
- Under `Language Models`, find the GitHub settings.
|
54
|
+
### Step 2: Configure GitHub Models in LobeChat
|
75
55
|
|
76
|
-
|
77
|
-
|
78
|
-
inStep
|
79
|
-
src={'https://github.com/user-attachments/assets/a00f06cc-da7c-41e8-a4d5-d4b675a22673'}
|
80
|
-
/>
|
56
|
+
- Navigate to the `Settings` interface in LobeChat.
|
57
|
+
- Under `Language Models`, find the GitHub settings.
|
81
58
|
|
82
|
-
|
83
|
-
- Select a GitHub model for your AI assistant to start the conversation.
|
59
|
+
<Image alt={'Entering Access Token'} inStep src={'https://github.com/user-attachments/assets/a00f06cc-da7c-41e8-a4d5-d4b675a22673'} />
|
84
60
|
|
85
|
-
|
86
|
-
|
87
|
-
inStep
|
88
|
-
src={'https://github.com/user-attachments/assets/aead3c6c-891e-47c3-9f34-bdc33875e0c2'}
|
89
|
-
/>
|
61
|
+
- Enter the access token you obtained.
|
62
|
+
- Select a GitHub model for your AI assistant to start the conversation.
|
90
63
|
|
64
|
+
<Image alt={'Selecting GitHub Model and Starting Conversation'} inStep src={'https://github.com/user-attachments/assets/aead3c6c-891e-47c3-9f34-bdc33875e0c2'} />
|
91
65
|
</Steps>
|
92
66
|
|
93
67
|
You are now ready to use the models provided by GitHub for conversations within LobeChat.
|