@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,50 +1,49 @@
1
1
  ---
2
- title: Using Google Gemma Model in LobeChat
2
+ title: Using the Google Gemma Model in LobeHub
3
3
  description: >-
4
- Learn how to integrate and utilize Google Gemma in LobeChat, an open-source large language model, in LobeChat with the help of Ollama. Follow these steps to pull and select the Gemma model for natural language processing tasks.
5
-
4
+ Easily perform natural language processing tasks with the Google Gemma model
5
+ through LobeHub's integration with Ollama. Install Ollama, pull the Gemma
6
+ model, select it from the model panel, and start chatting.
6
7
  tags:
7
8
  - Google Gemma
8
- - LobeChat
9
+ - LobeHub
9
10
  - Ollama
10
11
  - Natural Language Processing
11
- - Language Model
12
+ - Model Selection
12
13
  ---
13
14
 
14
- # Using Google Gemma Model
15
+ # Using the Google Gemma Model
15
16
 
16
- <Image alt={'Using Gemma in LobeChat'} cover src={'https://github.com/lobehub/lobe-chat/assets/17870709/65d2dd2a-fdcf-4f3f-a6af-4ed5164a510d'} />
17
+ <Image alt={'Using Gemma in LobeHub'} cover rounded src={'/blog/assets17870709/65d2dd2a-fdcf-4f3f-a6af-4ed5164a510d.webp'} />
17
18
 
18
- [Gemma](https://blog.google/technology/developers/gemma-open-models/) is an open-source large language model (LLM) from Google, designed to provide a more general and flexible model for various natural language processing tasks. Now, with the integration of LobeChat and [Ollama](https://ollama.com/), you can easily use Google Gemma in LobeChat.
19
+ [Gemma](https://blog.google/technology/developers/gemma-open-models/) is an open-source large language model (LLM) developed by Google. It is designed to be a general-purpose and flexible model for a wide range of natural language processing (NLP) tasks. Now, thanks to LobeHub’s integration with [Ollama](https://ollama.com/), you can easily use Google Gemma directly within LobeHub.
19
20
 
20
- This document will guide you on how to use Google Gemma in LobeChat:
21
+ This guide will walk you through how to use the Google Gemma model in LobeHub:
21
22
 
22
23
  <Steps>
23
- ### Install Ollama locally
24
+ ### Install Ollama Locally
24
25
 
25
- First, you need to install Ollama. For the installation process, please refer to the [Ollama usage documentation](/docs/usage/providers/ollama).
26
+ First, you’ll need to install Ollama. For installation instructions, refer to the [Ollama usage guide](/en/docs/usage/providers/ollama).
26
27
 
27
- ### Pull Google Gemma model to local using Ollama
28
+ ### Pull the Google Gemma Model Using Ollama
28
29
 
29
- After installing Ollama, you can install the Google Gemma model using the following command, using the 7b model as an example:
30
+ Once Ollama is installed, you can pull the Google Gemma model locally. For example, to pull the 7b model, run the following command:
30
31
 
31
32
  ```bash
32
33
  ollama pull gemma
33
34
  ```
34
35
 
35
- <Image alt={'Pulling Gemma model using Ollama'} height={473} inStep src={'https://github.com/lobehub/lobe-chat/assets/28616219/7049a811-a08b-45d3-8491-970f579c2ebd'} width={791} />
36
+ <Image alt={'Pulling the Gemma model using Ollama'} height={473} inStep src={'/blog/assets28616219/7049a811-a08b-45d3-8491-970f579c2ebd.webp'} width={791} />
36
37
 
37
- ### Select Gemma model
38
+ ### Select the Gemma Model
38
39
 
39
- In the session page, open the model panel and then select the Gemma model.
40
+ In the chat interface, open the model selection panel and choose the Gemma model.
40
41
 
41
- <Image alt={'Selecting Gemma model in the model selection panel'} height={629} inStep src={'https://github.com/lobehub/lobe-chat/assets/28616219/c91d0c18-a21f-41f6-b5cc-94d29faeb797'} width={791} />
42
+ <Image alt={'Selecting the Gemma model in the model panel'} height={629} inStep src={'/blog/assets28616219/69414c79-642e-4323-9641-bfa43a74fcc8.webp'} width={791} />
42
43
 
43
44
  <Callout type={'info'}>
44
- If you do not see the Ollama provider in the model selection panel, please refer to [Integrating
45
- with Ollama](/docs/self-hosting/examples/ollama) to learn how to enable the Ollama provider in
46
- LobeChat.
45
+ If you don’t see the Ollama provider in the model selection panel, refer to the [Ollama Integration Guide](/en/docs/self-hosting/examples/ollama) to learn how to enable the Ollama provider in LobeHub.
47
46
  </Callout>
48
47
  </Steps>
49
48
 
50
- Now, you can start conversing with the local Gemma model using LobeChat.
49
+ You’re all set! You can now start chatting with the local Gemma model directly in LobeHub.
@@ -1,11 +1,11 @@
1
1
  ---
2
- title: 在 LobeChat 中使用 Google Gemma 模型
2
+ title: 在 LobeHub 中使用 Google Gemma 模型
3
3
  description: >-
4
- 通过 LobeChat 与 Ollama 的集成,轻松使用 Google Gemma 模型进行自然语言处理任务。安装 Ollama,拉取 Gemma 模型,选择模型面板中的 Gemma 模型,开始对话。
5
-
4
+ 通过 LobeHub 与 Ollama 的集成,轻松使用 Google Gemma 模型进行自然语言处理任务。安装 Ollama,拉取 Gemma
5
+ 模型,选择模型面板中的 Gemma 模型,开始对话。
6
6
  tags:
7
7
  - Google Gemma
8
- - LobeChat
8
+ - LobeHub
9
9
  - Ollama
10
10
  - 自然语言处理
11
11
  - 模型选择
@@ -13,11 +13,11 @@ tags:
13
13
 
14
14
  # 使用 Google Gemma 模型
15
15
 
16
- <Image alt={'在 LobeChat 中使用 Gemma'} cover rounded src={'https://github.com/lobehub/lobe-chat/assets/17870709/65d2dd2a-fdcf-4f3f-a6af-4ed5164a510d'} />
16
+ <Image alt={'在 LobeHub 中使用 Gemma'} cover rounded src={'/blog/assets17870709/65d2dd2a-fdcf-4f3f-a6af-4ed5164a510d.webp'} />
17
17
 
18
- [Gemma](https://blog.google/technology/developers/gemma-open-models/) 是 Google 开源的一款大语言模型(LLM),旨在提供一个更加通用、灵活的模型用于各种自然语言处理任务。现在,通过 LobeChat 与 [Ollama](https://ollama.com/) 的集成,你可以轻松地在 LobeChat 中使用 Google Gemma。
18
+ [Gemma](https://blog.google/technology/developers/gemma-open-models/) 是 Google 开源的一款大语言模型(LLM),旨在提供一个更加通用、灵活的模型用于各种自然语言处理任务。现在,通过 LobeHub 与 [Ollama](https://ollama.com/) 的集成,你可以轻松地在 LobeHub 中使用 Google Gemma。
19
19
 
20
- 本文档将指导你如何在 LobeChat 中使用 Google Gemma:
20
+ 本文档将指导你如何在 LobeHub 中使用 Google Gemma:
21
21
 
22
22
  <Steps>
23
23
  ### 本地安装 Ollama
@@ -32,18 +32,18 @@ tags:
32
32
  ollama pull gemma
33
33
  ```
34
34
 
35
- <Image alt={'使用 Ollama 拉取 Gemma 模型'} height={473} inStep src={'https://github.com/lobehub/lobe-chat/assets/28616219/7049a811-a08b-45d3-8491-970f579c2ebd'} width={791} />
35
+ <Image alt={'使用 Ollama 拉取 Gemma 模型'} height={473} inStep src={'/blog/assets28616219/7049a811-a08b-45d3-8491-970f579c2ebd.webp'} width={791} />
36
36
 
37
37
  ### 选择 Gemma 模型
38
38
 
39
39
  在会话页面中,选择模型面板打开,然后选择 Gemma 模型。
40
40
 
41
- <Image alt={'模型选择面板中选择 Gemma 模型'} height={629} inStep src={'https://github.com/lobehub/lobe-chat/assets/28616219/69414c79-642e-4323-9641-bfa43a74fcc8'} width={791} />
41
+ <Image alt={'模型选择面板中选择 Gemma 模型'} height={629} inStep src={'/blog/assets28616219/69414c79-642e-4323-9641-bfa43a74fcc8.webp'} width={791} />
42
42
 
43
43
  <Callout type={'info'}>
44
44
  如果你没有在模型选择面板中看到 Ollama 服务商,请查阅 [与 Ollama
45
- 集成](/zh/docs/self-hosting/examples/ollama) 了解如何在 LobeChat 中开启 Ollama 服务商。
45
+ 集成](/zh/docs/self-hosting/examples/ollama) 了解如何在 LobeHub 中开启 Ollama 服务商。
46
46
  </Callout>
47
47
  </Steps>
48
48
 
49
- 接下来,你就可以使用 LobeChat 与本地 Gemma 模型对话了。
49
+ 接下来,你就可以使用 LobeHub 与本地 Gemma 模型对话了。
@@ -1,54 +1,52 @@
1
1
  ---
2
- title: Using Local Qwen Model in LobeChat
3
- description: 通过LobeChat和Ollama的集成,您可以轻松在LobeChat中使用Qwen。本文将指导您如何在LobeChat中使用本地部署版本的Qwen。
2
+ title: Using the Local Qwen Model in LobeHub
3
+ description: >-
4
+ Easily chat with the locally deployed Qwen model through LobeHub's integration
5
+ with Ollama. Learn how to install and select the Qwen model.
4
6
  tags:
5
7
  - Qwen
6
- - LobeChat
8
+ - Qwen Model
9
+ - LobeHub Integration
7
10
  - Ollama
8
- - 本地部署
9
- - AI大模型
11
+ - Local Deployment
10
12
  ---
11
13
 
12
14
  # Using the Local Qwen Model
13
15
 
14
- <Image alt={'Using Qwen in LobeChat'} cover src={'https://github.com/lobehub/lobe-chat/assets/17870709/b4a01219-e7b1-48a0-888c-f0271b18e3a6'} />
16
+ <Image alt={'Using Qwen in LobeHub'} cover src={'/blog/assets17870709/b4a01219-e7b1-48a0-888c-f0271b18e3a6.webp'} />
15
17
 
16
- [Qwen](https://github.com/QwenLM/Qwen1.5) is a large language model (LLM) open-sourced by Alibaba Cloud. It is officially defined as a constantly evolving AI large model, and it achieves more accurate Chinese recognition capabilities through more training set content.
18
+ [Qwen](https://github.com/QwenLM/Qwen1.5) is an open-source large language model (LLM) developed by Alibaba Cloud. It is officially described as an evolving AI model that achieves more accurate Chinese language understanding through extensive training data.
17
19
 
18
- <Video src="https://github.com/lobehub/lobe-chat/assets/28616219/31e5f625-8dc4-4a5f-a5fd-d28d0457782d" />
20
+ <Video src="/blog/assets28616219/31e5f625-8dc4-4a5f-a5fd-d28d0457782d.mp4" />
19
21
 
20
- Now, through the integration of LobeChat and [Ollama](https://ollama.com/), you can easily use Qwen in LobeChat. This document will guide you on how to use the local deployment version of Qwen in LobeChat:
22
+ Now, thanks to LobeHub’s integration with [Ollama](https://ollama.com/), you can easily use the Qwen model locally within LobeHub.
23
+
24
+ This guide will walk you through how to use the locally deployed Qwen model in LobeHub:
21
25
 
22
26
  <Steps>
23
- ## Local Installation of Ollama
27
+ ### Install Ollama Locally
24
28
 
25
- First, you need to install Ollama. For the installation process, please refer to the [Ollama Usage Document](/docs/usage/providers/ollama).
29
+ First, you’ll need to install Ollama. For installation instructions, refer to the [Ollama usage guide](/en/docs/usage/providers/ollama).
26
30
 
27
- ## Pull the Qwen Model to Local with Ollama
31
+ ### Pull the Qwen Model Using Ollama
28
32
 
29
- After installing Ollama, you can install the Qwen model with the following command, taking the 14b model as an example:
33
+ Once Ollama is installed, you can pull the Qwen model locally. For example, to pull the 14b version of the model, run:
30
34
 
31
35
  ```bash
32
36
  ollama pull qwen:14b
33
37
  ```
34
38
 
35
- <Callout type={'info'}>
36
- The local version of Qwen provides different model sizes to choose from. Please refer to the
37
- [Qwen's Ollama integration page](https://ollama.com/library/qwen) to understand how to choose the
38
- model size.
39
- </Callout>
40
-
41
- <Image alt={'Use Ollama Pull Qwen Model'} height={473} inStep src={'https://github.com/lobehub/lobe-chat/assets/1845053/fe34fdfe-c2e4-4d6a-84d7-4ebc61b2516a'} />
39
+ <Image alt={'Pulling the Qwen model using Ollama'} height={473} inStep src={'/blog/assets1845053/fe34fdfe-c2e4-4d6a-84d7-4ebc61b2516a.webp'} />
42
40
 
43
41
  ### Select the Qwen Model
44
42
 
45
- In the LobeChat conversation page, open the model selection panel, and then select the Qwen model.
43
+ In the chat interface, open the model selection panel and choose the Qwen model.
46
44
 
47
- <Image alt={'Choose Qwen Model'} height={430} inStep src={'https://github.com/lobehub/lobe-chat/assets/28616219/e0608cca-f62f-414a-bc55-28a61ba21f14'} />
45
+ <Image alt={'Selecting the Qwen model in the model panel'} height={430} inStep src={'/blog/assets28616219/e0608cca-f62f-414a-bc55-28a61ba21f14.webp'} />
48
46
 
49
47
  <Callout type={'info'}>
50
- If you do not see the Ollama provider in the model selection panel, please refer to [Integration with Ollama](/docs/self-hosting/examples/ollama) to learn how to enable the Ollama provider in LobeChat.
48
+ If you don’t see the Ollama provider in the model selection panel, refer to the [Ollama Integration Guide](/en/docs/self-hosting/examples/ollama) to learn how to enable the Ollama provider in LobeHub.
51
49
  </Callout>
52
50
  </Steps>
53
51
 
54
- Next, you can have a conversation with the local Qwen model in LobeChat.
52
+ You’re now ready to start chatting with the local Qwen model in LobeHub.
@@ -1,25 +1,25 @@
1
1
  ---
2
- title: 在 LobeChat 中使用本地通义千问 Qwen 模型
3
- description: 通过 LobeChat 与 Ollama 的集成,轻松在本地部署的通义千问 Qwen 模型中进行对话。学习如何安装和选择 Qwen 模型。
2
+ title: 在 LobeHub 中使用本地通义千问 Qwen 模型
3
+ description: 通过 LobeHub 与 Ollama 的集成,轻松在本地部署的通义千问 Qwen 模型中进行对话。学习如何安装和选择 Qwen 模型。
4
4
  tags:
5
5
  - 通义千问
6
6
  - Qwen模型
7
- - LobeChat集成
7
+ - LobeHub集成
8
8
  - Ollama
9
9
  - 本地部署
10
10
  ---
11
11
 
12
12
  # 使用本地通义千问 Qwen 模型
13
13
 
14
- <Image alt={'在 LobeChat 中使用 Qwen'} cover src={'https://github.com/lobehub/lobe-chat/assets/17870709/b4a01219-e7b1-48a0-888c-f0271b18e3a6'} />
14
+ <Image alt={'在 LobeHub 中使用 Qwen'} cover src={'/blog/assets17870709/b4a01219-e7b1-48a0-888c-f0271b18e3a6.webp'} />
15
15
 
16
16
  [通义千问](https://github.com/QwenLM/Qwen1.5) 是阿里云开源的一款大语言模型(LLM),官方定义是一个不断进化的 AI 大模型,并通过更多的训练集内容达到更精准的中文识别能力。
17
17
 
18
- <Video src="https://github.com/lobehub/lobe-chat/assets/28616219/31e5f625-8dc4-4a5f-a5fd-d28d0457782d" />
18
+ <Video src="/blog/assets28616219/31e5f625-8dc4-4a5f-a5fd-d28d0457782d.mp4" />
19
19
 
20
- 现在,通过 LobeChat 与 [Ollama](https://ollama.com/) 的集成,你可以轻松地在 LobeChat 中使用 通义千问。
20
+ 现在,通过 LobeHub 与 [Ollama](https://ollama.com/) 的集成,你可以轻松地在 LobeHub 中使用 通义千问。
21
21
 
22
- 本文档将指导你如何在 LobeChat 中使用通义千问本地部署版:
22
+ 本文档将指导你如何在 LobeHub 中使用通义千问本地部署版:
23
23
 
24
24
  <Steps>
25
25
  ### 本地安装 Ollama
@@ -34,18 +34,18 @@ tags:
34
34
  ollama pull qwen:14b
35
35
  ```
36
36
 
37
- <Image alt={'使用 Ollama 拉取 Qwen 模型'} height={473} inStep src={'https://github.com/lobehub/lobe-chat/assets/1845053/fe34fdfe-c2e4-4d6a-84d7-4ebc61b2516a'} />
37
+ <Image alt={'使用 Ollama 拉取 Qwen 模型'} height={473} inStep src={'/blog/assets1845053/fe34fdfe-c2e4-4d6a-84d7-4ebc61b2516a.webp'} />
38
38
 
39
39
  ### 选择 Qwen 模型
40
40
 
41
41
  在会话页面中,选择模型面板打开,然后选择 Qwen 模型。
42
42
 
43
- <Image alt={'模型选择面板中选择 Qwen 模型'} height={430} inStep src={'https://github.com/lobehub/lobe-chat/assets/28616219/e0608cca-f62f-414a-bc55-28a61ba21f14'} />
43
+ <Image alt={'模型选择面板中选择 Qwen 模型'} height={430} inStep src={'/blog/assets28616219/e0608cca-f62f-414a-bc55-28a61ba21f14.webp'} />
44
44
 
45
45
  <Callout type={'info'}>
46
46
  如果你没有在模型选择面板中看到 Ollama 服务商,请查阅 [与 Ollama
47
- 集成](/zh/docs/self-hosting/examples/ollama) 了解如何在 LobeChat 中开启 Ollama 服务商。
47
+ 集成](/zh/docs/self-hosting/examples/ollama) 了解如何在 LobeHub 中开启 Ollama 服务商。
48
48
  </Callout>
49
49
  </Steps>
50
50
 
51
- 接下来,你就可以使用 LobeChat 与本地 Qwen 模型对话了。
51
+ 接下来,你就可以使用 LobeHub 与本地 Qwen 模型对话了。
@@ -1,98 +1,98 @@
1
1
  ---
2
- title: Using Ollama in LobeChat
2
+ title: Using Ollama in LobeHub
3
3
  description: >-
4
- Learn how to use Ollama in LobeChat, run LLM locally, and experience cutting-edge AI usage.
5
-
4
+ Learn how to use Ollama in LobeHub to run large language models locally and
5
+ experience cutting-edge AI capabilities.
6
6
  tags:
7
7
  - Ollama
8
- - Local LLM
9
- - Ollama WebUI
10
8
  - Web UI
11
9
  - API Key
10
+ - Local LLM
11
+ - Ollama WebUI
12
12
  ---
13
13
 
14
- # Using Ollama in LobeChat
14
+ # Using Ollama in LobeHub
15
15
 
16
- <Image alt={'Using Ollama in LobeChat'} borderless cover src={'https://github.com/lobehub/lobe-chat/assets/17870709/f579b39b-e771-402c-a1d1-620e57a10c75'} />
16
+ <Image alt={'Using Ollama in LobeHub'} borderless cover src={'/blog/assets17870709/f579b39b-e771-402c-a1d1-620e57a10c75.webp'} />
17
17
 
18
- Ollama is a powerful framework for running large language models (LLMs) locally, supporting various language models including Llama 2, Mistral, and more. Now, LobeChat supports integration with Ollama, meaning you can easily enhance your application by using the language models provided by Ollama in LobeChat.
18
+ Ollama is a powerful framework for running large language models (LLMs) locally. It supports a variety of models, including Llama 2, Mistral, and more. LobeHub now integrates seamlessly with Ollama, allowing you to leverage these models directly within your chat interface.
19
19
 
20
- This document will guide you on how to use Ollama in LobeChat:
20
+ This guide will walk you through how to use Ollama in LobeHub:
21
21
 
22
- <Video alt="demonstration of using Ollama in LobeChat" height={580} src="https://github.com/lobehub/lobe-chat/assets/28616219/c32b56db-c6a1-4876-9bc3-acbd37ec0c0c" />
22
+ <Video alt={'Full demo of using Ollama in LobeHub'} height={580} src="/blog/assets28616219/c32b56db-c6a1-4876-9bc3-acbd37ec0c0c.mp4" />
23
23
 
24
24
  ## Using Ollama on macOS
25
25
 
26
26
  <Steps>
27
- ### Local Installation of Ollama
27
+ ### Install Ollama Locally
28
28
 
29
- [Download Ollama for macOS](https://ollama.com/download?utm_source=lobehub\&utm_medium=docs\&utm_campaign=download-macos) and unzip/install it.
29
+ [Download Ollama for macOS](https://ollama.com/download?utm_source=lobehub\&utm_medium=docs\&utm_campaign=download-macos), then unzip and install it.
30
30
 
31
31
  ### Configure Ollama for Cross-Origin Access
32
32
 
33
- Due to Ollama's default configuration, which restricts access to local only, additional environment variable setting `OLLAMA_ORIGINS` is required for cross-origin access and port listening. Use `launchctl` to set the environment variable:
33
+ By default, Ollama only allows local access. To enable cross-origin access and port listening, set the `OLLAMA_ORIGINS` environment variable using `launchctl`:
34
34
 
35
35
  ```bash
36
36
  launchctl setenv OLLAMA_ORIGINS "*"
37
37
  ```
38
38
 
39
- After setting up, restart the Ollama application.
39
+ After setting the variable, restart the Ollama application.
40
40
 
41
- ### Conversing with Local Large Models in LobeChat
41
+ ### Chat with Local LLMs in LobeHub
42
42
 
43
- Now, you can start conversing with the local LLM in LobeChat.
43
+ You can now start chatting with local LLMs in LobeHub.
44
44
 
45
- <Image alt="Chat with llama3 in LobeChat" height="573" src="https://github.com/lobehub/lobe-chat/assets/28616219/7f9a9a9f-fd91-4f59-aac9-3f26c6d49a1e" />
45
+ <Image alt="Chatting with llama3 in LobeHub" height="573" src="/blog/assets28616219/7f9a9a9f-fd91-4f59-aac9-3f26c6d49a1e.webp" />
46
46
  </Steps>
47
47
 
48
48
  ## Using Ollama on Windows
49
49
 
50
50
  <Steps>
51
- ### Local Installation of Ollama
51
+ ### Install Ollama Locally
52
52
 
53
53
  [Download Ollama for Windows](https://ollama.com/download?utm_source=lobehub\&utm_medium=docs\&utm_campaign=download-windows) and install it.
54
54
 
55
55
  ### Configure Ollama for Cross-Origin Access
56
56
 
57
- Since Ollama's default configuration allows local access only, additional environment variable setting `OLLAMA_ORIGINS` is needed for cross-origin access and port listening.
57
+ By default, Ollama only allows local access. To enable cross-origin access and port listening, set the `OLLAMA_ORIGINS` environment variable.
58
58
 
59
- On Windows, Ollama inherits your user and system environment variables.
59
+ On Windows, Ollama inherits your user and system environment variables:
60
60
 
61
- 1. First, exit the Ollama program by clicking on it in the Windows taskbar.
62
- 2. Edit system environment variables from the Control Panel.
63
- 3. Edit or create the Ollama environment variable `OLLAMA_ORIGINS` for your user account, setting the value to `*`.
64
- 4. Click `OK/Apply` to save and restart the system.
65
- 5. Run `Ollama` again.
61
+ 1. Exit Ollama from the system tray.
62
+ 2. Open the Control Panel and edit system environment variables.
63
+ 3. Add or edit the `OLLAMA_ORIGINS` variable for your user account and set its value to `*`.
64
+ 4. Click `OK/Apply` and restart your system.
65
+ 5. Relaunch Ollama.
66
66
 
67
- ### Conversing with Local Large Models in LobeChat
67
+ ### Chat with Local LLMs in LobeHub
68
68
 
69
- Now, you can start conversing with the local LLM in LobeChat.
69
+ You can now start chatting with local LLMs in LobeHub.
70
70
  </Steps>
71
71
 
72
72
  ## Using Ollama on Linux
73
73
 
74
74
  <Steps>
75
- ### Local Installation of Ollama
75
+ ### Install Ollama Locally
76
76
 
77
- Install using the following command:
77
+ Run the following command to install:
78
78
 
79
79
  ```bash
80
80
  curl -fsSL https://ollama.com/install.sh | sh
81
81
  ```
82
82
 
83
- Alternatively, you can refer to the [Linux manual installation guide](https://github.com/ollama/ollama/blob/main/docs/linux.md).
83
+ Alternatively, refer to the [manual installation guide for Linux](https://github.com/ollama/ollama/blob/main/docs/linux.md).
84
84
 
85
85
  ### Configure Ollama for Cross-Origin Access
86
86
 
87
- Due to Ollama's default configuration, which allows local access only, additional environment variable setting `OLLAMA_ORIGINS` is required for cross-origin access and port listening. If Ollama runs as a systemd service, use `systemctl` to set the environment variable:
87
+ By default, Ollama only allows local access. To enable cross-origin access and port listening, set the `OLLAMA_ORIGINS` environment variable. If Ollama is running as a systemd service, use `systemctl` to configure it:
88
88
 
89
- 1. Edit the systemd service by calling `sudo systemctl edit ollama.service`:
89
+ 1. Edit the systemd service with:
90
90
 
91
91
  ```bash
92
92
  sudo systemctl edit ollama.service
93
93
  ```
94
94
 
95
- 2. Add `Environment` under `[Service]` for each environment variable:
95
+ 2. Add the following under the `[Service]` section:
96
96
 
97
97
  ```bash
98
98
  [Service]
@@ -101,24 +101,24 @@ This document will guide you on how to use Ollama in LobeChat:
101
101
  ```
102
102
 
103
103
  3. Save and exit.
104
- 4. Reload `systemd` and restart Ollama:
104
+ 4. Reload systemd and restart Ollama:
105
105
 
106
106
  ```bash
107
107
  sudo systemctl daemon-reload
108
108
  sudo systemctl restart ollama
109
109
  ```
110
110
 
111
- ### Conversing with Local Large Models in LobeChat
111
+ ### Chat with Local LLMs in LobeHub
112
112
 
113
- Now, you can start conversing with the local LLM in LobeChat.
113
+ You can now start chatting with local LLMs in LobeHub.
114
114
  </Steps>
115
115
 
116
- ## Deploying Ollama using Docker
116
+ ## Using Ollama with Docker
117
117
 
118
118
  <Steps>
119
- ### Pulling Ollama Image
119
+ ### Pull the Ollama Docker Image
120
120
 
121
- If you prefer using Docker, Ollama provides an official Docker image that you can pull using the following command:
121
+ If you prefer using Docker, Ollama provides an official image. Pull it with:
122
122
 
123
123
  ```bash
124
124
  docker pull ollama/ollama
@@ -126,48 +126,48 @@ This document will guide you on how to use Ollama in LobeChat:
126
126
 
127
127
  ### Configure Ollama for Cross-Origin Access
128
128
 
129
- Since Ollama's default configuration allows local access only, additional environment variable setting `OLLAMA_ORIGINS` is needed for cross-origin access and port listening.
130
-
131
- If Ollama runs as a Docker container, you can add the environment variable to the `docker run` command.
129
+ By default, Ollama only allows local access. To enable cross-origin access and port listening, set the `OLLAMA_ORIGINS` environment variable in your `docker run` command:
132
130
 
133
131
  ```bash
134
132
  docker run -d --gpus=all -v ollama:/root/.ollama -e OLLAMA_ORIGINS="*" -p 11434:11434 --name ollama ollama/ollama
135
133
  ```
136
134
 
137
- ### Conversing with Local Large Models in LobeChat
135
+ ### Chat with Local LLMs in LobeHub
138
136
 
139
- Now, you can start conversing with the local LLM in LobeChat.
137
+ You can now start chatting with local LLMs in LobeHub.
140
138
  </Steps>
141
139
 
142
140
  ## Installing Ollama Models
143
141
 
144
- Ollama supports various models, which you can view in the [Ollama Library](https://ollama.com/library) and choose the appropriate model based on your needs.
142
+ Ollama supports a wide range of models. You can browse the available models in the [Ollama Library](https://ollama.com/library) and choose the ones that best suit your needs.
145
143
 
146
- ### Installation in LobeChat
144
+ ### Install via LobeHub
147
145
 
148
- In LobeChat, we have enabled some common large language models by default, such as llama3, Gemma, Mistral, etc. When you select a model for conversation, we will prompt you to download that model.
146
+ LobeHub comes pre-configured with popular LLMs like llama3, Gemma, and Mistral. When you select a model for the first time, LobeHub will prompt you to download it.
149
147
 
150
- <Image alt="LobeChat guide your to install Ollama model" height="460" src="https://github.com/lobehub/lobe-chat/assets/28616219/4e81decc-776c-43b8-9a54-dfb43e9f601a" />
148
+ <Image alt="LobeHub prompts to install Ollama model" height="460" src="/blog/assets28616219/4e81decc-776c-43b8-9a54-dfb43e9f601a.webp" />
151
149
 
152
- Once downloaded, you can start conversing.
150
+ Once the download is complete, you can start chatting.
153
151
 
154
- ### Pulling Models to Local with Ollama
152
+ ### Pull Models via Ollama CLI
155
153
 
156
- Alternatively, you can install models by executing the following command in the terminal, using llama3 as an example:
154
+ Alternatively, you can install models directly via the terminal. For example, to install llama3:
157
155
 
158
156
  ```bash
159
157
  ollama pull llama3
160
158
  ```
161
159
 
162
- <Video height="524" src="https://github.com/lobehub/lobe-chat/assets/28616219/95828c11-0ae5-4dfa-84ed-854124e927a6" />
160
+ <Video height={524} src="/blog/assets28616219/95828c11-0ae5-4dfa-84ed-854124e927a6.mp4" />
163
161
 
164
162
  ## Custom Configuration
165
163
 
166
- You can find Ollama's configuration options in `Settings` -> `AI Service Provider`, where you can configure Ollama's proxy, model names, etc.
164
+ You can configure Ollama settings in LobeHub under `Settings` -> `AI Providers`. Here, you can set the proxy, model name, and more.
167
165
 
168
- <Image alt={'Ollama Provider Settings'} height={274} src={'https://github.com/lobehub/lobe-chat/assets/28616219/54b3696b-5b13-4761-8c1b-1e664867b2dd'} />
166
+ <Image alt={'Ollama provider settings'} height={274} src={'/blog/assets28616219/54b3696b-5b13-4761-8c1b-1e664867b2dd.webp'} />
169
167
 
170
168
  <Callout type={'info'}>
171
- Visit [Integrating with Ollama](/docs/self-hosting/examples/ollama) to learn how to deploy
172
- LobeChat to meet integration needs with Ollama.
169
+ To learn how to deploy LobeHub with Ollama integration, visit [Integrating with Ollama](/en/docs/self-hosting/examples/ollama).
173
170
  </Callout>
171
+
172
+ ```
173
+ ```
@@ -1,6 +1,6 @@
1
1
  ---
2
- title: 在 LobeChat 中使用 Ollama
3
- description: 了解如何在 LobeChat 中使用 Ollama ,在你的本地运行大型语言模型,获得最前沿的 AI 使用体验。
2
+ title: 在 LobeHub 中使用 Ollama
3
+ description: 了解如何在 LobeHub 中使用 Ollama ,在你的本地运行大型语言模型,获得最前沿的 AI 使用体验。
4
4
  tags:
5
5
  - Ollama
6
6
  - Web UI
@@ -9,15 +9,15 @@ tags:
9
9
  - Ollama WebUI
10
10
  ---
11
11
 
12
- # 在 LobeChat 中使用 Ollama
12
+ # 在 LobeHub 中使用 Ollama
13
13
 
14
- <Image alt={'在 LobeChat 中使用 Ollama'} borderless cover src={'https://github.com/lobehub/lobe-chat/assets/17870709/f579b39b-e771-402c-a1d1-620e57a10c75'} />
14
+ <Image alt={'在 LobeHub 中使用 Ollama'} borderless cover src={'/blog/assets17870709/f579b39b-e771-402c-a1d1-620e57a10c75.webp'} />
15
15
 
16
- Ollama 是一款强大的本地运行大型语言模型(LLM)的框架,支持多种语言模型,包括 Llama 2, Mistral 等。现在,LobeChat 已经支持与 Ollama 的集成,这意味着你可以在 LobeChat 中轻松使用 Ollama 提供的语言模型来增强你的应用。
16
+ Ollama 是一款强大的本地运行大型语言模型(LLM)的框架,支持多种语言模型,包括 Llama 2, Mistral 等。现在,LobeHub 已经支持与 Ollama 的集成,这意味着你可以在 LobeHub 中轻松使用 Ollama 提供的语言模型来增强你的应用。
17
17
 
18
- 本文档将指导你如何在 LobeChat 中使用 Ollama:
18
+ 本文档将指导你如何在 LobeHub 中使用 Ollama:
19
19
 
20
- <Video alt={'在 LobeChat 中使用 Ollama的完整演示'} height={580} src="https://github.com/lobehub/lobe-chat/assets/28616219/c32b56db-c6a1-4876-9bc3-acbd37ec0c0c" />
20
+ <Video alt={'在 LobeHub 中使用 Ollama的完整演示'} height={580} src="/blog/assets28616219/c32b56db-c6a1-4876-9bc3-acbd37ec0c0c.mp4" />
21
21
 
22
22
  ## 在 macOS 下使用 Ollama
23
23
 
@@ -36,11 +36,11 @@ Ollama 是一款强大的本地运行大型语言模型(LLM)的框架,支
36
36
 
37
37
  完成设置后,需要重启 Ollama 应用程序。
38
38
 
39
- ### 在 LobeChat 中与本地大模型对话
39
+ ### 在 LobeHub 中与本地大模型对话
40
40
 
41
- 接下来,你就可以使用 LobeChat 与本地 LLM 对话了。
41
+ 接下来,你就可以使用 LobeHub 与本地 LLM 对话了。
42
42
 
43
- <Image alt="在 LobeChat 中与 llama3 对话" height="573" src="https://github.com/lobehub/lobe-chat/assets/28616219/7f9a9a9f-fd91-4f59-aac9-3f26c6d49a1e" />
43
+ <Image alt="在 LobeHub 中与 llama3 对话" height="573" src="/blog/assets28616219/7f9a9a9f-fd91-4f59-aac9-3f26c6d49a1e.webp" />
44
44
  </Steps>
45
45
 
46
46
  ## 在 windows 下使用 Ollama
@@ -62,9 +62,9 @@ Ollama 是一款强大的本地运行大型语言模型(LLM)的框架,支
62
62
  4. 点击`OK/应用`保存后重启系统。
63
63
  5. 重新运行`Ollama`。
64
64
 
65
- ### 在 LobeChat 中与本地大模型对话
65
+ ### 在 LobeHub 中与本地大模型对话
66
66
 
67
- 接下来,你就可以使用 LobeChat 与本地 LLM 对话了。
67
+ 接下来,你就可以使用 LobeHub 与本地 LLM 对话了。
68
68
  </Steps>
69
69
 
70
70
  ## 在 linux 下使用 Ollama
@@ -106,9 +106,9 @@ Ollama 是一款强大的本地运行大型语言模型(LLM)的框架,支
106
106
  sudo systemctl restart ollama
107
107
  ```
108
108
 
109
- ### 在 LobeChat 中与本地大模型对话
109
+ ### 在 LobeHub 中与本地大模型对话
110
110
 
111
- 接下来,你就可以使用 LobeChat 与本地 LLM 对话了。
111
+ 接下来,你就可以使用 LobeHub 与本地 LLM 对话了。
112
112
  </Steps>
113
113
 
114
114
  ## 使用 docker 部署使用 Ollama
@@ -132,20 +132,20 @@ Ollama 是一款强大的本地运行大型语言模型(LLM)的框架,支
132
132
  docker run -d --gpus=all -v ollama:/root/.ollama -e OLLAMA_ORIGINS="*" -p 11434:11434 --name ollama ollama/ollama
133
133
  ```
134
134
 
135
- ### 在 LobeChat 中与本地大模型对话
135
+ ### 在 LobeHub 中与本地大模型对话
136
136
 
137
- 接下来,你就可以使用 LobeChat 与本地 LLM 对话了。
137
+ 接下来,你就可以使用 LobeHub 与本地 LLM 对话了。
138
138
  </Steps>
139
139
 
140
140
  ## 安装 Ollama 模型
141
141
 
142
142
  Ollama 支持多种模型,你可以在 [Ollama Library](https://ollama.com/library) 中查看可用的模型列表,并根据需求选择合适的模型。
143
143
 
144
- ### LobeChat 中安装
144
+ ### LobeHub 中安装
145
145
 
146
- LobeChat 中,我们默认开启了一些常用的大语言模型,例如 llama3、 Gemma 、 Mistral 等。当你选中模型进行对话时,我们会提示你需要下载该模型。
146
+ LobeHub 中,我们默认开启了一些常用的大语言模型,例如 llama3、 Gemma 、 Mistral 等。当你选中模型进行对话时,我们会提示你需要下载该模型。
147
147
 
148
- <Image alt="LobeChat 提示安装 Ollama 模型" height="460" src="https://github.com/lobehub/lobe-chat/assets/28616219/4e81decc-776c-43b8-9a54-dfb43e9f601a" />
148
+ <Image alt="LobeHub 提示安装 Ollama 模型" height="460" src="/blog/assets28616219/4e81decc-776c-43b8-9a54-dfb43e9f601a.webp" />
149
149
 
150
150
  下载完成后即可开始对话。
151
151
 
@@ -157,15 +157,15 @@ Ollama 支持多种模型,你可以在 [Ollama Library](https://ollama.com/lib
157
157
  ollama pull llama3
158
158
  ```
159
159
 
160
- <Video height={524} src="https://github.com/lobehub/lobe-chat/assets/28616219/95828c11-0ae5-4dfa-84ed-854124e927a6" />
160
+ <Video height={524} src="/blog/assets28616219/95828c11-0ae5-4dfa-84ed-854124e927a6.mp4" />
161
161
 
162
162
  ## 自定义配置
163
163
 
164
164
  你可以在 `设置` -> `AI 服务商` 中找到 Ollama 的配置选项,你可以在这里配置 Ollama 的代理、模型名称等。
165
165
 
166
- <Image alt={'Ollama 服务商设置'} height={274} src={'https://github.com/lobehub/lobe-chat/assets/28616219/54b3696b-5b13-4761-8c1b-1e664867b2dd'} />
166
+ <Image alt={'Ollama 服务商设置'} height={274} src={'/blog/assets28616219/54b3696b-5b13-4761-8c1b-1e664867b2dd.webp'} />
167
167
 
168
168
  <Callout type={'info'}>
169
- 你可以前往 [与 Ollama 集成](/zh/docs/self-hosting/examples/ollama) 了解如何部署 LobeChat
169
+ 你可以前往 [与 Ollama 集成](/zh/docs/self-hosting/examples/ollama) 了解如何部署 LobeHub
170
170
  ,以满足与 Ollama 的集成需求。
171
171
  </Callout>