@lobehub/chat 1.44.2 → 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.
Files changed (324) hide show
  1. package/.remarkrc.mdx.js +6 -0
  2. package/CHANGELOG.md +50 -0
  3. package/changelog/v1.json +18 -0
  4. package/docs/changelog/2023-09-09-plugin-system.mdx +5 -0
  5. package/docs/changelog/2023-09-09-plugin-system.zh-CN.mdx +5 -0
  6. package/docs/changelog/2023-11-14-gpt4-vision.mdx +6 -0
  7. package/docs/changelog/2023-11-14-gpt4-vision.zh-CN.mdx +6 -0
  8. package/docs/changelog/2023-11-19-tts-stt.mdx +6 -0
  9. package/docs/changelog/2023-11-19-tts-stt.zh-CN.mdx +7 -0
  10. package/docs/changelog/2023-12-22-dalle-3.mdx +6 -0
  11. package/docs/changelog/2023-12-22-dalle-3.zh-CN.mdx +4 -0
  12. package/docs/changelog/2024-02-08-sso-oauth.mdx +6 -0
  13. package/docs/changelog/2024-02-08-sso-oauth.zh-CN.mdx +6 -0
  14. package/docs/changelog/2024-02-14-ollama.mdx +6 -0
  15. package/docs/changelog/2024-02-14-ollama.zh-CN.mdx +5 -0
  16. package/docs/changelog/2024-06-19-lobe-chat-v1.mdx +6 -0
  17. package/docs/changelog/2024-06-19-lobe-chat-v1.zh-CN.mdx +5 -0
  18. package/docs/changelog/2024-07-19-gpt-4o-mini.mdx +5 -0
  19. package/docs/changelog/2024-07-19-gpt-4o-mini.zh-CN.mdx +4 -0
  20. package/docs/changelog/2024-08-02-lobe-chat-database-docker.mdx +6 -0
  21. package/docs/changelog/2024-08-02-lobe-chat-database-docker.zh-CN.mdx +5 -0
  22. package/docs/changelog/2024-08-21-file-upload-and-knowledge-base.mdx +6 -0
  23. package/docs/changelog/2024-08-21-file-upload-and-knowledge-base.zh-CN.mdx +5 -0
  24. package/docs/changelog/2024-09-13-openai-o1-models.mdx +6 -0
  25. package/docs/changelog/2024-09-13-openai-o1-models.zh-CN.mdx +6 -0
  26. package/docs/changelog/2024-09-20-artifacts.mdx +6 -0
  27. package/docs/changelog/2024-09-20-artifacts.zh-CN.mdx +6 -0
  28. package/docs/changelog/2024-10-27-pin-assistant.mdx +5 -0
  29. package/docs/changelog/2024-10-27-pin-assistant.zh-CN.mdx +4 -0
  30. package/docs/changelog/2024-11-06-share-text-json.mdx +4 -0
  31. package/docs/changelog/2024-11-06-share-text-json.zh-CN.mdx +4 -0
  32. package/docs/changelog/2024-11-25-november-providers.mdx +7 -0
  33. package/docs/changelog/2024-11-25-november-providers.zh-CN.mdx +7 -0
  34. package/docs/changelog/2024-11-27-forkable-chat.mdx +4 -0
  35. package/docs/changelog/2024-11-27-forkable-chat.zh-CN.mdx +5 -0
  36. package/docs/changelog/2025-01-03-user-profile.mdx +5 -0
  37. package/docs/changelog/2025-01-03-user-profile.zh-CN.mdx +4 -1
  38. package/docs/self-hosting/advanced/auth/clerk.mdx +25 -41
  39. package/docs/self-hosting/advanced/auth/clerk.zh-CN.mdx +23 -37
  40. package/docs/self-hosting/advanced/auth/next-auth/auth0.mdx +31 -58
  41. package/docs/self-hosting/advanced/auth/next-auth/auth0.zh-CN.mdx +30 -57
  42. package/docs/self-hosting/advanced/auth/next-auth/authelia.mdx +38 -38
  43. package/docs/self-hosting/advanced/auth/next-auth/authelia.zh-CN.mdx +37 -38
  44. package/docs/self-hosting/advanced/auth/next-auth/authentik.mdx +26 -31
  45. package/docs/self-hosting/advanced/auth/next-auth/authentik.zh-CN.mdx +25 -30
  46. package/docs/self-hosting/advanced/auth/next-auth/casdoor.mdx +74 -75
  47. package/docs/self-hosting/advanced/auth/next-auth/casdoor.zh-CN.mdx +72 -73
  48. package/docs/self-hosting/advanced/auth/next-auth/cloudflare-zero-trust.mdx +24 -25
  49. package/docs/self-hosting/advanced/auth/next-auth/cloudflare-zero-trust.zh-CN.mdx +23 -24
  50. package/docs/self-hosting/advanced/auth/next-auth/github.mdx +46 -73
  51. package/docs/self-hosting/advanced/auth/next-auth/github.zh-CN.mdx +43 -70
  52. package/docs/self-hosting/advanced/auth/next-auth/logto.mdx +28 -37
  53. package/docs/self-hosting/advanced/auth/next-auth/logto.zh-CN.mdx +28 -37
  54. package/docs/self-hosting/advanced/auth/next-auth/microsoft-entra-id.mdx +36 -49
  55. package/docs/self-hosting/advanced/auth/next-auth/microsoft-entra-id.zh-CN.mdx +30 -43
  56. package/docs/self-hosting/advanced/auth/next-auth/wechat.mdx +13 -14
  57. package/docs/self-hosting/advanced/auth/next-auth/wechat.zh-CN.mdx +14 -15
  58. package/docs/self-hosting/advanced/auth/next-auth/zitadel.mdx +35 -69
  59. package/docs/self-hosting/advanced/auth/next-auth/zitadel.zh-CN.mdx +34 -68
  60. package/docs/self-hosting/advanced/auth.mdx +14 -13
  61. package/docs/self-hosting/advanced/auth.zh-CN.mdx +15 -14
  62. package/docs/self-hosting/advanced/feature-flags.zh-CN.mdx +15 -15
  63. package/docs/self-hosting/advanced/knowledge-base.mdx +14 -3
  64. package/docs/self-hosting/advanced/knowledge-base.zh-CN.mdx +12 -3
  65. package/docs/self-hosting/advanced/model-list.zh-CN.mdx +5 -5
  66. package/docs/self-hosting/advanced/s3/cloudflare-r2.mdx +52 -81
  67. package/docs/self-hosting/advanced/s3/cloudflare-r2.zh-CN.mdx +51 -80
  68. package/docs/self-hosting/advanced/s3/tencent-cloud.mdx +20 -34
  69. package/docs/self-hosting/advanced/s3/tencent-cloud.zh-CN.mdx +28 -43
  70. package/docs/self-hosting/advanced/s3.mdx +30 -34
  71. package/docs/self-hosting/advanced/s3.zh-CN.mdx +28 -33
  72. package/docs/self-hosting/advanced/settings-url-share.mdx +6 -6
  73. package/docs/self-hosting/advanced/settings-url-share.zh-CN.mdx +19 -19
  74. package/docs/self-hosting/advanced/upstream-sync.mdx +73 -89
  75. package/docs/self-hosting/advanced/upstream-sync.zh-CN.mdx +71 -87
  76. package/docs/self-hosting/advanced/webrtc.mdx +14 -21
  77. package/docs/self-hosting/advanced/webrtc.zh-CN.mdx +19 -26
  78. package/docs/self-hosting/environment-variables/analytics.zh-CN.mdx +0 -3
  79. package/docs/self-hosting/environment-variables/auth.zh-CN.mdx +1 -1
  80. package/docs/self-hosting/environment-variables/basic.mdx +13 -13
  81. package/docs/self-hosting/environment-variables/basic.zh-CN.mdx +15 -15
  82. package/docs/self-hosting/environment-variables/model-provider.mdx +1 -1
  83. package/docs/self-hosting/environment-variables/model-provider.zh-CN.mdx +1 -1
  84. package/docs/self-hosting/environment-variables/s3.mdx +3 -4
  85. package/docs/self-hosting/environment-variables/s3.zh-CN.mdx +5 -7
  86. package/docs/self-hosting/environment-variables.mdx +8 -4
  87. package/docs/self-hosting/environment-variables.zh-CN.mdx +4 -0
  88. package/docs/self-hosting/examples/azure-openai.mdx +9 -12
  89. package/docs/self-hosting/examples/azure-openai.zh-CN.mdx +8 -11
  90. package/docs/self-hosting/examples/ollama.mdx +8 -7
  91. package/docs/self-hosting/examples/ollama.zh-CN.mdx +8 -7
  92. package/docs/self-hosting/platform/alibaba-cloud.mdx +5 -7
  93. package/docs/self-hosting/platform/alibaba-cloud.zh-CN.mdx +5 -7
  94. package/docs/self-hosting/platform/btpanel.mdx +3 -2
  95. package/docs/self-hosting/platform/btpanel.zh-CN.mdx +3 -3
  96. package/docs/self-hosting/platform/docker-compose.mdx +75 -85
  97. package/docs/self-hosting/platform/docker-compose.zh-CN.mdx +75 -85
  98. package/docs/self-hosting/platform/docker.mdx +87 -92
  99. package/docs/self-hosting/platform/docker.zh-CN.mdx +96 -115
  100. package/docs/self-hosting/platform/netlify.mdx +44 -94
  101. package/docs/self-hosting/platform/netlify.zh-CN.mdx +40 -90
  102. package/docs/self-hosting/platform/railway.mdx +6 -7
  103. package/docs/self-hosting/platform/railway.zh-CN.mdx +6 -7
  104. package/docs/self-hosting/platform/repocloud.mdx +6 -7
  105. package/docs/self-hosting/platform/repocloud.zh-CN.mdx +6 -7
  106. package/docs/self-hosting/platform/sealos.mdx +6 -7
  107. package/docs/self-hosting/platform/sealos.zh-CN.mdx +6 -7
  108. package/docs/self-hosting/platform/vercel.mdx +7 -8
  109. package/docs/self-hosting/platform/vercel.zh-CN.mdx +7 -8
  110. package/docs/self-hosting/platform/zeabur.mdx +29 -32
  111. package/docs/self-hosting/platform/zeabur.zh-CN.mdx +29 -32
  112. package/docs/self-hosting/server-database/docker-compose.mdx +44 -71
  113. package/docs/self-hosting/server-database/docker-compose.zh-CN.mdx +44 -71
  114. package/docs/self-hosting/server-database/docker.mdx +84 -88
  115. package/docs/self-hosting/server-database/docker.zh-CN.mdx +87 -91
  116. package/docs/self-hosting/server-database/dokploy.mdx +18 -1
  117. package/docs/self-hosting/server-database/dokploy.zh-CN.mdx +84 -68
  118. package/docs/self-hosting/server-database/repocloud.mdx +7 -9
  119. package/docs/self-hosting/server-database/repocloud.zh-CN.mdx +9 -11
  120. package/docs/self-hosting/server-database/vercel.mdx +158 -243
  121. package/docs/self-hosting/server-database/vercel.zh-CN.mdx +137 -205
  122. package/docs/self-hosting/server-database/zeabur.mdx +21 -23
  123. package/docs/self-hosting/server-database/zeabur.zh-CN.mdx +20 -22
  124. package/docs/self-hosting/server-database.mdx +34 -36
  125. package/docs/self-hosting/server-database.zh-CN.mdx +34 -37
  126. package/docs/self-hosting/start.mdx +1 -4
  127. package/docs/self-hosting/start.zh-CN.mdx +1 -1
  128. package/docs/usage/agents/agent-organization.mdx +5 -21
  129. package/docs/usage/agents/agent-organization.zh-CN.mdx +5 -21
  130. package/docs/usage/agents/concepts.mdx +4 -4
  131. package/docs/usage/agents/concepts.zh-CN.mdx +4 -4
  132. package/docs/usage/agents/custom-agent.mdx +2 -2
  133. package/docs/usage/agents/custom-agent.zh-CN.mdx +2 -2
  134. package/docs/usage/agents/model.mdx +4 -4
  135. package/docs/usage/agents/model.zh-CN.mdx +6 -6
  136. package/docs/usage/agents/prompt.mdx +5 -6
  137. package/docs/usage/agents/prompt.zh-CN.mdx +5 -6
  138. package/docs/usage/agents/topics.mdx +2 -2
  139. package/docs/usage/agents/topics.zh-CN.mdx +2 -2
  140. package/docs/usage/features/agent-market.mdx +2 -2
  141. package/docs/usage/features/agent-market.zh-CN.mdx +2 -2
  142. package/docs/usage/features/auth.mdx +1 -5
  143. package/docs/usage/features/auth.zh-CN.mdx +1 -5
  144. package/docs/usage/features/database.mdx +1 -5
  145. package/docs/usage/features/database.zh-CN.mdx +1 -5
  146. package/docs/usage/features/local-llm.mdx +2 -6
  147. package/docs/usage/features/local-llm.zh-CN.mdx +2 -6
  148. package/docs/usage/features/mobile.mdx +1 -5
  149. package/docs/usage/features/mobile.zh-CN.mdx +1 -5
  150. package/docs/usage/features/multi-ai-providers.mdx +3 -11
  151. package/docs/usage/features/multi-ai-providers.zh-CN.mdx +3 -11
  152. package/docs/usage/features/plugin-system.mdx +9 -10
  153. package/docs/usage/features/plugin-system.zh-CN.mdx +9 -10
  154. package/docs/usage/features/pwa.mdx +11 -25
  155. package/docs/usage/features/pwa.zh-CN.mdx +11 -25
  156. package/docs/usage/features/text-to-image.mdx +2 -2
  157. package/docs/usage/features/text-to-image.zh-CN.mdx +2 -2
  158. package/docs/usage/features/theme.mdx +1 -6
  159. package/docs/usage/features/theme.zh-CN.mdx +1 -6
  160. package/docs/usage/features/tts.mdx +3 -7
  161. package/docs/usage/features/tts.zh-CN.mdx +3 -7
  162. package/docs/usage/features/vision.mdx +2 -2
  163. package/docs/usage/features/vision.zh-CN.mdx +2 -2
  164. package/docs/usage/foundation/basic.mdx +7 -18
  165. package/docs/usage/foundation/basic.zh-CN.mdx +6 -16
  166. package/docs/usage/foundation/share.mdx +3 -13
  167. package/docs/usage/foundation/share.zh-CN.mdx +3 -13
  168. package/docs/usage/foundation/text2image.mdx +3 -12
  169. package/docs/usage/foundation/text2image.zh-CN.mdx +3 -12
  170. package/docs/usage/foundation/translate.mdx +3 -13
  171. package/docs/usage/foundation/translate.zh-CN.mdx +3 -13
  172. package/docs/usage/foundation/tts-stt.mdx +3 -12
  173. package/docs/usage/foundation/tts-stt.zh-CN.mdx +3 -12
  174. package/docs/usage/foundation/vision.mdx +4 -16
  175. package/docs/usage/foundation/vision.zh-CN.mdx +4 -16
  176. package/docs/usage/plugins/basic-usage.mdx +7 -30
  177. package/docs/usage/plugins/basic-usage.zh-CN.mdx +7 -30
  178. package/docs/usage/plugins/development.mdx +30 -78
  179. package/docs/usage/plugins/development.zh-CN.mdx +31 -79
  180. package/docs/usage/plugins/store.mdx +2 -10
  181. package/docs/usage/plugins/store.zh-CN.mdx +2 -10
  182. package/docs/usage/providers/ai21.mdx +17 -33
  183. package/docs/usage/providers/ai21.zh-CN.mdx +17 -33
  184. package/docs/usage/providers/ai360.mdx +17 -33
  185. package/docs/usage/providers/ai360.zh-CN.mdx +20 -36
  186. package/docs/usage/providers/anthropic.mdx +23 -45
  187. package/docs/usage/providers/anthropic.zh-CN.mdx +22 -44
  188. package/docs/usage/providers/azure.mdx +21 -51
  189. package/docs/usage/providers/azure.zh-CN.mdx +19 -48
  190. package/docs/usage/providers/baichuan.mdx +16 -34
  191. package/docs/usage/providers/baichuan.zh-CN.mdx +15 -33
  192. package/docs/usage/providers/bedrock.mdx +38 -87
  193. package/docs/usage/providers/bedrock.zh-CN.mdx +37 -86
  194. package/docs/usage/providers/cloudflare.mdx +25 -48
  195. package/docs/usage/providers/cloudflare.zh-CN.mdx +24 -45
  196. package/docs/usage/providers/deepseek.mdx +25 -51
  197. package/docs/usage/providers/deepseek.zh-CN.mdx +24 -50
  198. package/docs/usage/providers/fireworksai.mdx +23 -43
  199. package/docs/usage/providers/fireworksai.zh-CN.mdx +21 -41
  200. package/docs/usage/providers/gemini.mdx +20 -46
  201. package/docs/usage/providers/gemini.zh-CN.mdx +20 -46
  202. package/docs/usage/providers/giteeai.mdx +24 -45
  203. package/docs/usage/providers/giteeai.zh-CN.mdx +22 -43
  204. package/docs/usage/providers/github.mdx +19 -45
  205. package/docs/usage/providers/github.zh-CN.mdx +19 -44
  206. package/docs/usage/providers/groq.mdx +12 -29
  207. package/docs/usage/providers/groq.zh-CN.mdx +11 -28
  208. package/docs/usage/providers/hunyuan.mdx +19 -39
  209. package/docs/usage/providers/hunyuan.zh-CN.mdx +18 -38
  210. package/docs/usage/providers/internlm.mdx +21 -38
  211. package/docs/usage/providers/internlm.zh-CN.mdx +19 -36
  212. package/docs/usage/providers/minimax.mdx +24 -50
  213. package/docs/usage/providers/minimax.zh-CN.mdx +22 -48
  214. package/docs/usage/providers/mistral.mdx +21 -39
  215. package/docs/usage/providers/mistral.zh-CN.mdx +20 -38
  216. package/docs/usage/providers/moonshot.mdx +20 -38
  217. package/docs/usage/providers/moonshot.zh-CN.mdx +19 -37
  218. package/docs/usage/providers/novita.mdx +20 -43
  219. package/docs/usage/providers/novita.zh-CN.mdx +19 -42
  220. package/docs/usage/providers/ollama/gemma.mdx +12 -29
  221. package/docs/usage/providers/ollama/gemma.zh-CN.mdx +12 -30
  222. package/docs/usage/providers/ollama/qwen.mdx +17 -32
  223. package/docs/usage/providers/ollama/qwen.zh-CN.mdx +12 -27
  224. package/docs/usage/providers/ollama.mdx +67 -99
  225. package/docs/usage/providers/ollama.zh-CN.mdx +67 -99
  226. package/docs/usage/providers/openai.mdx +42 -56
  227. package/docs/usage/providers/openai.zh-CN.mdx +39 -52
  228. package/docs/usage/providers/openrouter.mdx +48 -84
  229. package/docs/usage/providers/openrouter.zh-CN.mdx +31 -67
  230. package/docs/usage/providers/perplexity.mdx +16 -34
  231. package/docs/usage/providers/perplexity.zh-CN.mdx +16 -34
  232. package/docs/usage/providers/qwen.mdx +26 -52
  233. package/docs/usage/providers/qwen.zh-CN.mdx +25 -51
  234. package/docs/usage/providers/sensenova.mdx +24 -45
  235. package/docs/usage/providers/sensenova.zh-CN.mdx +22 -43
  236. package/docs/usage/providers/siliconcloud.mdx +17 -33
  237. package/docs/usage/providers/siliconcloud.zh-CN.mdx +17 -33
  238. package/docs/usage/providers/spark.mdx +20 -40
  239. package/docs/usage/providers/spark.zh-CN.mdx +19 -39
  240. package/docs/usage/providers/stepfun.mdx +17 -35
  241. package/docs/usage/providers/stepfun.zh-CN.mdx +17 -35
  242. package/docs/usage/providers/taichu.mdx +16 -34
  243. package/docs/usage/providers/taichu.zh-CN.mdx +15 -33
  244. package/docs/usage/providers/togetherai.mdx +18 -40
  245. package/docs/usage/providers/togetherai.zh-CN.mdx +18 -40
  246. package/docs/usage/providers/upstage.mdx +18 -34
  247. package/docs/usage/providers/upstage.zh-CN.mdx +17 -33
  248. package/docs/usage/providers/wenxin.mdx +22 -42
  249. package/docs/usage/providers/wenxin.zh-CN.mdx +20 -40
  250. package/docs/usage/providers/xai.mdx +21 -38
  251. package/docs/usage/providers/xai.zh-CN.mdx +20 -37
  252. package/docs/usage/providers/zeroone.mdx +22 -48
  253. package/docs/usage/providers/zeroone.zh-CN.mdx +22 -48
  254. package/docs/usage/providers/zhipu.mdx +17 -35
  255. package/docs/usage/providers/zhipu.zh-CN.mdx +18 -34
  256. package/docs/usage/providers.mdx +1 -6
  257. package/docs/usage/providers.zh-CN.mdx +1 -6
  258. package/docs/usage/start.mdx +4 -18
  259. package/docs/usage/start.zh-CN.mdx +2 -19
  260. package/docs/usage/tools-calling/anthropic.mdx +18 -51
  261. package/docs/usage/tools-calling/anthropic.zh-CN.mdx +22 -55
  262. package/docs/usage/tools-calling/google.mdx +16 -23
  263. package/docs/usage/tools-calling/google.zh-CN.mdx +17 -24
  264. package/docs/usage/tools-calling/groq.mdx +9 -0
  265. package/docs/usage/tools-calling/groq.zh-CN.mdx +44 -70
  266. package/docs/usage/tools-calling/moonshot.mdx +9 -0
  267. package/docs/usage/tools-calling/openai.mdx +19 -44
  268. package/docs/usage/tools-calling/openai.zh-CN.mdx +20 -45
  269. package/docs/usage/tools-calling.mdx +9 -0
  270. package/docs/usage/tools-calling.zh-CN.mdx +60 -68
  271. package/package.json +42 -41
  272. package/scripts/mdxWorkflow/index.ts +7 -0
  273. package/src/app/(main)/(mobile)/me/(home)/features/Header.tsx +2 -1
  274. package/src/app/(main)/(mobile)/me/data/features/Header.tsx +1 -1
  275. package/src/app/(main)/(mobile)/me/profile/features/Header.tsx +1 -1
  276. package/src/app/(main)/(mobile)/me/settings/features/Header.tsx +1 -1
  277. package/src/app/(main)/@nav/_layout/Mobile.tsx +2 -1
  278. package/src/app/(main)/chat/(workspace)/@topic/features/SystemRole/SystemRoleContent.tsx +2 -1
  279. package/src/app/(main)/chat/(workspace)/@topic/features/TopicListContent/ByTimeMode/GroupItem.tsx +2 -2
  280. package/src/app/(main)/chat/(workspace)/_layout/Desktop/ChatHeader/Main.tsx +2 -1
  281. package/src/app/(main)/chat/(workspace)/_layout/Desktop/ChatHeader/index.tsx +1 -1
  282. package/src/app/(main)/chat/(workspace)/_layout/Mobile/ChatHeader/ChatHeaderTitle.tsx +2 -1
  283. package/src/app/(main)/chat/(workspace)/_layout/Mobile/ChatHeader/index.tsx +1 -1
  284. package/src/app/(main)/chat/@session/_layout/Mobile/SessionHeader.tsx +2 -1
  285. package/src/app/(main)/chat/settings/_layout/Desktop/Header.tsx +1 -1
  286. package/src/app/(main)/chat/settings/_layout/Mobile/Header.tsx +1 -1
  287. package/src/app/(main)/discover/(detail)/provider/[slug]/features/InfoSidebar/SuggestionItem.tsx +8 -6
  288. package/src/app/(main)/discover/(list)/_layout/Desktop/Nav.tsx +1 -1
  289. package/src/app/(main)/discover/(list)/_layout/Mobile/Header.tsx +2 -1
  290. package/src/app/(main)/discover/_layout/Desktop/Header.tsx +1 -1
  291. package/src/app/(main)/discover/components/VirtuosoGridList/index.tsx +9 -5
  292. package/src/app/(main)/discover/search/_layout/Mobile/Header.tsx +1 -1
  293. package/src/app/(main)/files/(content)/@menu/features/KnowledgeBase/EmptyStatus.tsx +21 -13
  294. package/src/app/(main)/repos/[id]/evals/evaluation/EvaluationList/index.tsx +1 -1
  295. package/src/app/(main)/settings/sync/features/DeviceInfo/SystemIcon.tsx +2 -0
  296. package/src/components/Branding/ProductLogo/Custom.tsx +19 -20
  297. package/src/components/BrowserIcon/index.tsx +19 -30
  298. package/src/components/BubblesLoading/index.tsx +31 -23
  299. package/src/components/FunctionModal/createModalHooks.ts +6 -3
  300. package/src/components/StopLoading.tsx +10 -7
  301. package/src/database/repositories/aiInfra/index.ts +19 -7
  302. package/src/database/server/models/__tests__/aiModel.test.ts +4 -6
  303. package/src/database/server/models/aiModel.ts +6 -3
  304. package/src/features/ChatInput/Desktop/InputArea/index.tsx +2 -2
  305. package/src/features/InitClientDB/EnableModal.tsx +2 -2
  306. package/src/features/InitClientDB/{PGliteSVG.tsx → PGliteIcon.tsx} +17 -11
  307. package/src/features/ShareModal/ShareImage/index.tsx +32 -22
  308. package/src/features/ShareModal/ShareJSON/Preview.tsx +2 -2
  309. package/src/features/ShareModal/ShareJSON/index.tsx +49 -37
  310. package/src/features/ShareModal/ShareText/Preview.tsx +4 -1
  311. package/src/features/ShareModal/ShareText/index.tsx +49 -38
  312. package/src/features/ShareModal/index.tsx +1 -1
  313. package/src/features/ShareModal/style.ts +30 -0
  314. package/src/store/aiInfra/slices/aiProvider/action.ts +1 -1
  315. package/src/types/aiProvider.ts +1 -0
  316. package/src/utils/colorUtils.ts +1 -1
  317. package/src/components/BrowserIcon/components/Brave.tsx +0 -56
  318. package/src/components/BrowserIcon/components/Chrome.tsx +0 -14
  319. package/src/components/BrowserIcon/components/Chromium.tsx +0 -14
  320. package/src/components/BrowserIcon/components/Edge.tsx +0 -36
  321. package/src/components/BrowserIcon/components/Firefox.tsx +0 -38
  322. package/src/components/BrowserIcon/components/Opera.tsx +0 -19
  323. package/src/components/BrowserIcon/components/Safari.tsx +0 -23
  324. package/src/components/BrowserIcon/components/Samsung.tsx +0 -21
@@ -10,66 +10,45 @@ tags:
10
10
 
11
11
  # 在 LobeChat 中使用商汤日日新
12
12
 
13
- <Image
14
- cover
15
- src={'https://github.com/user-attachments/assets/420379cd-d8a4-4ab3-9a46-75dcc3d56920'}
16
- />
13
+ <Image cover src={'https://github.com/user-attachments/assets/420379cd-d8a4-4ab3-9a46-75dcc3d56920'} />
17
14
 
18
15
  [商汤日日新](https://platform.sensenova.cn/home) 是商汤科技(SenseTime)推出的一个大模型体系,旨在推动人工智能(AI)技术的快速迭代和应用落地。
19
16
 
20
17
  本文将指导你如何在 LobeChat 中使用商汤日日新。
21
18
 
22
19
  <Steps>
20
+ ### 步骤一:获取商汤日日新的 API 密钥
23
21
 
24
- ### 步骤一: 获取商汤日日新的 API 密钥
22
+ - 注册并登录 [万象模型开发平台](https://www.sensecore.cn/product/aistudio)
23
+ - 在产品菜单中找到 `日日新大模型` 并开通服务
25
24
 
26
- - 注册并登录 [万象模型开发平台](https://www.sensecore.cn/product/aistudio)
27
- - 在产品菜单中找到 `日日新大模型` 并开通服务
25
+ <Image alt={'开通日日新大模型'} inStep src={'https://github.com/user-attachments/assets/c6319e83-c4e7-48cf-9625-2edfc4aa77b3'} />
28
26
 
29
- <Image
30
- alt={'开通日日新大模型'}
31
- inStep
32
- src={'https://github.com/user-attachments/assets/c6319e83-c4e7-48cf-9625-2edfc4aa77b3'}
33
- />
27
+ - 进入 [AccessKey 访问密钥](https://console.sensecore.cn/iam/Security/access-key) 页面
28
+ - 创建一个访问密钥
29
+ - 在弹出窗口中保存访问密钥 ID 和令牌
34
30
 
35
- - 进入 [AccessKey 访问密钥](https://console.sensecore.cn/iam/Security/access-key) 页面
36
- - 创建一个访问密钥
37
- - 在弹出窗口中保存访问密钥 ID 和令牌
31
+ <Image alt={'保存访问密钥'} inStep src={'https://github.com/user-attachments/assets/f9f7ed26-e506-4c52-a118-e0bb5e0918db'} />
38
32
 
39
- <Image
40
- alt={'保存访问密钥'}
41
- inStep
42
- src={'https://github.com/user-attachments/assets/f9f7ed26-e506-4c52-a118-e0bb5e0918db'}
43
- />
33
+ <Callout type={'warning'}>
34
+ 妥善保存弹窗中的访问密钥,它只会出现一次,如果不小心丢失了,你需要重新创建一个访问密钥。
35
+ </Callout>
44
36
 
45
- <Callout type={'warning'}>
46
- 妥善保存弹窗中的访问密钥,它只会出现一次,如果不小心丢失了,你需要重新创建一个访问密钥。
47
- </Callout>
37
+ ### 步骤二:在 LobeChat 中配置商汤日日新
48
38
 
49
- ### 步骤二:在 LobeChat 中配置商汤日日新
39
+ - 访问 LobeChat 的`设置`界面
40
+ - 在`语言模型`下找到 `商汤日日新` 的设置项
50
41
 
51
- - 访问 LobeChat 的`设置`界面
52
- - 在`语言模型`下找到 `商汤日日新` 的设置项
42
+ <Image alt={'填入访问密钥'} inStep src={'https://github.com/user-attachments/assets/0c73c453-6ee3-4f90-bc5d-119c52c38fef'} />
53
43
 
54
- <Image
55
- alt={'填入访问密钥'}
56
- inStep
57
- src={'https://github.com/user-attachments/assets/0c73c453-6ee3-4f90-bc5d-119c52c38fef'}
58
- />
44
+ - 填入获得的 `AccessKey ID` 和 `AccessKey Secret`
45
+ - 为你的 AI 助手选择一个商汤日日新的模型即可开始对话
59
46
 
60
- - 填入获得的 `AccessKey ID` 和 `AccessKey Secret`
61
- - 为你的 AI 助手选择一个商汤日日新的模型即可开始对话
62
-
63
- <Image
64
- alt={'选择商汤日日新模型并开始对话'}
65
- inStep
66
- src={'https://github.com/user-attachments/assets/aea782b1-27bd-4d9c-b521-c172c2095fe6'}
67
- />
68
-
69
- <Callout type={'warning'}>
70
- 在使用过程中你可能需要向 API 服务提供商付费,请参考商汤日日新的相关费用政策。
71
- </Callout>
47
+ <Image alt={'选择商汤日日新模型并开始对话'} inStep src={'https://github.com/user-attachments/assets/aea782b1-27bd-4d9c-b521-c172c2095fe6'} />
72
48
 
49
+ <Callout type={'warning'}>
50
+ 在使用过程中你可能需要向 API 服务提供商付费,请参考商汤日日新的相关费用政策。
51
+ </Callout>
73
52
  </Steps>
74
53
 
75
54
  至此你已经可以在 LobeChat 中使用商汤日日新提供的模型进行对话了。
@@ -12,53 +12,37 @@ tags:
12
12
 
13
13
  # Using SiliconCloud in LobeChat
14
14
 
15
- <Image
16
- cover
17
- src={'https://github.com/user-attachments/assets/9a78bbb9-7c96-4f32-9b66-e57f92660410'}
18
- />
15
+ <Image cover src={'https://github.com/user-attachments/assets/9a78bbb9-7c96-4f32-9b66-e57f92660410'} />
19
16
 
20
17
  [SiliconCloud](https://siliconflow.cn/) is an AI service platform based on open-source foundational models, offering a variety of generative AI (GenAI) services.
21
18
 
22
19
  This article will guide you on how to use SiliconCloud in LobeChat.
23
20
 
24
21
  <Steps>
25
- ### Step 1: Obtain the API Key from SiliconCloud
22
+ ### Step 1: Obtain the API Key from SiliconCloud
26
23
 
27
- - Sign up and log in to [SiliconCloud](https://cloud.siliconflow.cn/account/ak)
28
- - Click on the `API Keys` menu on the left side
29
- - Create an API Key and copy it
24
+ - Sign up and log in to [SiliconCloud](https://cloud.siliconflow.cn/account/ak)
25
+ - Click on the `API Keys` menu on the left side
26
+ - Create an API Key and copy it
30
27
 
31
- <Image
32
- alt={'Create API Key'}
33
- inStep
34
- src={'https://github.com/user-attachments/assets/872756dc-305e-4e63-9fb7-60550280fc12'}
35
- />
28
+ <Image alt={'Create API Key'} inStep src={'https://github.com/user-attachments/assets/872756dc-305e-4e63-9fb7-60550280fc12'} />
36
29
 
37
- ### Step 2: Configure SiliconCloud in LobeChat
30
+ ### Step 2: Configure SiliconCloud in LobeChat
38
31
 
39
- - Go to the `Settings` page in LobeChat
40
- - Under `Language Model`, find the setting for `SiliconFlow`
32
+ - Go to the `Settings` page in LobeChat
33
+ - Under `Language Model`, find the setting for `SiliconFlow`
41
34
 
42
- <Image
43
- alt={'Enter API Key'}
44
- inStep
45
- src={'https://github.com/user-attachments/assets/4c792f62-5203-4f13-8f23-df228f70d67f'}
46
- />
35
+ <Image alt={'Enter API Key'} inStep src={'https://github.com/user-attachments/assets/4c792f62-5203-4f13-8f23-df228f70d67f'} />
47
36
 
48
- - Enter the API Key you obtained
49
- - Choose a SiliconCloud model for your AI assistant to start the conversation
37
+ - Enter the API Key you obtained
38
+ - Choose a SiliconCloud model for your AI assistant to start the conversation
50
39
 
51
- <Image
52
- alt={'Select SiliconCloud Model and Start Conversation'}
53
- inStep
54
- src={'https://github.com/user-attachments/assets/f4dbbadb-7461-4370-a836-09c487fdd206'}
55
- />
56
-
57
- <Callout type={'warning'}>
58
- During usage, you may need to pay the API service provider, so please refer to SiliconCloud's
59
- relevant pricing policy.
60
- </Callout>
40
+ <Image alt={'Select SiliconCloud Model and Start Conversation'} inStep src={'https://github.com/user-attachments/assets/f4dbbadb-7461-4370-a836-09c487fdd206'} />
61
41
 
42
+ <Callout type={'warning'}>
43
+ During usage, you may need to pay the API service provider, so please refer to SiliconCloud's
44
+ relevant pricing policy.
45
+ </Callout>
62
46
  </Steps>
63
47
 
64
48
  At this point, you can start chatting using the models provided by SiliconCloud in LobeChat.
@@ -10,52 +10,36 @@ tags:
10
10
 
11
11
  # 在 LobeChat 中使用 SiliconCloud
12
12
 
13
- <Image
14
- cover
15
- src={'https://github.com/user-attachments/assets/9a78bbb9-7c96-4f32-9b66-e57f92660410'}
16
- />
13
+ <Image cover src={'https://github.com/user-attachments/assets/9a78bbb9-7c96-4f32-9b66-e57f92660410'} />
17
14
 
18
- [SiliconCloud](https://siliconflow.cn/) 是一个基于开源基础模型的人工智能服务平台,提供多种生成式AI(GenAI)服务。
15
+ [SiliconCloud](https://siliconflow.cn/) 是一个基于开源基础模型的人工智能服务平台,提供多种生成式 AI(GenAI)服务。
19
16
 
20
17
  本文将指导你如何在 LobeChat 中使用 SiliconCloud。
21
18
 
22
19
  <Steps>
23
- ### 步骤一:获得 SiliconCloud 的 API Key
20
+ ### 步骤一:获得 SiliconCloud 的 API Key
24
21
 
25
- - 注册并登录 [SiliconCloud](https://cloud.siliconflow.cn/account/ak)
26
- - 点击左侧 `API 密钥` 菜单
27
- - 创建一个 API 密钥并复制
22
+ - 注册并登录 [SiliconCloud](https://cloud.siliconflow.cn/account/ak)
23
+ - 点击左侧 `API 密钥` 菜单
24
+ - 创建一个 API 密钥并复制
28
25
 
29
- <Image
30
- alt={'创建API密钥'}
31
- inStep
32
- src={'https://github.com/user-attachments/assets/872756dc-305e-4e63-9fb7-60550280fc12'}
33
- />
26
+ <Image alt={'创建API密钥'} inStep src={'https://github.com/user-attachments/assets/872756dc-305e-4e63-9fb7-60550280fc12'} />
34
27
 
35
- ### 步骤二:在 LobeChat 中配置 SiliconCloud
28
+ ### 步骤二:在 LobeChat 中配置 SiliconCloud
36
29
 
37
- - 访问 LobeChat 的`设置`界面
38
- - 在`语言模型`下找到 `SiliconFlow` 的设置项
30
+ - 访问 LobeChat 的`设置`界面
31
+ - 在`语言模型`下找到 `SiliconFlow` 的设置项
39
32
 
40
- <Image
41
- alt={'填入 API 密钥'}
42
- inStep
43
- src={'https://github.com/user-attachments/assets/4c792f62-5203-4f13-8f23-df228f70d67f'}
44
- />
33
+ <Image alt={'填入 API 密钥'} inStep src={'https://github.com/user-attachments/assets/4c792f62-5203-4f13-8f23-df228f70d67f'} />
45
34
 
46
- - 填入获得的 API 密钥
47
- - 为你的 AI 助手选择一个 SiliconCloud 的模型即可开始对话
35
+ - 填入获得的 API 密钥
36
+ - 为你的 AI 助手选择一个 SiliconCloud 的模型即可开始对话
48
37
 
49
- <Image
50
- alt={'选择 SiliconCloud 模型并开始对话'}
51
- inStep
52
- src={'https://github.com/user-attachments/assets/f4dbbadb-7461-4370-a836-09c487fdd206'}
53
- />
54
-
55
- <Callout type={'warning'}>
56
- 在使用过程中你可能需要向 API 服务提供商付费,请参考 SiliconCloud 的相关费用政策。
57
- </Callout>
38
+ <Image alt={'选择 SiliconCloud 模型并开始对话'} inStep src={'https://github.com/user-attachments/assets/f4dbbadb-7461-4370-a836-09c487fdd206'} />
58
39
 
40
+ <Callout type={'warning'}>
41
+ 在使用过程中你可能需要向 API 服务提供商付费,请参考 SiliconCloud 的相关费用政策。
42
+ </Callout>
59
43
  </Steps>
60
44
 
61
45
  至此你已经可以在 LobeChat 中使用 SiliconCloud 提供的模型进行对话了。
@@ -11,61 +11,41 @@ tags:
11
11
 
12
12
  # Using iFLYTEK Spark in LobeChat
13
13
 
14
- <Image
15
- cover
16
- src={'https://github.com/user-attachments/assets/f3068287-8ade-4eca-9841-ea67d8ff1226'}
17
- />
14
+ <Image cover src={'https://github.com/user-attachments/assets/f3068287-8ade-4eca-9841-ea67d8ff1226'} />
18
15
 
19
- [iFLYTEK Spark](https://xinghuo.xfyun.cn/) is a powerful AI model launched by iFLYTEK, equipped with cross-domain knowledge and language understanding capabilities, able to perform various tasks such as Q&A, conversations, and literary creation.
16
+ [iFLYTEK Spark](https://xinghuo.xfyun.cn/) is a powerful AI model launched by iFLYTEK, equipped with cross-domain knowledge and language understanding capabilities, able to perform various tasks such as Q\&A, conversations, and literary creation.
20
17
 
21
18
  This guide will instruct you on how to use iFLYTEK Spark in LobeChat.
22
19
 
23
20
  <Steps>
24
- ### Step 1: Obtain the iFLYTEK Spark API Key
21
+ ### Step 1: Obtain the iFLYTEK Spark API Key
25
22
 
26
- - Register and log in to the [iFLYTEK Open Platform](https://console.xfyun.cn/)
27
- - Create an application
23
+ - Register and log in to the [iFLYTEK Open Platform](https://console.xfyun.cn/)
24
+ - Create an application
28
25
 
29
- <Image
30
- alt={'Create Application'}
31
- inStep
32
- src={'https://github.com/user-attachments/assets/1bf1a5f0-32ad-418c-a8d1-6c54740f50b9'}
33
- />
26
+ <Image alt={'Create Application'} inStep src={'https://github.com/user-attachments/assets/1bf1a5f0-32ad-418c-a8d1-6c54740f50b9'} />
34
27
 
35
- - Select a large model to view details
36
- - Copy the `API Password` from the top right corner under the HTTP service interface authentication information
28
+ - Select a large model to view details
29
+ - Copy the `API Password` from the top right corner under the HTTP service interface authentication information
37
30
 
38
- <Image
39
- alt={'Copy API Key'}
40
- inStep
41
- src={'https://github.com/user-attachments/assets/7239d611-1989-414b-a51c-444e47096d75'}
42
- />
31
+ <Image alt={'Copy API Key'} inStep src={'https://github.com/user-attachments/assets/7239d611-1989-414b-a51c-444e47096d75'} />
43
32
 
44
- ### Step 2: Configure iFLYTEK Spark in LobeChat
33
+ ### Step 2: Configure iFLYTEK Spark in LobeChat
45
34
 
46
- - Access the `Settings` menu in LobeChat
47
- - Find the iFLYTEK Spark settings under `Language Model`
35
+ - Access the `Settings` menu in LobeChat
36
+ - Find the iFLYTEK Spark settings under `Language Model`
48
37
 
49
- <Image
50
- alt={'Enter API Key'}
51
- inStep
52
- src={'https://github.com/user-attachments/assets/d693be02-e08c-43ae-8bde-1294f180aaf6'}
53
- />
38
+ <Image alt={'Enter API Key'} inStep src={'https://github.com/user-attachments/assets/d693be02-e08c-43ae-8bde-1294f180aaf6'} />
54
39
 
55
- - Input the obtained API Key
56
- - Choose an iFLYTEK Spark model for your AI assistant to start the conversation
40
+ - Input the obtained API Key
41
+ - Choose an iFLYTEK Spark model for your AI assistant to start the conversation
57
42
 
58
- <Image
59
- alt={'Select iFLYTEK Spark Model and Start Conversation'}
60
- inStep
61
- src={'https://github.com/user-attachments/assets/8910186f-4609-4798-a588-2780dcf8db60'}
62
- />
63
-
64
- <Callout type={'warning'}>
65
- During usage, you may need to pay the API service provider, please refer to the relevant pricing
66
- policy of iFLYTEK Spark.
67
- </Callout>
43
+ <Image alt={'Select iFLYTEK Spark Model and Start Conversation'} inStep src={'https://github.com/user-attachments/assets/8910186f-4609-4798-a588-2780dcf8db60'} />
68
44
 
45
+ <Callout type={'warning'}>
46
+ During usage, you may need to pay the API service provider, please refer to the relevant pricing
47
+ policy of iFLYTEK Spark.
48
+ </Callout>
69
49
  </Steps>
70
50
 
71
51
  Now you can use the models provided by iFLYTEK Spark for conversations 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/f3068287-8ade-4eca-9841-ea67d8ff1226'}
16
- />
13
+ <Image cover src={'https://github.com/user-attachments/assets/f3068287-8ade-4eca-9841-ea67d8ff1226'} />
17
14
 
18
- [讯飞星火](https://xinghuo.xfyun.cn/)是科大讯飞推出的一款强大的AI大模型,具备跨领域的知识和语言理解能力,能够执行问答、对话和文学创作等多种任务。
15
+ [讯飞星火](https://xinghuo.xfyun.cn/)是科大讯飞推出的一款强大的 AI 大模型,具备跨领域的知识和语言理解能力,能够执行问答、对话和文学创作等多种任务。
19
16
 
20
17
  本文将指导你如何在 LobeChat 中使用讯飞星火。
21
18
 
22
19
  <Steps>
23
- ### 步骤一:获得讯飞星火的 API Key
20
+ ### 步骤一:获得讯飞星火的 API Key
24
21
 
25
- - 注册并登录 [讯飞开放平台](https://console.xfyun.cn/)
26
- - 创建一个应用
22
+ - 注册并登录 [讯飞开放平台](https://console.xfyun.cn/)
23
+ - 创建一个应用
27
24
 
28
- <Image
29
- alt={'创建应用'}
30
- inStep
31
- src={'https://github.com/user-attachments/assets/1bf1a5f0-32ad-418c-a8d1-6c54740f50b9'}
32
- />
25
+ <Image alt={'创建应用'} inStep src={'https://github.com/user-attachments/assets/1bf1a5f0-32ad-418c-a8d1-6c54740f50b9'} />
33
26
 
34
- - 选择一个大模型查看详情
35
- - 复制右上角 http 服务接口认证信息中的 `API Password`
27
+ - 选择一个大模型查看详情
28
+ - 复制右上角 http 服务接口认证信息中的 `API Password`
36
29
 
37
- <Image
38
- alt={'复制 API 密钥'}
39
- inStep
40
- src={'https://github.com/user-attachments/assets/7239d611-1989-414b-a51c-444e47096d75'}
41
- />
30
+ <Image alt={'复制 API 密钥'} inStep src={'https://github.com/user-attachments/assets/7239d611-1989-414b-a51c-444e47096d75'} />
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/d693be02-e08c-43ae-8bde-1294f180aaf6'}
52
- />
37
+ <Image alt={'填入 API 密钥'} inStep src={'https://github.com/user-attachments/assets/d693be02-e08c-43ae-8bde-1294f180aaf6'} />
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/8910186f-4609-4798-a588-2780dcf8db60'}
61
- />
62
-
63
- <Callout type={'warning'}>
64
- 在使用过程中你可能需要向 API 服务提供商付费,请参考讯飞星火的相关费用政策。
65
- </Callout>
42
+ <Image alt={'选择讯飞星火模型并开始对话'} inStep src={'https://github.com/user-attachments/assets/8910186f-4609-4798-a588-2780dcf8db60'} />
66
43
 
44
+ <Callout type={'warning'}>
45
+ 在使用过程中你可能需要向 API 服务提供商付费,请参考讯飞星火的相关费用政策。
46
+ </Callout>
67
47
  </Steps>
68
48
 
69
49
  至此你已经可以在 LobeChat 中使用讯飞星火提供的模型进行对话了。
@@ -12,55 +12,37 @@ tags:
12
12
 
13
13
  # Using Stepfun in LobeChat
14
14
 
15
- <Image
16
- alt={'Using Stepfun in LobeChat'}
17
- cover
18
- src={'https://github.com/lobehub/lobe-chat/assets/34400653/95717e2b-1a55-4fca-a96b-b1c186ed4563'}
19
- />
15
+ <Image alt={'Using Stepfun in LobeChat'} cover src={'https://github.com/lobehub/lobe-chat/assets/34400653/95717e2b-1a55-4fca-a96b-b1c186ed4563'} />
20
16
 
21
17
  [Stepfun](https://www.stepfun.com/) is a startup focusing on the research and development of Artificial General Intelligence (AGI). They have released the Step-1 billion-parameter language model, Step-1V billion-parameter multimodal model, and the Step-2 trillion-parameter MoE language model preview.
22
18
 
23
19
  This document will guide you on how to use Stepfun in LobeChat:
24
20
 
25
21
  <Steps>
22
+ ### Step 1: Obtain Stepfun API Key
26
23
 
27
- ### Step 1: Obtain Stepfun API Key
24
+ - Visit and log in to the [Stepfun Open Platform](https://platform.stepfun.com/)
25
+ - Go to the `API Key` menu, where the system has already created an API key for you
26
+ - Copy the created API key
28
27
 
29
- - Visit and log in to the [Stepfun Open Platform](https://platform.stepfun.com/)
30
- - Go to the `API Key` menu, where the system has already created an API key for you
31
- - Copy the created API key
28
+ <Image alt={'Obtain Stepfun API Key'} inStep src={'https://github.com/lobehub/lobe-chat/assets/34400653/33d8ce3b-0083-48aa-9a66-3825e726c4de'} />
32
29
 
33
- <Image
34
- alt={'Obtain Stepfun API Key'}
35
- inStep
36
- src={'https://github.com/lobehub/lobe-chat/assets/34400653/33d8ce3b-0083-48aa-9a66-3825e726c4de'}
37
- />
30
+ ### Step 2: Configure Stepfun in LobeChat
38
31
 
39
- ### Step 2: Configure Stepfun in LobeChat
32
+ - Visit the `Settings` interface in LobeChat
33
+ - Find the setting for Stepfun under `Language Models`
40
34
 
41
- - Visit the `Settings` interface in LobeChat
42
- - Find the setting for Stepfun under `Language Models`
35
+ <Image alt={'Enter API Key'} inStep src={'https://github.com/lobehub/lobe-chat/assets/34400653/470e5669-650b-46cf-8024-a1476c166059'} />
43
36
 
44
- <Image
45
- alt={'Enter API Key'}
46
- inStep
47
- src={'https://github.com/lobehub/lobe-chat/assets/34400653/470e5669-650b-46cf-8024-a1476c166059'}
48
- />
37
+ - Open Stepfun and enter the obtained API key
38
+ - Choose a Stepfun model for your AI assistant to start the conversation
49
39
 
50
- - Open Stepfun and enter the obtained API key
51
- - Choose a Stepfun model for your AI assistant to start the conversation
52
-
53
- <Image
54
- alt={'Select Stepfun model and start conversation'}
55
- inStep
56
- src={'https://github.com/lobehub/lobe-chat/assets/34400653/0275a552-f189-42b5-bf40-f9891c428b3d'}
57
- />
58
-
59
- <Callout type={'warning'}>
60
- During usage, you may need to pay the API service provider, please refer to Stepfun's relevant
61
- pricing policies.
62
- </Callout>
40
+ <Image alt={'Select Stepfun model and start conversation'} inStep src={'https://github.com/lobehub/lobe-chat/assets/34400653/0275a552-f189-42b5-bf40-f9891c428b3d'} />
63
41
 
42
+ <Callout type={'warning'}>
43
+ During usage, you may need to pay the API service provider, please refer to Stepfun's relevant
44
+ pricing policies.
45
+ </Callout>
64
46
  </Steps>
65
47
 
66
48
  You can now use the models provided by Stepfun to have conversations in LobeChat.
@@ -9,54 +9,36 @@ tags:
9
9
 
10
10
  # 在 LobeChat 中使用 Stepfun 阶跃星辰
11
11
 
12
- <Image
13
- alt={'在 LobeChat 中使用 Stepfun 阶跃星辰'}
14
- cover
15
- src={'https://github.com/lobehub/lobe-chat/assets/34400653/95717e2b-1a55-4fca-a96b-b1c186ed4563'}
16
- />
12
+ <Image alt={'在 LobeChat 中使用 Stepfun 阶跃星辰'} cover src={'https://github.com/lobehub/lobe-chat/assets/34400653/95717e2b-1a55-4fca-a96b-b1c186ed4563'} />
17
13
 
18
- [Stepfun 阶跃星辰](https://www.stepfun.com/)是一家专注于通用人工智能(AGI)研发的创业公司,目前已推出Step-1千亿参数语言大模型、Step-1V千亿参数多模态大模型,以及Step-2万亿参数MoE语言大模型预览版。
14
+ [Stepfun 阶跃星辰](https://www.stepfun.com/)是一家专注于通用人工智能 (AGI) 研发的创业公司,目前已推出 Step-1 千亿参数语言大模型、Step-1V 千亿参数多模态大模型,以及 Step-2 万亿参数 MoE 语言大模型预览版。
19
15
 
20
16
  本文档将指导你如何在 LobeChat 中使用 Stepfun 阶跃星辰:
21
17
 
22
18
  <Steps>
19
+ ### 步骤一:获取 Stepfun 阶跃星辰 API 密钥
23
20
 
24
- ### 步骤一:获取 Stepfun 阶跃星辰 API 密钥
21
+ - 访问并登录 [Stepfun Stepfun 阶跃星辰开放平台](https://platform.stepfun.com/)
22
+ - 进入`接口密钥`菜单,系统已为你创建好 API 密钥
23
+ - 复制已创建的 API 密钥
25
24
 
26
- - 访问并登录 [Stepfun Stepfun 阶跃星辰开放平台](https://platform.stepfun.com/)
27
- - 进入`接口密钥`菜单,系统已为你创建好 API 密钥
28
- - 复制已创建的 API 密钥
25
+ <Image alt={'获取 Stepfun 阶跃星辰API密钥'} inStep src={'https://github.com/lobehub/lobe-chat/assets/34400653/33d8ce3b-0083-48aa-9a66-3825e726c4de'} />
29
26
 
30
- <Image
31
- alt={'获取 Stepfun 阶跃星辰API密钥'}
32
- inStep
33
- src={'https://github.com/lobehub/lobe-chat/assets/34400653/33d8ce3b-0083-48aa-9a66-3825e726c4de'}
34
- />
27
+ ### 步骤二:在 LobeChat 中配置 Stepfun Stepfun 阶跃星辰
35
28
 
36
- ### 步骤二:在LobeChat 中配置 Stepfun Stepfun 阶跃星辰
29
+ - 访问 LobeChat 的`设置`界面
30
+ - 在`语言模型`下找到` Stepfun 阶跃星辰`的设置项
37
31
 
38
- - 访问 LobeChat 的`设置`界面
39
- - 在`语言模型`下找到` Stepfun 阶跃星辰`的设置项
32
+ <Image alt={'填写 API 密钥'} inStep src={'https://github.com/lobehub/lobe-chat/assets/34400653/470e5669-650b-46cf-8024-a1476c166059'} />
40
33
 
41
- <Image
42
- alt={'填写 API 密钥'}
43
- inStep
44
- src={'https://github.com/lobehub/lobe-chat/assets/34400653/470e5669-650b-46cf-8024-a1476c166059'}
45
- />
34
+ - 打开 Stepfun 阶跃星辰并填入获得的 API 密钥
35
+ - 为你的 AI 助手选择一个 Stepfun 阶跃星辰的模型即可开始对话
46
36
 
47
- - 打开 Stepfun 阶跃星辰并填入获得的 API 密钥
48
- - 为你的 AI 助手选择一个 Stepfun 阶跃星辰的模型即可开始对话
49
-
50
- <Image
51
- alt={'选择 Stepfun 阶跃星辰模型并开始对话'}
52
- inStep
53
- src={'https://github.com/lobehub/lobe-chat/assets/34400653/0275a552-f189-42b5-bf40-f9891c428b3d'}
54
- />
55
-
56
- <Callout type={'warning'}>
57
- 在使用过程中你可能需要向 API 服务提供商付费,请参考 Stepfun 阶跃星辰的相关费用政策。
58
- </Callout>
37
+ <Image alt={'选择 Stepfun 阶跃星辰模型并开始对话'} inStep src={'https://github.com/lobehub/lobe-chat/assets/34400653/0275a552-f189-42b5-bf40-f9891c428b3d'} />
59
38
 
39
+ <Callout type={'warning'}>
40
+ 在使用过程中你可能需要向 API 服务提供商付费,请参考 Stepfun 阶跃星辰的相关费用政策。
41
+ </Callout>
60
42
  </Steps>
61
43
 
62
44
  至此你已经可以在 LobeChat 中使用 Stepfun 阶跃星辰提供的模型进行对话了。
@@ -13,52 +13,34 @@ tags:
13
13
 
14
14
  # Using Taichu in LobeChat
15
15
 
16
- <Image
17
- alt={'Using Taichu in LobeChat'}
18
- cover
19
- src={'https://github.com/user-attachments/assets/9cb27b68-f2ac-4ff9-8f97-d96314b1af03'}
20
- />
16
+ <Image alt={'Using Taichu in LobeChat'} cover src={'https://github.com/user-attachments/assets/9cb27b68-f2ac-4ff9-8f97-d96314b1af03'} />
21
17
 
22
18
  This article will guide you on how to use Taichu in LobeChat:
23
19
 
24
20
  <Steps>
21
+ ### Step 1: Obtain Taichu API Key
25
22
 
26
- ### Step 1: Obtain Taichu API Key
23
+ - Create an account on [Taichu](https://ai-maas.wair.ac.cn/)
24
+ - Create and obtain an [API key](https://ai-maas.wair.ac.cn/#/settlement/api/key)
27
25
 
28
- - Create an account on [Taichu](https://ai-maas.wair.ac.cn/)
29
- - Create and obtain an [API key](https://ai-maas.wair.ac.cn/#/settlement/api/key)
26
+ <Image alt={'Create API Key'} inStep src={'https://github.com/user-attachments/assets/8d90ae64-cf8e-4d90-8a31-c18ab484740b'} />
30
27
 
31
- <Image
32
- alt={'Create API Key'}
33
- inStep
34
- src={'https://github.com/user-attachments/assets/8d90ae64-cf8e-4d90-8a31-c18ab484740b'}
35
- />
28
+ ### Step 2: Configure Taichu in LobeChat
36
29
 
37
- ### Step 2: Configure Taichu in LobeChat
30
+ - Go to the `Settings` interface in LobeChat
31
+ - Find the setting for `Taichu` under `Language Model`
38
32
 
39
- - Go to the `Settings` interface in LobeChat
40
- - Find the setting for `Taichu` under `Language Model`
33
+ <Image alt={'Enter API Key'} inStep src={'https://github.com/user-attachments/assets/55028fe5-44db-49e2-93c5-5dabbd664f10'} />
41
34
 
42
- <Image
43
- alt={'Enter API Key'}
44
- inStep
45
- src={'https://github.com/user-attachments/assets/55028fe5-44db-49e2-93c5-5dabbd664f10'}
46
- />
35
+ - Enter the obtained API key
36
+ - Choose a Purple Taichu model for your AI assistant to start the conversation
47
37
 
48
- - Enter the obtained API key
49
- - Choose a Purple Taichu model for your AI assistant to start the conversation
50
-
51
- <Image
52
- alt={'Select Tai Chi model and start conversation'}
53
- inStep
54
- src={'https://github.com/user-attachments/assets/c44b6894-70cb-4876-b792-2e76e75ac542'}
55
- />
56
-
57
- <Callout type={'warning'}>
58
- During usage, you may need to pay the API service provider, please refer to Taichu's relevant
59
- pricing policies.
60
- </Callout>
38
+ <Image alt={'Select Tai Chi model and start conversation'} inStep src={'https://github.com/user-attachments/assets/c44b6894-70cb-4876-b792-2e76e75ac542'} />
61
39
 
40
+ <Callout type={'warning'}>
41
+ During usage, you may need to pay the API service provider, please refer to Taichu's relevant
42
+ pricing policies.
43
+ </Callout>
62
44
  </Steps>
63
45
 
64
46
  Now you can start conversing with the models provided by Taichu in LobeChat.