@lobehub/lobehub 2.0.0-next.382 → 2.0.0-next.384

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 (591) hide show
  1. package/.eslintrc.js +1 -0
  2. package/.i18nrc.js +5 -10
  3. package/.remarkrc.mdx.js +1 -1
  4. package/CHANGELOG.md +72 -0
  5. package/README.md +5 -3
  6. package/apps/desktop/src/main/controllers/LocalFileCtr.ts +25 -1
  7. package/apps/desktop/src/main/controllers/UpdaterCtr.ts +1 -1
  8. package/changelog/v1.json +21 -0
  9. package/docker-compose/local/.env.example +10 -8
  10. package/docker-compose/local/.env.zh-CN.example +10 -8
  11. package/docker-compose/local/bucket.config.json +24 -0
  12. package/docker-compose/local/docker-compose.yml +56 -37
  13. package/docker-compose/setup.sh +65 -30
  14. package/docs/.cdn.cache.json +404 -1
  15. package/docs/changelog/2023-09-09-plugin-system.mdx +8 -8
  16. package/docs/changelog/2023-09-09-plugin-system.zh-CN.mdx +6 -6
  17. package/docs/changelog/2023-11-14-gpt4-vision.mdx +4 -4
  18. package/docs/changelog/2023-11-14-gpt4-vision.zh-CN.mdx +4 -4
  19. package/docs/changelog/2023-11-19-tts-stt.mdx +5 -5
  20. package/docs/changelog/2023-11-19-tts-stt.zh-CN.mdx +5 -5
  21. package/docs/changelog/2023-12-22-dalle-3.mdx +4 -4
  22. package/docs/changelog/2023-12-22-dalle-3.zh-CN.mdx +3 -3
  23. package/docs/changelog/2024-02-08-sso-oauth.mdx +6 -6
  24. package/docs/changelog/2024-02-08-sso-oauth.zh-CN.mdx +5 -5
  25. package/docs/changelog/2024-02-14-ollama.mdx +7 -7
  26. package/docs/changelog/2024-02-14-ollama.zh-CN.mdx +7 -7
  27. package/docs/changelog/2024-06-19-lobe-chat-v1.mdx +9 -9
  28. package/docs/changelog/2024-06-19-lobe-chat-v1.zh-CN.mdx +8 -8
  29. package/docs/changelog/2024-07-19-gpt-4o-mini.mdx +8 -8
  30. package/docs/changelog/2024-07-19-gpt-4o-mini.zh-CN.mdx +8 -8
  31. package/docs/changelog/2024-08-02-lobe-chat-database-docker.mdx +7 -7
  32. package/docs/changelog/2024-08-02-lobe-chat-database-docker.zh-CN.mdx +7 -7
  33. package/docs/changelog/2024-08-21-file-upload-and-knowledge-base.mdx +5 -5
  34. package/docs/changelog/2024-08-21-file-upload-and-knowledge-base.zh-CN.mdx +5 -5
  35. package/docs/changelog/2024-09-13-openai-o1-models.mdx +6 -6
  36. package/docs/changelog/2024-09-13-openai-o1-models.zh-CN.mdx +7 -7
  37. package/docs/changelog/2024-09-20-artifacts.mdx +10 -10
  38. package/docs/changelog/2024-09-20-artifacts.zh-CN.mdx +10 -10
  39. package/docs/changelog/2024-10-27-pin-assistant.mdx +4 -4
  40. package/docs/changelog/2024-10-27-pin-assistant.zh-CN.mdx +4 -4
  41. package/docs/changelog/2024-11-06-share-text-json.mdx +7 -7
  42. package/docs/changelog/2024-11-06-share-text-json.zh-CN.mdx +4 -4
  43. package/docs/changelog/2024-11-25-november-providers.mdx +5 -5
  44. package/docs/changelog/2024-11-25-november-providers.zh-CN.mdx +5 -5
  45. package/docs/changelog/2024-11-27-forkable-chat.mdx +4 -4
  46. package/docs/changelog/2024-11-27-forkable-chat.zh-CN.mdx +4 -4
  47. package/docs/changelog/2025-01-03-user-profile.mdx +5 -5
  48. package/docs/changelog/2025-01-03-user-profile.zh-CN.mdx +5 -5
  49. package/docs/changelog/2025-01-22-new-ai-provider.mdx +4 -4
  50. package/docs/changelog/2025-01-22-new-ai-provider.zh-CN.mdx +4 -4
  51. package/docs/changelog/2025-02-02-deepseek-r1.mdx +8 -8
  52. package/docs/changelog/2025-02-02-deepseek-r1.zh-CN.mdx +6 -6
  53. package/docs/changelog/2025-03-02-new-models.zh-CN.mdx +28 -0
  54. package/docs/changelog/2025-04-06-exports.zh-CN.mdx +32 -0
  55. package/docs/changelog/2025-05-08-desktop-app.zh-CN.mdx +35 -0
  56. package/docs/changelog/2025-06-08-claude-4.zh-CN.mdx +20 -0
  57. package/docs/changelog/2025-07-08-mcp-market.zh-CN.mdx +28 -0
  58. package/docs/changelog/2025-08-08-image-generation.zh-CN.mdx +28 -0
  59. package/docs/changelog/2025-09-08-gemini.zh-CN.mdx +24 -0
  60. package/docs/changelog/2025-10-08-python.zh-CN.mdx +29 -0
  61. package/docs/changelog/2025-11-08-comfy-ui.zh-CN.mdx +28 -0
  62. package/docs/changelog/2025-12-20-mcp.zh-CN.mdx +26 -0
  63. package/docs/changelog/index.json +60 -0
  64. package/docs/development/basic/add-new-authentication-providers.mdx +10 -19
  65. package/docs/development/basic/add-new-authentication-providers.zh-CN.mdx +11 -3
  66. package/docs/development/basic/add-new-image-model.mdx +7 -0
  67. package/docs/development/basic/add-new-image-model.zh-CN.mdx +5 -0
  68. package/docs/development/basic/architecture.mdx +19 -10
  69. package/docs/development/basic/architecture.zh-CN.mdx +17 -10
  70. package/docs/development/basic/chat-api.mdx +9 -1
  71. package/docs/development/basic/chat-api.zh-CN.mdx +7 -1
  72. package/docs/development/basic/comfyui-development.mdx +3 -3
  73. package/docs/development/basic/comfyui-development.zh-CN.mdx +4 -4
  74. package/docs/development/basic/contributing-guidelines.mdx +12 -3
  75. package/docs/development/basic/contributing-guidelines.zh-CN.mdx +10 -3
  76. package/docs/development/basic/feature-development-frontend.mdx +15 -6
  77. package/docs/development/basic/feature-development-frontend.zh-CN.mdx +13 -6
  78. package/docs/development/basic/feature-development.mdx +16 -9
  79. package/docs/development/basic/feature-development.zh-CN.mdx +15 -9
  80. package/docs/development/basic/folder-structure.mdx +10 -1
  81. package/docs/development/basic/folder-structure.zh-CN.mdx +8 -1
  82. package/docs/development/basic/resources.mdx +12 -3
  83. package/docs/development/basic/resources.zh-CN.mdx +10 -3
  84. package/docs/development/basic/setup-development.mdx +19 -8
  85. package/docs/development/basic/setup-development.zh-CN.mdx +15 -8
  86. package/docs/development/basic/test.mdx +12 -3
  87. package/docs/development/basic/test.zh-CN.mdx +9 -3
  88. package/docs/development/basic/work-with-server-side-database.mdx +10 -3
  89. package/docs/development/basic/work-with-server-side-database.zh-CN.mdx +10 -3
  90. package/docs/development/internationalization/add-new-locale.mdx +13 -6
  91. package/docs/development/internationalization/add-new-locale.zh-CN.mdx +13 -6
  92. package/docs/development/internationalization/internationalization-implementation.mdx +16 -7
  93. package/docs/development/internationalization/internationalization-implementation.zh-CN.mdx +13 -7
  94. package/docs/development/others/lighthouse.mdx +11 -6
  95. package/docs/development/others/lighthouse.zh-CN.mdx +12 -6
  96. package/docs/development/start.mdx +18 -9
  97. package/docs/development/start.zh-CN.mdx +16 -9
  98. package/docs/development/state-management/state-management-intro.mdx +17 -9
  99. package/docs/development/state-management/state-management-intro.zh-CN.mdx +13 -7
  100. package/docs/development/state-management/state-management-selectors.mdx +12 -3
  101. package/docs/development/state-management/state-management-selectors.zh-CN.mdx +10 -3
  102. package/docs/development/tests/integration-testing.mdx +410 -0
  103. package/docs/development/tests/integration-testing.zh-CN.mdx +8 -2
  104. package/docs/glossary.md +7 -7
  105. package/docs/glossary.zh-CN.md +13 -0
  106. package/docs/self-hosting/advanced/analytics.mdx +4 -4
  107. package/docs/self-hosting/advanced/analytics.zh-CN.mdx +4 -4
  108. package/docs/self-hosting/advanced/auth/clerk.mdx +4 -4
  109. package/docs/self-hosting/advanced/auth/clerk.zh-CN.mdx +4 -4
  110. package/docs/self-hosting/advanced/auth/next-auth/auth0.mdx +13 -13
  111. package/docs/self-hosting/advanced/auth/next-auth/auth0.zh-CN.mdx +13 -13
  112. package/docs/self-hosting/advanced/auth/next-auth/authelia.mdx +10 -10
  113. package/docs/self-hosting/advanced/auth/next-auth/authelia.zh-CN.mdx +8 -8
  114. package/docs/self-hosting/advanced/auth/next-auth/authentik.mdx +6 -6
  115. package/docs/self-hosting/advanced/auth/next-auth/authentik.zh-CN.mdx +6 -6
  116. package/docs/self-hosting/advanced/auth/next-auth/casdoor.mdx +16 -16
  117. package/docs/self-hosting/advanced/auth/next-auth/casdoor.zh-CN.mdx +15 -15
  118. package/docs/self-hosting/advanced/auth/next-auth/cloudflare-zero-trust.mdx +14 -14
  119. package/docs/self-hosting/advanced/auth/next-auth/cloudflare-zero-trust.zh-CN.mdx +15 -15
  120. package/docs/self-hosting/advanced/auth/next-auth/github.mdx +14 -14
  121. package/docs/self-hosting/advanced/auth/next-auth/github.zh-CN.mdx +12 -12
  122. package/docs/self-hosting/advanced/auth/next-auth/google.mdx +10 -12
  123. package/docs/self-hosting/advanced/auth/next-auth/google.zh-CN.mdx +77 -0
  124. package/docs/self-hosting/advanced/auth/next-auth/keycloak.mdx +19 -19
  125. package/docs/self-hosting/advanced/auth/next-auth/keycloak.zh-CN.mdx +17 -17
  126. package/docs/self-hosting/advanced/auth/next-auth/logto.mdx +15 -15
  127. package/docs/self-hosting/advanced/auth/next-auth/logto.zh-CN.mdx +15 -15
  128. package/docs/self-hosting/advanced/auth/next-auth/microsoft-entra-id.mdx +9 -9
  129. package/docs/self-hosting/advanced/auth/next-auth/microsoft-entra-id.zh-CN.mdx +8 -8
  130. package/docs/self-hosting/advanced/auth/next-auth/okta.mdx +8 -8
  131. package/docs/self-hosting/advanced/auth/next-auth/okta.zh-CN.mdx +6 -6
  132. package/docs/self-hosting/advanced/auth/next-auth/wechat.mdx +6 -6
  133. package/docs/self-hosting/advanced/auth/next-auth/wechat.zh-CN.mdx +6 -6
  134. package/docs/self-hosting/advanced/auth/next-auth/zitadel.mdx +14 -14
  135. package/docs/self-hosting/advanced/auth/next-auth/zitadel.zh-CN.mdx +15 -15
  136. package/docs/self-hosting/advanced/auth.mdx +37 -15
  137. package/docs/self-hosting/advanced/auth.zh-CN.mdx +36 -13
  138. package/docs/self-hosting/advanced/desktop.mdx +12 -12
  139. package/docs/self-hosting/advanced/desktop.zh-CN.mdx +12 -12
  140. package/docs/self-hosting/advanced/feature-flags.mdx +5 -5
  141. package/docs/self-hosting/advanced/feature-flags.zh-CN.mdx +5 -5
  142. package/docs/self-hosting/advanced/knowledge-base.mdx +8 -8
  143. package/docs/self-hosting/advanced/knowledge-base.zh-CN.mdx +7 -7
  144. package/docs/self-hosting/advanced/model-list.mdx +4 -4
  145. package/docs/self-hosting/advanced/model-list.zh-CN.mdx +4 -4
  146. package/docs/self-hosting/advanced/observability/grafana.mdx +7 -7
  147. package/docs/self-hosting/advanced/observability/grafana.zh-CN.mdx +4 -4
  148. package/docs/self-hosting/advanced/observability/langfuse.mdx +13 -13
  149. package/docs/self-hosting/advanced/observability/langfuse.zh-CN.mdx +13 -13
  150. package/docs/self-hosting/advanced/online-search.mdx +6 -6
  151. package/docs/self-hosting/advanced/online-search.zh-CN.mdx +6 -6
  152. package/docs/self-hosting/advanced/s3/cloudflare-r2.mdx +13 -13
  153. package/docs/self-hosting/advanced/s3/cloudflare-r2.zh-CN.mdx +13 -13
  154. package/docs/self-hosting/advanced/s3/rustfs.mdx +142 -0
  155. package/docs/self-hosting/advanced/s3/rustfs.zh-CN.mdx +143 -0
  156. package/docs/self-hosting/advanced/s3/tencent-cloud.mdx +4 -4
  157. package/docs/self-hosting/advanced/s3/tencent-cloud.zh-CN.mdx +4 -4
  158. package/docs/self-hosting/advanced/s3.mdx +4 -4
  159. package/docs/self-hosting/advanced/s3.zh-CN.mdx +1 -1
  160. package/docs/self-hosting/advanced/settings-url-share.mdx +4 -4
  161. package/docs/self-hosting/advanced/settings-url-share.zh-CN.mdx +5 -5
  162. package/docs/self-hosting/advanced/upstream-sync.mdx +11 -11
  163. package/docs/self-hosting/advanced/upstream-sync.zh-CN.mdx +11 -11
  164. package/docs/self-hosting/environment-variables/analytics.mdx +5 -5
  165. package/docs/self-hosting/environment-variables/analytics.zh-CN.mdx +3 -3
  166. package/docs/self-hosting/environment-variables/auth.mdx +3 -3
  167. package/docs/self-hosting/environment-variables/auth.zh-CN.mdx +4 -4
  168. package/docs/self-hosting/environment-variables/basic.mdx +15 -15
  169. package/docs/self-hosting/environment-variables/basic.zh-CN.mdx +14 -14
  170. package/docs/self-hosting/environment-variables/model-provider.mdx +2 -2
  171. package/docs/self-hosting/environment-variables/model-provider.zh-CN.mdx +4 -4
  172. package/docs/self-hosting/environment-variables/s3.mdx +2 -2
  173. package/docs/self-hosting/environment-variables/s3.zh-CN.mdx +2 -2
  174. package/docs/self-hosting/environment-variables.mdx +7 -7
  175. package/docs/self-hosting/environment-variables.zh-CN.mdx +4 -4
  176. package/docs/self-hosting/examples/azure-openai.mdx +5 -4
  177. package/docs/self-hosting/examples/azure-openai.zh-CN.mdx +4 -3
  178. package/docs/self-hosting/examples/ollama.mdx +10 -10
  179. package/docs/self-hosting/examples/ollama.zh-CN.mdx +9 -9
  180. package/docs/self-hosting/faq/no-v1-suffix.mdx +2 -4
  181. package/docs/self-hosting/faq/no-v1-suffix.zh-CN.mdx +2 -2
  182. package/docs/self-hosting/faq/proxy-with-unable-to-verify-leaf-signature.mdx +2 -2
  183. package/docs/self-hosting/faq/proxy-with-unable-to-verify-leaf-signature.zh-CN.mdx +2 -2
  184. package/docs/self-hosting/platform/alibaba-cloud.mdx +8 -7
  185. package/docs/self-hosting/platform/alibaba-cloud.zh-CN.mdx +5 -5
  186. package/docs/self-hosting/platform/btpanel.mdx +12 -12
  187. package/docs/self-hosting/platform/btpanel.zh-CN.mdx +11 -11
  188. package/docs/self-hosting/platform/docker-compose.mdx +4 -4
  189. package/docs/self-hosting/platform/docker-compose.zh-CN.mdx +4 -4
  190. package/docs/self-hosting/platform/docker.mdx +6 -6
  191. package/docs/self-hosting/platform/docker.zh-CN.mdx +8 -8
  192. package/docs/self-hosting/platform/netlify.mdx +27 -26
  193. package/docs/self-hosting/platform/netlify.zh-CN.mdx +24 -23
  194. package/docs/self-hosting/platform/railway.mdx +7 -7
  195. package/docs/self-hosting/platform/railway.zh-CN.mdx +6 -4
  196. package/docs/self-hosting/platform/repocloud.mdx +7 -7
  197. package/docs/self-hosting/platform/repocloud.zh-CN.mdx +4 -4
  198. package/docs/self-hosting/platform/sealos.mdx +6 -6
  199. package/docs/self-hosting/platform/sealos.zh-CN.mdx +5 -4
  200. package/docs/self-hosting/platform/tencentcloud-lighthouse.mdx +9 -7
  201. package/docs/self-hosting/platform/tencentcloud-lighthouse.zh-CN.mdx +5 -5
  202. package/docs/self-hosting/platform/vercel.mdx +7 -6
  203. package/docs/self-hosting/platform/vercel.zh-CN.mdx +6 -5
  204. package/docs/self-hosting/platform/zeabur.mdx +9 -9
  205. package/docs/self-hosting/platform/zeabur.zh-CN.mdx +9 -8
  206. package/docs/self-hosting/server-database/docker-compose.mdx +37 -37
  207. package/docs/self-hosting/server-database/docker-compose.zh-CN.mdx +37 -37
  208. package/docs/self-hosting/server-database/docker.mdx +17 -12
  209. package/docs/self-hosting/server-database/docker.zh-CN.mdx +18 -12
  210. package/docs/self-hosting/server-database/dokploy.mdx +24 -24
  211. package/docs/self-hosting/server-database/dokploy.zh-CN.mdx +20 -20
  212. package/docs/self-hosting/server-database/netlify.mdx +4 -4
  213. package/docs/self-hosting/server-database/netlify.zh-CN.mdx +4 -4
  214. package/docs/self-hosting/server-database/railway.mdx +4 -4
  215. package/docs/self-hosting/server-database/railway.zh-CN.mdx +4 -4
  216. package/docs/self-hosting/server-database/repocloud.mdx +5 -5
  217. package/docs/self-hosting/server-database/repocloud.zh-CN.mdx +5 -5
  218. package/docs/self-hosting/server-database/sealos.mdx +5 -5
  219. package/docs/self-hosting/server-database/sealos.zh-CN.mdx +5 -5
  220. package/docs/self-hosting/server-database/vercel.mdx +76 -27
  221. package/docs/self-hosting/server-database/vercel.zh-CN.mdx +73 -26
  222. package/docs/self-hosting/server-database/zeabur.mdx +14 -14
  223. package/docs/self-hosting/server-database/zeabur.zh-CN.mdx +14 -14
  224. package/docs/self-hosting/server-database.mdx +30 -12
  225. package/docs/self-hosting/server-database.zh-CN.mdx +26 -9
  226. package/docs/self-hosting/start.mdx +6 -6
  227. package/docs/self-hosting/start.zh-CN.mdx +5 -5
  228. package/docs/usage/agent/agent-team.mdx +66 -0
  229. package/docs/usage/agent/agent-team.zh-CN.mdx +64 -0
  230. package/docs/usage/agent/gtd.mdx +35 -0
  231. package/docs/usage/agent/gtd.zh-CN.mdx +33 -0
  232. package/docs/usage/agent/notebook.mdx +65 -0
  233. package/docs/usage/agent/notebook.zh-CN.mdx +56 -0
  234. package/docs/usage/agent/sandbox.mdx +79 -0
  235. package/docs/usage/agent/sandbox.zh-CN.mdx +73 -0
  236. package/docs/usage/agent/scheduled-task.mdx +27 -0
  237. package/docs/usage/agent/scheduled-task.zh-CN.mdx +25 -0
  238. package/docs/usage/agent/share.mdx +92 -0
  239. package/docs/usage/agent/share.zh-CN.mdx +60 -0
  240. package/docs/usage/agent/topic.mdx +59 -0
  241. package/docs/usage/agent/topic.zh-CN.mdx +57 -0
  242. package/docs/usage/agent/translate.mdx +32 -0
  243. package/docs/usage/agent/translate.zh-CN.mdx +29 -0
  244. package/docs/usage/agent/tts-stt.mdx +38 -0
  245. package/docs/usage/agent/tts-stt.zh-CN.mdx +36 -0
  246. package/docs/usage/community/agent-market.mdx +44 -0
  247. package/docs/usage/community/agent-market.zh-CN.mdx +41 -0
  248. package/docs/usage/community/become-a-creator.mdx +27 -0
  249. package/docs/usage/community/become-a-creator.zh-CN.mdx +25 -0
  250. package/docs/usage/community/custom-plugin.mdx +37 -0
  251. package/docs/usage/community/custom-plugin.zh-CN.mdx +35 -0
  252. package/docs/usage/community/mcp-market.mdx +32 -0
  253. package/docs/usage/community/mcp-market.zh-CN.mdx +30 -0
  254. package/docs/usage/community/publish-agent.mdx +30 -0
  255. package/docs/usage/community/publish-agent.zh-CN.mdx +27 -0
  256. package/docs/usage/community/pulgin-development.mdx +281 -0
  257. package/docs/usage/{plugins/development.zh-CN.mdx → community/pulgin-development.zh-CN.mdx} +24 -23
  258. package/docs/usage/getting-started/agent.mdx +105 -0
  259. package/docs/usage/getting-started/agent.zh-CN.mdx +103 -0
  260. package/docs/usage/getting-started/get-lobehub.mdx +41 -0
  261. package/docs/usage/getting-started/get-lobehub.zh-CN.mdx +39 -0
  262. package/docs/usage/getting-started/image-generation.mdx +54 -0
  263. package/docs/usage/getting-started/image-generation.zh-CN.mdx +52 -0
  264. package/docs/usage/getting-started/lobe-ai.mdx +34 -0
  265. package/docs/usage/getting-started/lobe-ai.zh-CN.mdx +32 -0
  266. package/docs/usage/getting-started/memory.mdx +72 -0
  267. package/docs/usage/getting-started/memory.zh-CN.mdx +68 -0
  268. package/docs/usage/getting-started/page.mdx +62 -0
  269. package/docs/usage/getting-started/page.zh-CN.mdx +60 -0
  270. package/docs/usage/getting-started/resource.mdx +67 -0
  271. package/docs/usage/getting-started/resource.zh-CN.mdx +65 -0
  272. package/docs/usage/help.mdx +38 -0
  273. package/docs/usage/help.zh-CN.mdx +36 -0
  274. package/docs/usage/migrate-from-local-database.mdx +118 -0
  275. package/docs/usage/migrate-from-local-database.zh-CN.mdx +115 -0
  276. package/docs/usage/providers/ai21.mdx +21 -22
  277. package/docs/usage/providers/ai21.zh-CN.mdx +12 -12
  278. package/docs/usage/providers/ai302.mdx +23 -21
  279. package/docs/usage/providers/ai302.zh-CN.mdx +8 -8
  280. package/docs/usage/providers/ai360.mdx +23 -22
  281. package/docs/usage/providers/ai360.zh-CN.mdx +12 -12
  282. package/docs/usage/providers/aihubmix.mdx +98 -0
  283. package/docs/usage/providers/aihubmix.zh-CN.mdx +5 -5
  284. package/docs/usage/providers/anthropic.mdx +25 -28
  285. package/docs/usage/providers/anthropic.zh-CN.mdx +13 -13
  286. package/docs/usage/providers/azure.mdx +25 -30
  287. package/docs/usage/providers/azure.zh-CN.mdx +14 -14
  288. package/docs/usage/providers/azureai.mdx +32 -32
  289. package/docs/usage/providers/azureai.zh-CN.mdx +15 -15
  290. package/docs/usage/providers/baichuan.mdx +21 -21
  291. package/docs/usage/providers/baichuan.zh-CN.mdx +12 -12
  292. package/docs/usage/providers/bedrock.mdx +41 -41
  293. package/docs/usage/providers/bedrock.zh-CN.mdx +19 -19
  294. package/docs/usage/providers/bfl.mdx +22 -23
  295. package/docs/usage/providers/bfl.zh-CN.mdx +8 -10
  296. package/docs/usage/providers/cloudflare.mdx +27 -27
  297. package/docs/usage/providers/cloudflare.zh-CN.mdx +13 -13
  298. package/docs/usage/providers/comfyui.mdx +90 -650
  299. package/docs/usage/providers/comfyui.zh-CN.mdx +20 -20
  300. package/docs/usage/providers/deepseek.mdx +28 -30
  301. package/docs/usage/providers/deepseek.zh-CN.mdx +14 -14
  302. package/docs/usage/providers/fal.mdx +23 -24
  303. package/docs/usage/providers/fal.zh-CN.mdx +8 -10
  304. package/docs/usage/providers/fireworksai.mdx +21 -23
  305. package/docs/usage/providers/fireworksai.zh-CN.mdx +13 -13
  306. package/docs/usage/providers/giteeai.mdx +24 -26
  307. package/docs/usage/providers/giteeai.zh-CN.mdx +13 -13
  308. package/docs/usage/providers/github.mdx +30 -28
  309. package/docs/usage/providers/github.zh-CN.mdx +14 -14
  310. package/docs/usage/providers/google.mdx +25 -26
  311. package/docs/usage/providers/google.zh-CN.mdx +13 -13
  312. package/docs/usage/providers/groq.mdx +20 -25
  313. package/docs/usage/providers/groq.zh-CN.mdx +12 -12
  314. package/docs/usage/providers/hunyuan.mdx +22 -23
  315. package/docs/usage/providers/hunyuan.zh-CN.mdx +13 -13
  316. package/docs/usage/providers/infiniai.mdx +21 -14
  317. package/docs/usage/providers/infiniai.zh-CN.mdx +7 -7
  318. package/docs/usage/providers/internlm.mdx +23 -25
  319. package/docs/usage/providers/internlm.zh-CN.mdx +12 -12
  320. package/docs/usage/providers/jina.mdx +25 -24
  321. package/docs/usage/providers/jina.zh-CN.mdx +12 -12
  322. package/docs/usage/providers/lmstudio.mdx +41 -39
  323. package/docs/usage/providers/lmstudio.zh-CN.mdx +16 -16
  324. package/docs/usage/providers/minimax.mdx +28 -29
  325. package/docs/usage/providers/minimax.zh-CN.mdx +15 -15
  326. package/docs/usage/providers/mistral.mdx +21 -24
  327. package/docs/usage/providers/mistral.zh-CN.mdx +11 -11
  328. package/docs/usage/providers/modelscope.mdx +53 -33
  329. package/docs/usage/providers/modelscope.zh-CN.mdx +4 -4
  330. package/docs/usage/providers/moonshot.mdx +19 -22
  331. package/docs/usage/providers/moonshot.zh-CN.mdx +11 -11
  332. package/docs/usage/providers/novita.mdx +25 -24
  333. package/docs/usage/providers/novita.zh-CN.mdx +13 -13
  334. package/docs/usage/providers/nvidia.mdx +26 -25
  335. package/docs/usage/providers/nvidia.zh-CN.mdx +13 -13
  336. package/docs/usage/providers/ollama/gemma.mdx +20 -21
  337. package/docs/usage/providers/ollama/gemma.zh-CN.mdx +11 -11
  338. package/docs/usage/providers/ollama/qwen.mdx +22 -24
  339. package/docs/usage/providers/ollama/qwen.zh-CN.mdx +11 -11
  340. package/docs/usage/providers/ollama.mdx +56 -56
  341. package/docs/usage/providers/ollama.zh-CN.mdx +22 -22
  342. package/docs/usage/providers/openai.mdx +25 -27
  343. package/docs/usage/providers/openai.zh-CN.mdx +10 -10
  344. package/docs/usage/providers/openrouter.mdx +33 -36
  345. package/docs/usage/providers/openrouter.zh-CN.mdx +15 -15
  346. package/docs/usage/providers/perplexity.mdx +18 -19
  347. package/docs/usage/providers/perplexity.zh-CN.mdx +11 -11
  348. package/docs/usage/providers/ppio.mdx +25 -26
  349. package/docs/usage/providers/ppio.zh-CN.mdx +15 -15
  350. package/docs/usage/providers/qiniu.mdx +29 -30
  351. package/docs/usage/providers/qiniu.zh-CN.mdx +8 -8
  352. package/docs/usage/providers/qwen.mdx +29 -30
  353. package/docs/usage/providers/qwen.zh-CN.mdx +14 -14
  354. package/docs/usage/providers/sambanova.mdx +23 -22
  355. package/docs/usage/providers/sambanova.zh-CN.mdx +12 -12
  356. package/docs/usage/providers/sensenova.mdx +27 -29
  357. package/docs/usage/providers/sensenova.zh-CN.mdx +13 -13
  358. package/docs/usage/providers/siliconcloud.mdx +21 -22
  359. package/docs/usage/providers/siliconcloud.zh-CN.mdx +12 -12
  360. package/docs/usage/providers/spark.mdx +25 -25
  361. package/docs/usage/providers/spark.zh-CN.mdx +13 -13
  362. package/docs/usage/providers/stepfun.mdx +21 -22
  363. package/docs/usage/providers/stepfun.zh-CN.mdx +11 -11
  364. package/docs/usage/providers/taichu.mdx +21 -21
  365. package/docs/usage/providers/taichu.zh-CN.mdx +12 -12
  366. package/docs/usage/providers/tencentcloud.mdx +26 -24
  367. package/docs/usage/providers/tencentcloud.zh-CN.mdx +12 -12
  368. package/docs/usage/providers/togetherai.mdx +23 -23
  369. package/docs/usage/providers/togetherai.zh-CN.mdx +13 -13
  370. package/docs/usage/providers/upstage.mdx +23 -22
  371. package/docs/usage/providers/upstage.zh-CN.mdx +12 -12
  372. package/docs/usage/providers/vercel-ai-gateway.mdx +27 -29
  373. package/docs/usage/providers/vercel-ai-gateway.zh-CN.mdx +8 -9
  374. package/docs/usage/providers/vertexai.mdx +31 -29
  375. package/docs/usage/providers/vertexai.zh-CN.mdx +14 -14
  376. package/docs/usage/providers/vllm.mdx +31 -32
  377. package/docs/usage/providers/vllm.zh-CN.mdx +11 -11
  378. package/docs/usage/providers/volcengine.mdx +23 -22
  379. package/docs/usage/providers/volcengine.zh-CN.mdx +12 -12
  380. package/docs/usage/providers/wenxin.mdx +29 -30
  381. package/docs/usage/providers/wenxin.zh-CN.mdx +14 -14
  382. package/docs/usage/providers/xai.mdx +23 -25
  383. package/docs/usage/providers/xai.zh-CN.mdx +12 -12
  384. package/docs/usage/providers/zeroone.mdx +31 -29
  385. package/docs/usage/providers/zeroone.zh-CN.mdx +14 -16
  386. package/docs/usage/providers/zhipu.mdx +20 -21
  387. package/docs/usage/providers/zhipu.zh-CN.mdx +11 -11
  388. package/docs/usage/providers.mdx +14 -12
  389. package/docs/usage/providers.zh-CN.mdx +7 -7
  390. package/docs/usage/start.mdx +22 -51
  391. package/docs/usage/start.zh-CN.mdx +16 -44
  392. package/docs/usage/user-interface/appearance.mdx +53 -0
  393. package/docs/usage/user-interface/appearance.zh-CN.mdx +49 -0
  394. package/docs/usage/user-interface/command-menu.mdx +56 -0
  395. package/docs/usage/user-interface/command-menu.zh-CN.mdx +47 -0
  396. package/docs/usage/user-interface/shortcuts.mdx +53 -0
  397. package/docs/usage/user-interface/shortcuts.zh-CN.mdx +50 -0
  398. package/docs/usage/user-interface/stats.mdx +53 -0
  399. package/docs/usage/user-interface/stats.zh-CN.mdx +51 -0
  400. package/docs/usage/workspace/manage-quota.mdx +30 -0
  401. package/docs/usage/workspace/manage-quota.zh-CN.mdx +30 -0
  402. package/docs/usage/workspace/manage-team.mdx +31 -0
  403. package/docs/usage/workspace/manage-team.zh-CN.mdx +30 -0
  404. package/docs/wiki/HOME.zh-CN.md +11 -0
  405. package/locales/ar/discover.json +2 -0
  406. package/locales/ar/file.json +3 -0
  407. package/locales/ar/models.json +43 -0
  408. package/locales/bg-BG/discover.json +2 -0
  409. package/locales/bg-BG/file.json +3 -0
  410. package/locales/bg-BG/models.json +2 -0
  411. package/locales/de-DE/discover.json +2 -0
  412. package/locales/de-DE/file.json +3 -0
  413. package/locales/de-DE/models.json +29 -0
  414. package/locales/en-US/common.json +1 -0
  415. package/locales/en-US/discover.json +2 -0
  416. package/locales/en-US/file.json +3 -0
  417. package/locales/es-ES/discover.json +2 -0
  418. package/locales/es-ES/file.json +3 -0
  419. package/locales/es-ES/models.json +9 -0
  420. package/locales/fa-IR/discover.json +2 -0
  421. package/locales/fa-IR/file.json +3 -0
  422. package/locales/fa-IR/models.json +55 -0
  423. package/locales/fr-FR/discover.json +2 -0
  424. package/locales/fr-FR/file.json +3 -0
  425. package/locales/fr-FR/models.json +34 -0
  426. package/locales/it-IT/discover.json +2 -0
  427. package/locales/it-IT/file.json +3 -0
  428. package/locales/it-IT/models.json +46 -0
  429. package/locales/ja-JP/discover.json +2 -0
  430. package/locales/ja-JP/file.json +3 -0
  431. package/locales/ja-JP/models.json +36 -0
  432. package/locales/ko-KR/discover.json +2 -0
  433. package/locales/ko-KR/file.json +3 -0
  434. package/locales/ko-KR/models.json +46 -0
  435. package/locales/nl-NL/discover.json +2 -0
  436. package/locales/nl-NL/file.json +3 -0
  437. package/locales/nl-NL/models.json +48 -0
  438. package/locales/pl-PL/discover.json +2 -0
  439. package/locales/pl-PL/file.json +3 -0
  440. package/locales/pl-PL/models.json +29 -0
  441. package/locales/pt-BR/discover.json +2 -0
  442. package/locales/pt-BR/file.json +3 -0
  443. package/locales/pt-BR/models.json +38 -0
  444. package/locales/ru-RU/discover.json +2 -0
  445. package/locales/ru-RU/file.json +3 -0
  446. package/locales/ru-RU/models.json +33 -0
  447. package/locales/tr-TR/discover.json +2 -0
  448. package/locales/tr-TR/file.json +3 -0
  449. package/locales/tr-TR/models.json +52 -0
  450. package/locales/vi-VN/discover.json +2 -0
  451. package/locales/vi-VN/file.json +3 -0
  452. package/locales/vi-VN/models.json +9 -0
  453. package/locales/zh-CN/common.json +1 -0
  454. package/locales/zh-CN/discover.json +2 -0
  455. package/locales/zh-CN/file.json +3 -0
  456. package/locales/zh-CN/models.json +100 -0
  457. package/locales/zh-TW/discover.json +2 -0
  458. package/locales/zh-TW/file.json +3 -0
  459. package/locales/zh-TW/models.json +45 -0
  460. package/package.json +5 -3
  461. package/packages/builtin-tool-group-agent-builder/src/ExecutionRuntime/index.ts +11 -0
  462. package/packages/builtin-tool-group-agent-builder/src/systemRole.ts +37 -7
  463. package/packages/electron-client-ipc/src/types/localSystem.ts +27 -0
  464. package/packages/model-runtime/src/core/contextBuilders/google.test.ts +73 -0
  465. package/packages/model-runtime/src/core/contextBuilders/google.ts +10 -0
  466. package/packages/observability-otel/src/api.ts +2 -2
  467. package/packages/types/src/discover/assistants.ts +2 -0
  468. package/packages/types/src/discover/groupAgents.ts +8 -0
  469. package/scripts/cdnWorkflow/index.ts +2 -0
  470. package/scripts/docsWorkflow/autoCDN.ts +172 -0
  471. package/scripts/docsWorkflow/optimized.ts +21 -0
  472. package/scripts/docsWorkflow/utils.ts +87 -0
  473. package/src/app/(backend)/middleware/auth/index.ts +27 -1
  474. package/src/app/[variants]/(main)/community/(detail)/agent/features/AgentForkTag.tsx +59 -0
  475. package/src/app/[variants]/(main)/community/(detail)/agent/features/Header.tsx +9 -36
  476. package/src/app/[variants]/(main)/community/(detail)/group_agent/features/GroupAgentForkTag.tsx +57 -0
  477. package/src/app/[variants]/(main)/community/(detail)/group_agent/features/Header.tsx +18 -2
  478. package/src/app/[variants]/(main)/community/(detail)/user/features/UserAgentCard.tsx +11 -3
  479. package/src/app/[variants]/(main)/community/(detail)/user/features/UserGroupCard.tsx +11 -3
  480. package/src/app/[variants]/(main)/group/profile/features/GroupProfile/index.tsx +15 -1
  481. package/src/app/[variants]/(main)/group/profile/features/MemberProfile/index.tsx +15 -1
  482. package/src/app/[variants]/(main)/memory/features/MemoryAnalysis/AnalysisTrigger.tsx +2 -2
  483. package/src/app/[variants]/(main)/settings/about/features/Version.tsx +10 -2
  484. package/src/features/EditorCanvas/EditorDataMode.tsx +16 -10
  485. package/src/features/PageEditor/Header/index.tsx +1 -0
  486. package/src/features/PageEditor/Header/useMenu.tsx +22 -11
  487. package/src/instrumentation.ts +9 -2
  488. package/src/layout/GlobalProvider/index.tsx +2 -1
  489. package/src/libs/observability/traceparent.test.ts +69 -0
  490. package/src/libs/observability/traceparent.ts +110 -0
  491. package/src/libs/trpc/lambda/context.test.ts +13 -0
  492. package/src/libs/trpc/lambda/context.ts +15 -6
  493. package/src/libs/trpc/middleware/openTelemetry.test.ts +93 -0
  494. package/src/libs/trpc/middleware/openTelemetry.ts +18 -7
  495. package/src/locales/default/common.ts +1 -0
  496. package/src/locales/default/discover.ts +3 -0
  497. package/src/locales/default/file.ts +3 -0
  498. package/src/server/services/discover/index.ts +7 -0
  499. package/src/services/electron/desktopExportService.tsx +61 -0
  500. package/src/services/electron/localFileService.ts +7 -0
  501. package/src/store/agent/selectors/agentByIdSelectors.ts +7 -0
  502. package/src/store/groupProfile/action.ts +15 -0
  503. package/src/store/groupProfile/initialState.ts +9 -0
  504. package/src/store/tool/slices/mcpStore/action.ts +8 -7
  505. package/docs/usage/agents/agent-organization.mdx +0 -53
  506. package/docs/usage/agents/agent-organization.zh-CN.mdx +0 -51
  507. package/docs/usage/agents/concepts.mdx +0 -40
  508. package/docs/usage/agents/concepts.zh-CN.mdx +0 -38
  509. package/docs/usage/agents/custom-agent.mdx +0 -57
  510. package/docs/usage/agents/custom-agent.zh-CN.mdx +0 -53
  511. package/docs/usage/agents/model.mdx +0 -95
  512. package/docs/usage/agents/model.zh-CN.mdx +0 -88
  513. package/docs/usage/agents/prompt.mdx +0 -108
  514. package/docs/usage/agents/prompt.zh-CN.mdx +0 -105
  515. package/docs/usage/agents/topics.mdx +0 -26
  516. package/docs/usage/agents/topics.zh-CN.mdx +0 -25
  517. package/docs/usage/features/agent-market.mdx +0 -32
  518. package/docs/usage/features/agent-market.zh-CN.mdx +0 -31
  519. package/docs/usage/features/agent-team.mdx +0 -52
  520. package/docs/usage/features/agent-team.zh-CN.mdx +0 -52
  521. package/docs/usage/features/artifacts.mdx +0 -23
  522. package/docs/usage/features/artifacts.zh-CN.mdx +0 -22
  523. package/docs/usage/features/auth.mdx +0 -76
  524. package/docs/usage/features/auth.zh-CN.mdx +0 -74
  525. package/docs/usage/features/branching-conversations.mdx +0 -21
  526. package/docs/usage/features/branching-conversations.zh-CN.mdx +0 -21
  527. package/docs/usage/features/cot.mdx +0 -18
  528. package/docs/usage/features/cot.zh-CN.mdx +0 -18
  529. package/docs/usage/features/database.mdx +0 -56
  530. package/docs/usage/features/database.zh-CN.mdx +0 -50
  531. package/docs/usage/features/desktop.mdx +0 -53
  532. package/docs/usage/features/desktop.zh-CN.mdx +0 -49
  533. package/docs/usage/features/knowledge-base.mdx +0 -25
  534. package/docs/usage/features/knowledge-base.zh-CN.mdx +0 -22
  535. package/docs/usage/features/local-llm.mdx +0 -51
  536. package/docs/usage/features/local-llm.zh-CN.mdx +0 -44
  537. package/docs/usage/features/mcp-market.mdx +0 -26
  538. package/docs/usage/features/mcp-market.zh-CN.mdx +0 -22
  539. package/docs/usage/features/mcp.mdx +0 -58
  540. package/docs/usage/features/mcp.zh-CN.mdx +0 -54
  541. package/docs/usage/features/mobile.mdx +0 -20
  542. package/docs/usage/features/mobile.zh-CN.mdx +0 -19
  543. package/docs/usage/features/more.mdx +0 -32
  544. package/docs/usage/features/more.zh-CN.mdx +0 -28
  545. package/docs/usage/features/multi-ai-providers.mdx +0 -57
  546. package/docs/usage/features/multi-ai-providers.zh-CN.mdx +0 -58
  547. package/docs/usage/features/plugin-system.mdx +0 -80
  548. package/docs/usage/features/plugin-system.zh-CN.mdx +0 -70
  549. package/docs/usage/features/pwa.mdx +0 -60
  550. package/docs/usage/features/pwa.zh-CN.mdx +0 -61
  551. package/docs/usage/features/search.mdx +0 -56
  552. package/docs/usage/features/search.zh-CN.mdx +0 -52
  553. package/docs/usage/features/text-to-image.mdx +0 -18
  554. package/docs/usage/features/text-to-image.zh-CN.mdx +0 -19
  555. package/docs/usage/features/theme.mdx +0 -28
  556. package/docs/usage/features/theme.zh-CN.mdx +0 -25
  557. package/docs/usage/features/tts.mdx +0 -40
  558. package/docs/usage/features/tts.zh-CN.mdx +0 -35
  559. package/docs/usage/features/vision.mdx +0 -20
  560. package/docs/usage/features/vision.zh-CN.mdx +0 -18
  561. package/docs/usage/foundation/basic.mdx +0 -43
  562. package/docs/usage/foundation/basic.zh-CN.mdx +0 -46
  563. package/docs/usage/foundation/share.mdx +0 -35
  564. package/docs/usage/foundation/share.zh-CN.mdx +0 -33
  565. package/docs/usage/foundation/text2image.mdx +0 -39
  566. package/docs/usage/foundation/text2image.zh-CN.mdx +0 -35
  567. package/docs/usage/foundation/translate.mdx +0 -30
  568. package/docs/usage/foundation/translate.zh-CN.mdx +0 -29
  569. package/docs/usage/foundation/tts-stt.mdx +0 -38
  570. package/docs/usage/foundation/tts-stt.zh-CN.mdx +0 -36
  571. package/docs/usage/foundation/vision.mdx +0 -36
  572. package/docs/usage/foundation/vision.zh-CN.mdx +0 -33
  573. package/docs/usage/plugins/basic-usage.mdx +0 -45
  574. package/docs/usage/plugins/basic-usage.zh-CN.mdx +0 -44
  575. package/docs/usage/plugins/custom-plugin.mdx +0 -37
  576. package/docs/usage/plugins/custom-plugin.zh-CN.mdx +0 -35
  577. package/docs/usage/plugins/development.mdx +0 -279
  578. package/docs/usage/plugins/store.mdx +0 -22
  579. package/docs/usage/plugins/store.zh-CN.mdx +0 -19
  580. package/docs/usage/tools-calling/anthropic.mdx +0 -152
  581. package/docs/usage/tools-calling/anthropic.zh-CN.mdx +0 -152
  582. package/docs/usage/tools-calling/google.mdx +0 -109
  583. package/docs/usage/tools-calling/google.zh-CN.mdx +0 -109
  584. package/docs/usage/tools-calling/groq.mdx +0 -10
  585. package/docs/usage/tools-calling/groq.zh-CN.mdx +0 -163
  586. package/docs/usage/tools-calling/moonshot.mdx +0 -10
  587. package/docs/usage/tools-calling/moonshot.zh-CN.mdx +0 -24
  588. package/docs/usage/tools-calling/openai.mdx +0 -114
  589. package/docs/usage/tools-calling/openai.zh-CN.mdx +0 -114
  590. package/docs/usage/tools-calling.mdx +0 -12
  591. package/docs/usage/tools-calling.zh-CN.mdx +0 -248
@@ -1,20 +1,20 @@
1
1
  ---
2
- title: 在 LobeChat 中使用腾讯云 API Key
3
- description: 学习如何在 LobeChat 中配置和使用腾讯云 AI 模型,获取 API 密钥并开始对话。
2
+ title: 在 LobeHub 中使用腾讯云 API Key
3
+ description: 学习如何在 LobeHub 中配置和使用腾讯云 AI 模型,获取 API 密钥并开始对话。
4
4
  tags:
5
- - LobeChat
5
+ - LobeHub
6
6
  - 腾讯云
7
7
  - API密钥
8
8
  - Web UI
9
9
  ---
10
10
 
11
- # 在 LobeChat 中使用腾讯云
11
+ # 在 LobeHub 中使用腾讯云
12
12
 
13
- <Image alt={'在 LobeChat 中使用腾讯云'} cover src={'https://github.com/user-attachments/assets/aa91ca54-65fc-4e33-8c76-999f0a5d2bee'} />
13
+ <Image alt={'在 LobeHub 中使用腾讯云'} cover src={'/blog/assetsf625540e8340bafe69ccbb89ad75707a.webp'} />
14
14
 
15
15
  [腾讯云(Tencent Cloud)](https://cloud.tencent.com/)是腾讯公司旗下的云计算服务品牌,专门为企业和开发者提供云计算服务。腾讯云提供了一系列 AI 大模型解决方案,通过这些工具可以稳定高效接入 AI 模型。
16
16
 
17
- 本文档将指导你如何在 LobeChat 中接入腾讯云的 AI 模型:
17
+ 本文档将指导你如何在 LobeHub 中接入腾讯云的 AI 模型:
18
18
 
19
19
  <Steps>
20
20
  ### 步骤一:获取腾讯云 API 密钥
@@ -23,27 +23,27 @@ tags:
23
23
  - 进入腾讯云控制台并导航至[知识引擎原子能力](https://console.cloud.tencent.com/lkeap)
24
24
  - 开通大模型知识引擎,开通过程需要实名认证
25
25
 
26
- <Image alt={'进入知识引擎原子能力页面'} inStep src={'https://github.com/user-attachments/assets/22e1a039-5e6e-4c40-8266-19821677618a'} />
26
+ <Image alt={'进入知识引擎原子能力页面'} inStep src={'/blog/assets89b45345c84f8b7c3bf4d554169689ac.webp'} />
27
27
 
28
28
  - 在`使用OpenAI SDK方式接入`选项中,点击 `创建 API Key` 按钮,创建一个新的 API Key
29
29
  - 在 `API key 管理` 中可以查看和管理已创建的 API Key
30
30
  - 复制并保存创建好的 API Key
31
31
 
32
- ### 步骤二:在 LobeChat 中配置腾讯云
32
+ ### 步骤二:在 LobeHub 中配置腾讯云
33
33
 
34
- - 访问 LobeChat 的 `应用设置` 的 `AI 服务供应商` 界面
34
+ - 访问 LobeHub 的 `应用设置` 的 `AI 服务供应商` 界面
35
35
  - 在供应商列表中找到 `腾讯云` 的设置项
36
36
 
37
- <Image alt={'填写腾讯云 API 密钥'} inStep src={'https://github.com/user-attachments/assets/a9de7780-d0cb-47d5-ad9c-fcbbec14b940'} />
37
+ <Image alt={'填写腾讯云 API 密钥'} inStep src={'/blog/assets79e8fff075490d2a4535590a02333316.webp'} />
38
38
 
39
39
  - 打开腾讯云服务商并填入获取的 API 密钥
40
40
  - 为你的助手选择一个腾讯云模型即可开始对话
41
41
 
42
- <Image alt={'选择腾讯云模型'} inStep src={'https://github.com/user-attachments/assets/162bc64e-0d34-4a4e-815a-028247b73143'} />
42
+ <Image alt={'选择腾讯云模型'} inStep src={'/blog/assets308f9fd45d0e8a140c1c18e6c92a1a57.webp'} />
43
43
 
44
44
  <Callout type={'warning'}>
45
45
  在使用过程中你可能需要向 API 服务提供商付费,请参考腾讯云的相关费用政策。
46
46
  </Callout>
47
47
  </Steps>
48
48
 
49
- 至此你已经可以在 LobeChat 中使用腾讯云提供的模型进行对话了。
49
+ 至此你已经可以在 LobeHub 中使用腾讯云提供的模型进行对话了。
@@ -1,50 +1,50 @@
1
1
  ---
2
- title: Using Together AI in LobeChat API Key
2
+ title: Using the Together AI API Key in LobeHub
3
3
  description: >-
4
- Learn how to integrate Together AI into LobeChat, obtain the API key, configure settings, and start conversations with AI models.
5
-
4
+ Learn how to configure and use the Together AI API key in LobeHub to start
5
+ chatting and interacting.
6
6
  tags:
7
+ - LobeHub
7
8
  - Together AI
8
- - API key
9
+ - API Key
9
10
  - Web UI
10
11
  ---
11
12
 
12
- # Using Together AI in LobeChat
13
+ # Using Together AI in LobeHub
13
14
 
14
- <Image alt={'Using Together AI in LobeChat'} cover src={'https://github.com/lobehub/lobe-chat/assets/34400653/28e025dd-367b-4add-85b6-499f4aacda61'} />
15
+ <Image alt={'Using Together AI in LobeHub'} cover src={'/blog/assets34400653/28e025dd-367b-4add-85b6-499f4aacda61.webp'} />
15
16
 
16
- [together.ai](https://www.together.ai/) is a platform focused on the field of Artificial Intelligence Generated Content (AIGC), founded in June 2022. It is dedicated to building a cloud platform for running, training, and fine-tuning open-source models, providing scalable computing power at prices lower than mainstream vendors.
17
+ [together.ai](https://www.together.ai/) is a platform focused on the field of generative AI (AIGC), founded in June 2022. It aims to build a cloud platform for running, training, and fine-tuning open-source models, offering scalable compute power at prices lower than mainstream providers.
17
18
 
18
- This document will guide you on how to use Together AI in LobeChat:
19
+ This guide will walk you through how to use Together AI in LobeHub:
19
20
 
20
21
  <Steps>
21
- ### Step 1: Obtain the API Key for Together AI
22
+ ### Step 1: Get Your Together AI API Key
22
23
 
23
24
  - Visit and log in to [Together AI API](https://api.together.ai/)
24
- - Upon initial login, the system will automatically create an API key for you and provide a $5.0 credit
25
+ - Upon your first login, the system will automatically generate an API key for you and grant you a $5.00 free credit
25
26
 
26
- <Image alt={'Obtain together.ai API key'} inStep src={'https://github.com/lobehub/lobe-chat/assets/34400653/fcdcda9b-8668-4eac-b5cb-04803a888e92'} />
27
+ <Image alt={'Get your Together AI API key'} inStep src={'/blog/assets34400653/fcdcda9b-8668-4eac-b5cb-04803a888e92.webp'} />
27
28
 
28
- - If you haven't saved it, you can also view the API key at any time in the `API Key` interface under `Settings`
29
+ - If you didn’t save it, you can always view it later under the API Key section in the Settings menu
29
30
 
30
- <Image alt={'View together.ai API key'} inStep src={'https://github.com/lobehub/lobe-chat/assets/34400653/663335d0-fb37-4882-9c7f-ebbd53275644'} />
31
+ <Image alt={'View your Together AI API key'} inStep src={'/blog/assets34400653/663335d0-fb37-4882-9c7f-ebbd53275644.webp'} />
31
32
 
32
- ### Step 2: Configure Together AI in LobeChat
33
+ ### Step 2: Configure Together AI in LobeHub
33
34
 
34
- - Visit the `Settings` interface in LobeChat
35
- - Find the setting for `together.ai` under `AI Service Provider`
35
+ - Go to the Settings page in LobeHub
36
+ - Under the AI Providers section, find the settings for together.ai
36
37
 
37
- <Image alt={'Enter Together AI API key in LobeChat'} inStep src={'https://github.com/lobehub/lobe-chat/assets/34400653/0cc6c9b8-4688-472b-a80f-f84c5ebbc719'} />
38
+ <Image alt={'Enter your Together AI API key in LobeHub'} inStep src={'/blog/assets34400653/0cc6c9b8-4688-472b-a80f-f84c5ebbc719.webp'} />
38
39
 
39
- - Open together.ai and enter the obtained API key
40
- - Choose a Together AI model for your assistant to start the conversation
40
+ - Enable together.ai and paste in your API key
41
+ - Choose a Together AI model for your assistant to start chatting
41
42
 
42
- <Image alt={'Select and use Together AI model'} inStep src={'https://github.com/lobehub/lobe-chat/assets/34400653/34d92da4-783f-4f16-8c4a-9d8e9a03c8da'} />
43
+ <Image alt={'Select and use a Together AI model'} inStep src={'/blog/assets34400653/34d92da4-783f-4f16-8c4a-9d8e9a03c8da.webp'} />
43
44
 
44
45
  <Callout type={'warning'}>
45
- During usage, you may need to pay the API service provider, please refer to Together AI's pricing
46
- policy.
46
+ You may need to pay for API usage depending on your usage. Please refer to Together AIs pricing policy for more details.
47
47
  </Callout>
48
48
  </Steps>
49
49
 
50
- You can now engage in conversations using the models provided by Together AI in LobeChat.
50
+ And that’s it! You’re now ready to use Together AI models for conversations in LobeHub.
@@ -1,20 +1,20 @@
1
1
  ---
2
- title: 在 LobeChat 中使用 Together AI API Key
3
- description: 学习如何在 LobeChat 中配置和使用 Together AI 的API Key,以便开始对话和交互。
2
+ title: 在 LobeHub 中使用 Together AI API Key
3
+ description: 学习如何在 LobeHub 中配置和使用 Together AI 的API Key,以便开始对话和交互。
4
4
  tags:
5
- - LobeChat
5
+ - LobeHub
6
6
  - Together AI
7
7
  - API密钥
8
8
  - Web UI
9
9
  ---
10
10
 
11
- # 在 LobeChat 中使用 Together AI
11
+ # 在 LobeHub 中使用 Together AI
12
12
 
13
- <Image alt={'在 LobeChat 中使用 Together AI'} cover src={'https://github.com/lobehub/lobe-chat/assets/34400653/28e025dd-367b-4add-85b6-499f4aacda61'} />
13
+ <Image alt={'在 LobeHub 中使用 Together AI'} cover src={'/blog/assets34400653/28e025dd-367b-4add-85b6-499f4aacda61.webp'} />
14
14
 
15
15
  [together.ai](https://www.together.ai/) 是一家专注于生成式人工智能 (AIGC) 领域的平台,成立于 2022 年 6 月。 它致力于构建用于运行、训练和微调开源模型的云平台,以低于主流供应商的价格提供可扩展的计算能力。
16
16
 
17
- 本文档将指导你如何在 LobeChat 中使用 Together AI:
17
+ 本文档将指导你如何在 LobeHub 中使用 Together AI:
18
18
 
19
19
  <Steps>
20
20
  ### 步骤一:获取 Together AI 的 API 密钥
@@ -22,27 +22,27 @@ tags:
22
22
  - 访问并登录 [Together AI API](https://api.together.ai/)
23
23
  - 初次登录时系统会自动为你创建好 API 密钥并赠送 $5.0 的额度
24
24
 
25
- <Image alt={'获得 together.ai API 密钥'} inStep src={'https://github.com/lobehub/lobe-chat/assets/34400653/fcdcda9b-8668-4eac-b5cb-04803a888e92'} />
25
+ <Image alt={'获得 together.ai API 密钥'} inStep src={'/blog/assets34400653/fcdcda9b-8668-4eac-b5cb-04803a888e92.webp'} />
26
26
 
27
27
  - 如果你没有保存,也可以在后续任意时间,通过 `设置` 中的 `API 密钥` 界面查看
28
28
 
29
- <Image alt={'查看 together.ai API 密钥'} inStep src={'https://github.com/lobehub/lobe-chat/assets/34400653/663335d0-fb37-4882-9c7f-ebbd53275644'} />
29
+ <Image alt={'查看 together.ai API 密钥'} inStep src={'/blog/assets34400653/663335d0-fb37-4882-9c7f-ebbd53275644.webp'} />
30
30
 
31
- ### 步骤二:在 LobeChat 中配置 Together AI
31
+ ### 步骤二:在 LobeHub 中配置 Together AI
32
32
 
33
- - 访问 LobeChat 的`设置`界面
33
+ - 访问 LobeHub 的`设置`界面
34
34
  - 在`AI 服务商`下找到`together.ai`的设置项
35
35
 
36
- <Image alt={'LobeChat 中填写 Together AI API 密钥'} inStep src={'https://github.com/lobehub/lobe-chat/assets/34400653/0cc6c9b8-4688-472b-a80f-f84c5ebbc719'} />
36
+ <Image alt={'LobeHub 中填写 Together AI API 密钥'} inStep src={'/blog/assets34400653/0cc6c9b8-4688-472b-a80f-f84c5ebbc719.webp'} />
37
37
 
38
38
  - 打开 together.ai 并填入获得的 API 密钥
39
39
  - 为你的助手选择一个 Together AI 的模型即可开始对话
40
40
 
41
- <Image alt={' 选择并使用 Together AI 模型 '} inStep src={'https://github.com/lobehub/lobe-chat/assets/34400653/34d92da4-783f-4f16-8c4a-9d8e9a03c8da'} />
41
+ <Image alt={' 选择并使用 Together AI 模型 '} inStep src={'/blog/assets34400653/34d92da4-783f-4f16-8c4a-9d8e9a03c8da.webp'} />
42
42
 
43
43
  <Callout type={'warning'}>
44
44
  在使用过程中你可能需要向 API 服务提供商付费,请参考 Together AI 的费用政策。
45
45
  </Callout>
46
46
  </Steps>
47
47
 
48
- 至此你已经可以在 LobeChat 中使用 Together AI 提供的模型进行对话了。
48
+ 至此你已经可以在 LobeHub 中使用 Together AI 提供的模型进行对话了。
@@ -1,47 +1,48 @@
1
1
  ---
2
- title: Using Upstage in LobeChat
3
- description: Learn how to integrate and utilize Upstage's language model APIs in LobeChat.
2
+ title: Using Upstage in LobeHub
3
+ description: >-
4
+ Learn how to configure and use Upstage's API Key in LobeHub to start
5
+ conversations and interactions.
4
6
  tags:
5
- - LobeChat
7
+ - LobeHub
6
8
  - Upstage
7
9
  - API Key
8
10
  - Web UI
9
11
  ---
10
12
 
11
- # Using Upstage in LobeChat
13
+ # Using Upstage in LobeHub
12
14
 
13
- <Image cover src={'https://github.com/user-attachments/assets/14696698-03f7-4856-b36c-9a53997eb12c'} />
15
+ <Image cover src={'/blog/assets710bf5a4704e520976b19dd2466fa56a.webp'} />
14
16
 
15
- [Upstage](https://www.upstage.ai/) is a platform that offers AI models and services, focusing on applications in natural language processing and machine learning. It allows developers to access its powerful AI capabilities through APIs, supporting various tasks such as text generation and conversational systems.
17
+ [Upstage](https://www.upstage.ai/) is a platform that provides AI models and services, with a focus on natural language processing and machine learning applications. It allows developers to integrate powerful AI capabilities via API, supporting a variety of tasks such as text generation, conversational systems, and more.
16
18
 
17
- This article will guide you on how to use Upstage in LobeChat.
19
+ This guide will walk you through how to use Upstage within LobeHub.
18
20
 
19
21
  <Steps>
20
- ### Step 1: Obtain an Upstage API Key
22
+ ### Step 1: Obtain an API Key from Upstage
21
23
 
22
- - Register and log in to the [Upstage Console](https://console.upstage.ai/home)
23
- - Navigate to the `API Keys` page
24
+ - Sign up and log in to the [Upstage Console](https://console.upstage.ai/home)
25
+ - Navigate to the `API Keys` section
24
26
  - Create a new API key
25
- - Copy and save the generated API key
27
+ - Copy and securely save the generated API key
26
28
 
27
- <Image alt={'Save the API Key'} inStep src={'https://github.com/user-attachments/assets/8a0225e0-16ed-40ce-9cd5-553dda561679'} />
29
+ <Image alt={'Save your API key'} inStep src={'/blog/assets74fbd94a0dc865d2178954662dc964ae.webp'} />
28
30
 
29
- ### Step 2: Configure Upstage in LobeChat
31
+ ### Step 2: Configure Upstage in LobeHub
30
32
 
31
- - Access the `Settings` interface in LobeChat
32
- - Locate the `Upstage` settings under `AI Service Provider`
33
+ - Go to the `Settings` page in LobeHub
34
+ - Under `AI Providers`, locate the `Upstage` configuration section
33
35
 
34
- <Image alt={'Enter API Key'} inStep src={'https://github.com/user-attachments/assets/e89d2a56-4bf0-4bff-ac39-0d44789fa858'} />
36
+ <Image alt={'Enter your API key'} inStep src={'/blog/assets9f6d4113be26efbcab41d83ed39dcb14.webp'} />
35
37
 
36
- - Enter the obtained API key
37
- - Select an Upstage model for your AI assistant to start the conversation
38
+ - Paste the API key you obtained earlier
39
+ - Choose an Upstage model for your AI assistant to start chatting
38
40
 
39
- <Image alt={'Select Upstage Model and Start Conversation'} inStep src={'https://github.com/user-attachments/assets/88e14294-20a6-47c6-981e-fb65453b57cd'} />
41
+ <Image alt={'Select an Upstage model and start chatting'} inStep src={'/blog/assets6ef9f3f3627633bb5282fe9df1d31a4a.webp'} />
40
42
 
41
43
  <Callout type={'warning'}>
42
- Please note that you may need to pay the API service provider for usage. Refer to Upstage's
43
- pricing policy for more information.
44
+ You may need to pay for API usage depending on your usage level. Please refer to Upstages pricing policy for more details.
44
45
  </Callout>
45
46
  </Steps>
46
47
 
47
- You can now use the models provided by Upstage for conversations in LobeChat.
48
+ And that’s it! You’re now ready to use Upstage’s models for conversations in LobeHub.
@@ -1,20 +1,20 @@
1
1
  ---
2
- title: 在 LobeChat 中使用 Upstage
3
- description: 学习如何在 LobeChat 中配置和使用 Upstage 的API Key,以便开始对话和交互。
2
+ title: 在 LobeHub 中使用 Upstage
3
+ description: 学习如何在 LobeHub 中配置和使用 Upstage 的API Key,以便开始对话和交互。
4
4
  tags:
5
- - LobeChat
5
+ - LobeHub
6
6
  - Upstage
7
7
  - API密钥
8
8
  - Web UI
9
9
  ---
10
10
 
11
- # 在 LobeChat 中使用 Upstage
11
+ # 在 LobeHub 中使用 Upstage
12
12
 
13
- <Image cover src={'https://github.com/user-attachments/assets/14696698-03f7-4856-b36c-9a53997eb12c'} />
13
+ <Image cover src={'/blog/assets710bf5a4704e520976b19dd2466fa56a.webp'} />
14
14
 
15
15
  [Upstage](https://www.upstage.ai/) 是一个提供 AI 模型和服务的平台,专注于自然语言处理和机器学习应用。它允许开发者通过 API 接入其强大的 AI 功能,支持多种任务,如文本生成、对话系统等。
16
16
 
17
- 本文将指导你如何在 LobeChat 中使用 Upstage。
17
+ 本文将指导你如何在 LobeHub 中使用 Upstage。
18
18
 
19
19
  <Steps>
20
20
  ### 步骤一:获得 Upstage 的 API Key
@@ -24,23 +24,23 @@ tags:
24
24
  - 创建一个新的 API 密钥
25
25
  - 复制并保存生成的 API 密钥
26
26
 
27
- <Image alt={'保存 API 密钥'} inStep src={'https://github.com/user-attachments/assets/8a0225e0-16ed-40ce-9cd5-553dda561679'} />
27
+ <Image alt={'保存 API 密钥'} inStep src={'/blog/assets74fbd94a0dc865d2178954662dc964ae.webp'} />
28
28
 
29
- ### 步骤二:在 LobeChat 中配置 Upstage
29
+ ### 步骤二:在 LobeHub 中配置 Upstage
30
30
 
31
- - 访问 LobeChat 的`设置`界面
31
+ - 访问 LobeHub 的`设置`界面
32
32
  - 在`AI 服务商`下找到 `Upstage` 的设置项
33
33
 
34
- <Image alt={'填入 API 密钥'} inStep src={'https://github.com/user-attachments/assets/e89d2a56-4bf0-4bff-ac39-0d44789fa858'} />
34
+ <Image alt={'填入 API 密钥'} inStep src={'/blog/assets9f6d4113be26efbcab41d83ed39dcb14.webp'} />
35
35
 
36
36
  - 填入获得的 API 密钥
37
37
  - 为你的 AI 助手选择一个 Upstage 的模型即可开始对话
38
38
 
39
- <Image alt={'选择 Upstage 模型并开始对话'} inStep src={'https://github.com/user-attachments/assets/88e14294-20a6-47c6-981e-fb65453b57cd'} />
39
+ <Image alt={'选择 Upstage 模型并开始对话'} inStep src={'/blog/assets6ef9f3f3627633bb5282fe9df1d31a4a.webp'} />
40
40
 
41
41
  <Callout type={'warning'}>
42
42
  在使用过程中你可能需要向 API 服务提供商付费,请参考 Upstage 的相关费用政策。
43
43
  </Callout>
44
44
  </Steps>
45
45
 
46
- 至此你已经可以在 LobeChat 中使用 Upstage 提供的模型进行对话了。
46
+ 至此你已经可以在 LobeHub 中使用 Upstage 提供的模型进行对话了。
@@ -1,59 +1,57 @@
1
1
  ---
2
- title: Using Vercel AI Gateway in LobeChat
3
- description: >-
4
- Learn how to integrate and utilize Vercel AI Gateway's unified API in LobeChat.
5
-
2
+ title: Using Vercel AI Gateway in LobeHub
3
+ description: Learn how to integrate and use the unified API of Vercel AI Gateway in LobeHub
6
4
  tags:
7
- - LobeChat
5
+ - LobeHub
8
6
  - Vercel AI Gateway
9
7
  - API Key
10
- - Web UI
8
+ - Web Interface
11
9
  ---
12
10
 
13
- # Using Vercel AI Gateway in LobeChat
11
+ # Using Vercel AI Gateway in LobeHub
14
12
 
15
- [Vercel AI Gateway](https://vercel.com/ai-gateway) is a unified API that provides access to 100+ AI models through a single endpoint. It offers features like budget management, usage monitoring, load balancing, and fallback handling.
13
+ [Vercel AI Gateway](https://vercel.com/ai-gateway) is a unified API that provides access to over 100 AI models through a single endpoint. It offers features such as budget management, usage monitoring, load balancing, and fallback handling.
16
14
 
17
- This article will guide you on how to use Vercel AI Gateway in LobeChat.
15
+ This guide will walk you through how to use Vercel AI Gateway within LobeHub.
18
16
 
19
17
  <Steps>
20
18
  ### Step 1: Create an API Key in Vercel AI Gateway
21
19
 
22
- - Go to [Vercel Dashboard](https://vercel.com/dashboard)
23
- - Click on the **AI Gateway** tab on the left side
24
- - Click on **API keys** in the left sidebar
25
- - Click **Create key** and then **Create key** in the dialog to complete
20
+ - Go to the [Vercel Dashboard](https://vercel.com/dashboard)
21
+ - Click on the **AI Gateway** tab on the left sidebar
22
+ - Select **API Keys** from the sidebar
23
+ - Click **Create Key**, then confirm by clicking **Create Key** in the dialog
26
24
 
27
- ### Step 2: Configure Vercel AI Gateway in LobeChat
25
+ ### Step 2: Configure Vercel AI Gateway in LobeHub
28
26
 
29
- - Go to the `Settings` page in LobeChat
30
- - Under `AI Service Provider`, find the setting for `Vercel AI Gateway`
31
- - Enter the API Key you obtained
32
- - Choose a model from Vercel AI Gateway for your AI assistant to start the conversation
27
+ - Navigate to the `Settings` page in LobeHub
28
+ - Under `AI Service Provider`, find the `Vercel AI Gateway` section
29
+ - Enter the API key you obtained
30
+ - Choose a model from Vercel AI Gateway and start chatting with the AI assistant
33
31
 
34
32
  <Callout type={'warning'}>
35
- During usage, you may need to pay the API service provider, so please refer to Vercel AI Gateway's
36
- [pricing policy](https://vercel.com/docs/ai-gateway/models).
33
+ You may incur charges from the API service provider during usage. Please refer to the
34
+ [Vercel AI Gateway pricing policy](https://vercel.com/docs/ai-gateway/models) for details.
37
35
  </Callout>
38
36
  </Steps>
39
37
 
40
- At this point, you can start chatting using the models provided by Vercel AI Gateway in LobeChat.
38
+ That's it! You can now start chatting in LobeHub using models provided by Vercel AI Gateway.
41
39
 
42
40
  ## Model Selection
43
41
 
44
- Vercel AI Gateway supports various model providers including:
42
+ Vercel AI Gateway supports a variety of model providers, including:
45
43
 
46
- - **OpenAI**: `openai/gpt-4o`, `openai/gpt-4o-mini`, `openai/o1`, etc.
47
- - **Anthropic**: `anthropic/claude-3-5-sonnet`, `anthropic/claude-3-opus`, etc.
48
- - **Google**: `google/gemini-2.5-pro`, `google/gemini-2.0-flash`, etc.
49
- - **DeepSeek**: `deepseek/deepseek-chat`, `deepseek/deepseek-reasoner`, etc.
50
- - And many more...
44
+ - **OpenAI**: `openai/gpt-4o`, `openai/gpt-4o-mini`, `openai/o1`, and more
45
+ - **Anthropic**: `anthropic/claude-3-5-sonnet`, `anthropic/claude-3-opus`, and more
46
+ - **Google**: `google/gemini-2.5-pro`, `google/gemini-2.0-flash`, and more
47
+ - **DeepSeek**: `deepseek/deepseek-chat`, `deepseek/deepseek-reasoner`, and more
48
+ - And many others...
51
49
 
52
- For a complete list of supported models, visit [Vercel AI Gateway Models](https://vercel.com/ai-gateway/models).
50
+ To view the full list of supported models, visit the [Vercel AI Gateway Models](https://vercel.com/ai-gateway/models) page.
53
51
 
54
52
  ## API Configuration
55
53
 
56
- Vercel AI Gateway uses OpenAI-compatible API format. The base URL is:
54
+ Vercel AI Gateway uses an OpenAI-compatible API format. The base URL is:
57
55
 
58
56
  ```
59
57
  https://ai-gateway.vercel.sh/v1
@@ -1,19 +1,18 @@
1
1
  ---
2
- title: 在 LobeChat 中使用 Vercel AI Gateway
3
- description: 了解如何在 LobeChat 中集成和使用 Vercel AI Gateway 的统一 API
4
-
2
+ title: 在 LobeHub 中使用 Vercel AI Gateway
3
+ description: 了解如何在 LobeHub 中集成和使用 Vercel AI Gateway 的统一 API
5
4
  tags:
6
- - LobeChat
5
+ - LobeHub
7
6
  - Vercel AI Gateway
8
7
  - API 密钥
9
8
  - Web 界面
10
9
  ---
11
10
 
12
- # 在 LobeChat 中使用 Vercel AI Gateway
11
+ # 在 LobeHub 中使用 Vercel AI Gateway
13
12
 
14
13
  [Vercel AI Gateway](https://vercel.com/ai-gateway) 是一个统一的 API,通过单一端点提供对 100+ AI 模型的访问。它提供预算管理、使用监控、负载均衡和回退处理等功能。
15
14
 
16
- 本文将指导您如何在 LobeChat 中使用 Vercel AI Gateway。
15
+ 本文将指导您如何在 LobeHub 中使用 Vercel AI Gateway。
17
16
 
18
17
  <Steps>
19
18
  ### 第一步:在 Vercel AI Gateway 中创建 API 密钥
@@ -23,9 +22,9 @@ tags:
23
22
  - 点击左侧边栏的 **API 密钥**
24
23
  - 点击 **创建密钥**,然后在对话框中点击 **创建密钥** 完成创建
25
24
 
26
- ### 第二步:在 LobeChat 中配置 Vercel AI Gateway
25
+ ### 第二步:在 LobeHub 中配置 Vercel AI Gateway
27
26
 
28
- - 进入 LobeChat 的 `设置` 页面
27
+ - 进入 LobeHub 的 `设置` 页面
29
28
  - 在 `AI 服务提供商` 下,找到 `Vercel AI Gateway` 设置
30
29
  - 输入您获得的 API 密钥
31
30
  - 选择 Vercel AI Gateway 的模型,开始与 AI 助手对话
@@ -36,7 +35,7 @@ tags:
36
35
  </Callout>
37
36
  </Steps>
38
37
 
39
- 至此,您可以在 LobeChat 中使用 Vercel AI Gateway 提供的模型开始聊天了。
38
+ 至此,您可以在 LobeHub 中使用 Vercel AI Gateway 提供的模型开始聊天了。
40
39
 
41
40
  ## 模型选择
42
41
 
@@ -1,59 +1,61 @@
1
1
  ---
2
- title: Using Vertex AI API Key in LobeChat
3
- description: Learn how to configure and use Vertex AI models in LobeChat, get an API key, and start a conversation.
2
+ title: Using Vertex AI API Key in LobeHub
3
+ description: >-
4
+ Learn how to configure and use Vertex AI models in LobeHub, obtain your API
5
+ key, and start chatting.
4
6
  tags:
5
- - LobeChat
7
+ - LobeHub
6
8
  - Vertex AI
7
9
  - API Key
8
10
  - Web UI
9
11
  ---
10
12
 
11
- # Using Vertex AI in LobeChat
13
+ # Using Vertex AI in LobeHub
12
14
 
13
- <Image alt={'Using Vertex AI in LobeChat'} cover src={'https://github.com/user-attachments/assets/638dcd7c-2bff-4adb-bade-da2aaef872bf'} />
15
+ <Image alt={'Using Vertex AI in LobeHub'} cover src={'/blog/assets95e6fe7c19ebfb9ead1c5a267aaf2a4e.webp'} />
14
16
 
15
- [Vertex AI](https://cloud.google.com/vertex-ai) is a fully managed, integrated AI development platform from Google Cloud, designed for building and deploying generative AI. It provides easy access to Vertex AI Studio, Agent Builder, and over 160 foundational models for AI development.
17
+ [Vertex AI](https://cloud.google.com/vertex-ai) is a fully managed, integrated AI development platform from Google Cloud, designed for building and deploying generative AI applications. It provides easy access to Vertex AI Studio, Agent Builder, and over 160 foundation models for your AI development needs.
16
18
 
17
- This document will guide you on how to connect Vertex AI models in LobeChat:
19
+ This guide will walk you through how to integrate Vertex AI models into LobeHub:
18
20
 
19
21
  <Steps>
20
- ### Step 1: Prepare a Vertex AI Project
22
+ ### Step 1: Set Up Your Vertex AI Project
21
23
 
22
- - First, visit [Google Cloud](https://console.cloud.google.com/) and complete the registration and login process.
24
+ - First, visit the [Google Cloud Console](https://console.cloud.google.com/) and sign in or create an account.
23
25
  - Create a new Google Cloud project or select an existing one.
24
- - Go to the [Vertex AI Console](https://console.cloud.google.com/vertex-ai).
25
- - Ensure that the Vertex AI API service is enabled for the project.
26
+ - Navigate to the [Vertex AI Console](https://console.cloud.google.com/vertex-ai).
27
+ - Ensure that the Vertex AI API is enabled for your project.
26
28
 
27
- <Image alt={'Accessing Vertex AI'} inStep src={'https://github.com/user-attachments/assets/c4fe4430-7860-4339-b014-4d8d264a12c0'} />
29
+ <Image alt={'Accessing Vertex AI'} inStep src={'/blog/assets87010372bdf39890a7478a7a8cd4a9f0.webp'} />
28
30
 
29
- ### Step 2: Set Up API Access Permissions
31
+ ### Step 2: Configure API Access
30
32
 
31
- - Go to the Google Cloud [IAM Management page](https://console.cloud.google.com/iam-admin/serviceaccounts) and navigate to `Service Accounts`.
32
- - Create a new service account and assign a role permission to it, such as `Vertex AI User`.
33
+ - Go to the [IAM & Admin Service Accounts page](https://console.cloud.google.com/iam-admin/serviceaccounts) in Google Cloud and navigate to the "Service Accounts" section.
34
+ - Create a new service account and assign it a role such as Vertex AI User.
33
35
 
34
- <Image alt={'Creating a Service Account'} inStep src={'https://github.com/user-attachments/assets/692e7c67-f173-45da-86ef-5c69e17988e4'} />
36
+ <Image alt={'Creating a Service Account'} inStep src={'/blog/assets6b01801b405c366fa4ebe683a77f289d.webp'} />
35
37
 
36
- - On the service account management page, find the service account you just created, click `Keys`, and create a new JSON format key.
37
- - After successful creation, the key file will be automatically saved to your computer in JSON format. Please keep it safe.
38
+ - In the service account management page, find the newly created account, click on "Keys", and generate a new key in JSON format.
39
+ - Once created, the key file will be automatically downloaded to your computer. Be sure to store it securely.
38
40
 
39
- <Image alt={'Creating a Key'} inStep src={'https://github.com/user-attachments/assets/1fb5df18-5261-483e-a445-96f52f80dd20'} />
41
+ <Image alt={'Creating a Key'} inStep src={'/blog/assets69146738e31a47ac6425070208ebd906.webp'} />
40
42
 
41
- ### Step 3: Configure Vertex AI in LobeChat
43
+ ### Step 3: Configure Vertex AI in LobeHub
42
44
 
43
- - Visit the `App Settings` and then the `AI Service Provider` interface in LobeChat.
44
- - Find the settings item for `Vertex AI` in the list of providers.
45
+ - Open LobeHub and go to the App Settings > AI Service Providers section.
46
+ - Find the Vertex AI option in the list of providers.
45
47
 
46
- <Image alt={'Entering Vertex AI API Key'} inStep src={'https://github.com/user-attachments/assets/5d672e8b-566f-4f82-bdce-947168726bc0'} />
48
+ <Image alt={'Entering Vertex AI API Key'} inStep src={'/blog/assetsd89998edb6b2dc8311d8d86664d5cd4d.webp'} />
47
49
 
48
- - Open the Vertex AI service provider settings.
49
- - Fill the entire content of the JSON format key you just obtained into the API Key field.
50
- - Select a Vertex AI model for your assistant to start the conversation.
50
+ - Open the Vertex AI provider settings.
51
+ - Paste the entire contents of the JSON key file into the API Key field.
52
+ - Choose a Vertex AI model for your assistant to start chatting.
51
53
 
52
- <Image alt={'Selecting a Vertex AI Model'} inStep src={'https://github.com/user-attachments/assets/1a7e9600-cd0f-4c82-9d32-4e61bbb351cc'} />
54
+ <Image alt={'Selecting a Vertex AI Model'} inStep src={'/blog/assets5997a6461e20103f5bc9d6b78b872833.webp'} />
53
55
 
54
56
  <Callout type={'warning'}>
55
- You may need to pay the API service provider during usage. Please refer to Google Cloud's relevant fee policies.
57
+ You may incur charges when using the API services. Please refer to Google Clouds pricing documentation for more details.
56
58
  </Callout>
57
59
  </Steps>
58
60
 
59
- Now you can use the models provided by Vertex AI for conversations in LobeChat.
61
+ You're all set! You can now start using Vertex AI models in LobeHub for your conversations.