Skip to content

Commit

Permalink
๐Ÿ“ docs: Update provider docs (lobehub#2949)
Browse files Browse the repository at this point in the history
* ๐Ÿ“ docs: Update provider docs

* ๐Ÿ“ docs: Update docs

* ๐Ÿ“ docs: Update shield

* ๐Ÿ“ docs: Update link

* ๐Ÿ“ docs: Add providers page

* ๐Ÿ“ docs: Update docs

* โœจ feat: Add doc in llm setting

* ๐Ÿ“ docs: Update provider docs

* ๐Ÿ“ docs: Update docs

* ๐Ÿ”ง chore: Fix reference
  • Loading branch information
canisminor1990 authored Jun 20, 2024
1 parent de4de71 commit 67e5eea
Show file tree
Hide file tree
Showing 97 changed files with 3,038 additions and 171 deletions.
16 changes: 9 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ An open-source, modern-design ChatGPT/LLMs UI/Framework.<br/>
Supports speech-synthesis, multi-modal, and extensible ([function call][docs-functionc-call]) plugin system.<br/>
One-click **FREE** deployment of your private OpenAI ChatGPT/Claude/Gemini/Groq/Ollama chat application.

**English** ยท [็ฎ€ไฝ“ไธญๆ–‡](./README.zh-CN.md) ยท [Changelog](./CHANGELOG.md) ยท [Documents][docs] ยท [Report Bug][github-issues-link] ยท [Request Feature][github-issues-link]
**English** ยท [็ฎ€ไฝ“ไธญๆ–‡](./README.zh-CN.md) ยท [Official Site][official-site] ยท [Changelog](./CHANGELOG.md) ยท [Documents][docs] ยท [Blog][blog] ยท [Feedback][github-issues-link]

<!-- SHIELD GROUP -->

Expand Down Expand Up @@ -671,6 +671,7 @@ This project is [Apache 2.0](./LICENSE) licensed.
<!-- LINK GROUP -->

[back-to-top]: https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square
[blog]: https://lobehub.com/blog
[chat-desktop]: https://raw.githubusercontent.com/lobehub/lobe-chat/lighthouse/lighthouse/chat/desktop/pagespeed.svg
[chat-desktop-report]: https://lobehub.github.io/lobe-chat/lighthouse/chat/desktop/chat_preview_lobehub_com_chat.html
[chat-mobile]: https://raw.githubusercontent.com/lobehub/lobe-chat/lighthouse/lighthouse/chat/mobile/pagespeed.svg
Expand All @@ -697,7 +698,7 @@ This project is [Apache 2.0](./LICENSE) licensed.
[docker-release-shield]: https://img.shields.io/docker/v/lobehub/lobe-chat?color=369eff&label=docker&labelColor=black&logo=docker&logoColor=white&style=flat-square
[docker-size-link]: https://hub.docker.com/r/lobehub/lobe-chat
[docker-size-shield]: https://img.shields.io/docker/image-size/lobehub/lobe-chat?color=369eff&labelColor=black&style=flat-square
[docs]: https://lobehub.com/docs
[docs]: https://lobehub.com/docs/usage/start
[docs-dev-guide]: https://github.com/lobehub/lobe-chat/wiki/index
[docs-docker]: https://lobehub.com/docs/self-hosting/platform/docker
[docs-env-var]: https://lobehub.com/docs/self-hosting/environment-variables
Expand All @@ -713,7 +714,7 @@ This project is [Apache 2.0](./LICENSE) licensed.
[docs-feat-theme]: https://lobehub.com/docs/usage/features/theme
[docs-feat-tts]: https://lobehub.com/docs/usage/features/tts
[docs-feat-vision]: https://lobehub.com/docs/usage/features/vision
[docs-functionc-call]: https://platform.openai.com/docs/guides/function-calling
[docs-functionc-call]: https://lobehub.com/blog/openai-function-call
[docs-lighthouse]: https://github.com/lobehub/lobe-chat/wiki/Lighthouse
[docs-plugin-dev]: https://lobehub.com/docs/usage/plugins/development
[docs-self-hosting]: https://lobehub.com/docs/self-hosting/start
Expand All @@ -733,7 +734,7 @@ This project is [Apache 2.0](./LICENSE) licensed.
[github-issues-link]: https://github.com/lobehub/lobe-chat/issues
[github-issues-shield]: https://img.shields.io/github/issues/lobehub/lobe-chat?color=ff80eb&labelColor=black&style=flat-square
[github-license-link]: https://github.com/lobehub/lobe-chat/blob/main/LICENSE
[github-license-shield]: https://img.shields.io/github/license/lobehub/lobe-chat?color=white&labelColor=black&style=flat-square
[github-license-shield]: https://img.shields.io/badge/license-apache%202.0-white?labelColor=black&style=flat-square
[github-project-link]: https://github.com/lobehub/lobe-chat/projects
[github-release-link]: https://github.com/lobehub/lobe-chat/releases
[github-release-shield]: https://img.shields.io/github/v/release/lobehub/lobe-chat?color=369eff&labelColor=black&logo=github&style=flat-square
Expand All @@ -746,7 +747,7 @@ This project is [Apache 2.0](./LICENSE) licensed.
[image-banner]: https://github.com/lobehub/lobe-chat/assets/28616219/9f155dff-4737-429f-9cad-a70a1a860c5f
[image-feat-agent]: https://github-production-user-asset-6210df.s3.amazonaws.com/17870709/268670869-f1ffbf66-42b6-42cf-a937-9ce1f8328514.png
[image-feat-auth]: https://github.com/lobehub/lobe-chat/assets/17870709/8ce70e15-40df-451e-b700-66090fe5b8c2
[image-feat-database]: https://github.com/lobehub/lobe-chat/assets/17870709/acf39ea2-74b3-46ae-8eb8-54a51f7f1d36
[image-feat-database]: https://github.com/lobehub/lobe-chat/assets/17870709/c27a0234-a4e9-40e5-8bcb-42d5ce7e40f9
[image-feat-local]: https://github.com/lobehub/lobe-chat/assets/28616219/ca9a21bc-ea6c-4c90-bf4a-fa53b4fb2b5c
[image-feat-mobile]: https://gw.alipayobjects.com/zos/kitchen/R441AuFS4W/mobile.webp
[image-feat-plugin]: https://github-production-user-asset-6210df.s3.amazonaws.com/17870709/268670883-33c43a5c-a512-467e-855c-fa299548cce5.png
Expand Down Expand Up @@ -776,6 +777,7 @@ This project is [Apache 2.0](./LICENSE) licensed.
[lobe-ui-github]: https://github.com/lobehub/lobe-ui
[lobe-ui-link]: https://www.npmjs.com/package/@lobehub/ui
[lobe-ui-shield]: https://img.shields.io/npm/v/@lobehub/ui?color=369eff&labelColor=black&logo=npm&logoColor=white&style=flat-square
[official-site]: https://lobehub.com
[pr-welcome-link]: https://github.com/lobehub/lobe-chat/pulls
[pr-welcome-shield]: https://img.shields.io/badge/๐Ÿคฏ_pr_welcome-%E2%86%92-ffcb47?labelColor=black&style=for-the-badge
[profile-link]: https://github.com/lobehub
Expand All @@ -800,5 +802,5 @@ This project is [Apache 2.0](./LICENSE) licensed.
[submit-plugin-link]: https://github.com/lobehub/lobe-chat-plugins
[submit-plugin-shield]: https://img.shields.io/badge/๐Ÿงฉ/๐Ÿช_submit_plugin-%E2%86%92-95f3d9?labelColor=black&style=for-the-badge
[vercel-link]: https://chat-preview.lobehub.com
[vercel-shield]: https://img.shields.io/website?down_message=offline&label=vercel&labelColor=black&logo=vercel&style=flat-square&up_message=online&url=https%3A%2F%2Fchat-preview.lobehub.com
[vercel-shield-badge]: https://img.shields.io/website?down_message=offline&label=try%20lobechat&labelColor=black&logo=vercel&style=for-the-badge&up_message=online&url=https%3A%2F%2Fchat-preview.lobehub.com
[vercel-shield]: https://img.shields.io/badge/vercel-online-55b467?labelColor=black&logo=vercel&style=flat-square
[vercel-shield-badge]: https://img.shields.io/badge/TRY%20LOBECHAT-ONLINE-55b467?labelColor=black&logo=vercel&style=for-the-badge
16 changes: 9 additions & 7 deletions README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
ๆ”ฏๆŒ่ฏญ้Ÿณๅˆๆˆใ€ๅคšๆจกๆ€ใ€ๅฏๆ‰ฉๅฑ•็š„๏ผˆ[function call][docs-functionc-call]๏ผ‰ๆ’ไปถ็ณป็ปŸ<br/>
ไธ€้”ฎ**ๅ…่ดน**ๆ‹ฅๆœ‰ไฝ ่‡ชๅทฑ็š„ ChatGPT/Gemini/Claude/Ollama ๅบ”็”จ

[English](./README.md) ยท **็ฎ€ไฝ“ไธญๆ–‡** ยท [ๆ›ดๆ–ฐๆ—ฅๅฟ—](./CHANGELOG.md) ยท [ๆ–‡ๆกฃ][github-document-link] ยท [ๆŠฅๅ‘Š้—ฎ้ข˜][github-issues-link] ยท [่ฏทๆฑ‚ๅŠŸ่ƒฝ][github-issues-link]
[English](./README.md) ยท **็ฎ€ไฝ“ไธญๆ–‡** ยท [ๅฎ˜็ฝ‘][official-site] ยท [ๆ›ดๆ–ฐๆ—ฅๅฟ—](./CHANGELOG.md) ยท [ๆ–‡ๆกฃ][docs] ยท [ๅšๅฎข][blog] ยท [ๅ้ฆˆ้—ฎ้ข˜][github-issues-link]

<!-- SHIELD GROUP -->

Expand Down Expand Up @@ -692,6 +692,7 @@ This project is [Apache 2.0](./LICENSE) licensed.
<!-- LINK GROUP -->

[back-to-top]: https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square
[blog]: https://lobehub.com/zh/blog
[chat-desktop]: https://raw.githubusercontent.com/lobehub/lobe-chat/lighthouse/lighthouse/chat/desktop/pagespeed.svg
[chat-desktop-report]: https://lobehub.github.io/lobe-chat/lighthouse/chat/desktop/chat_preview_lobehub_com_chat.html
[chat-mobile]: https://raw.githubusercontent.com/lobehub/lobe-chat/lighthouse/lighthouse/chat/mobile/pagespeed.svg
Expand All @@ -718,6 +719,7 @@ This project is [Apache 2.0](./LICENSE) licensed.
[docker-release-shield]: https://img.shields.io/docker/v/lobehub/lobe-chat?color=369eff&label=docker&labelColor=black&logo=docker&logoColor=white&style=flat-square
[docker-size-link]: https://hub.docker.com/r/lobehub/lobe-chat
[docker-size-shield]: https://img.shields.io/docker/image-size/lobehub/lobe-chat?color=369eff&labelColor=black&style=flat-square
[docs]: https://lobehub.com/zh/docs/usage/start
[docs-dev-guide]: https://github.com/lobehub/lobe-chat/wiki/index
[docs-docker]: https://lobehub.com/docs/self-hosting/platform/docker
[docs-env-var]: https://lobehub.com/docs/self-hosting/environment-variables
Expand All @@ -733,7 +735,7 @@ This project is [Apache 2.0](./LICENSE) licensed.
[docs-feat-theme]: https://lobehub.com/docs/usage/features/theme
[docs-feat-tts]: https://lobehub.com/docs/usage/features/tts
[docs-feat-vision]: https://lobehub.com/docs/usage/features/vision
[docs-functionc-call]: https://platform.openai.com/docs/guides/function-calling
[docs-functionc-call]: https://lobehub.com/zh/blog/openai-function-call
[docs-lighthouse]: https://github.com/lobehub/lobe-chat/wiki/Lighthouse.zh-CN
[docs-plugin-dev]: https://lobehub.com/docs/usage/plugins/development
[docs-self-hosting]: https://lobehub.com/docs/self-hosting/start
Expand All @@ -748,13 +750,12 @@ This project is [Apache 2.0](./LICENSE) licensed.
[github-action-test-shield]: https://img.shields.io/github/actions/workflow/status/lobehub/lobe-chat/test.yml?label=test&labelColor=black&logo=githubactions&logoColor=white&style=flat-square
[github-contributors-link]: https://github.com/lobehub/lobe-chat/graphs/contributors
[github-contributors-shield]: https://img.shields.io/github/contributors/lobehub/lobe-chat?color=c4f042&labelColor=black&style=flat-square
[github-document-link]: https://lobehub.com/docs
[github-forks-link]: https://github.com/lobehub/lobe-chat/network/members
[github-forks-shield]: https://img.shields.io/github/forks/lobehub/lobe-chat?color=8ae8ff&labelColor=black&style=flat-square
[github-issues-link]: https://github.com/lobehub/lobe-chat/issues
[github-issues-shield]: https://img.shields.io/github/issues/lobehub/lobe-chat?color=ff80eb&labelColor=black&style=flat-square
[github-license-link]: https://github.com/lobehub/lobe-chat/blob/main/LICENSE
[github-license-shield]: https://img.shields.io/github/license/lobehub/lobe-chat?color=white&labelColor=black&style=flat-square
[github-license-shield]: https://img.shields.io/badge/license-apache%202.0-white?labelColor=black&style=flat-square
[github-project-link]: https://github.com/lobehub/lobe-chat/projects
[github-release-link]: https://github.com/lobehub/lobe-chat/releases
[github-release-shield]: https://img.shields.io/github/v/release/lobehub/lobe-chat?color=369eff&labelColor=black&logo=github&style=flat-square
Expand All @@ -767,7 +768,7 @@ This project is [Apache 2.0](./LICENSE) licensed.
[image-banner]: https://github.com/lobehub/lobe-chat/assets/28616219/9f155dff-4737-429f-9cad-a70a1a860c5f
[image-feat-agent]: https://github-production-user-asset-6210df.s3.amazonaws.com/17870709/268670869-f1ffbf66-42b6-42cf-a937-9ce1f8328514.png
[image-feat-auth]: https://github.com/lobehub/lobe-chat/assets/17870709/8ce70e15-40df-451e-b700-66090fe5b8c2
[image-feat-database]: https://github.com/lobehub/lobe-chat/assets/17870709/acf39ea2-74b3-46ae-8eb8-54a51f7f1d36
[image-feat-database]: https://github.com/lobehub/lobe-chat/assets/17870709/c27a0234-a4e9-40e5-8bcb-42d5ce7e40f9
[image-feat-local]: https://github.com/lobehub/lobe-chat/assets/28616219/ca9a21bc-ea6c-4c90-bf4a-fa53b4fb2b5c
[image-feat-mobile]: https://gw.alipayobjects.com/zos/kitchen/R441AuFS4W/mobile.webp
[image-feat-plugin]: https://github-production-user-asset-6210df.s3.amazonaws.com/17870709/268670883-33c43a5c-a512-467e-855c-fa299548cce5.png
Expand Down Expand Up @@ -797,6 +798,7 @@ This project is [Apache 2.0](./LICENSE) licensed.
[lobe-ui-github]: https://github.com/lobehub/lobe-ui
[lobe-ui-link]: https://www.npmjs.com/package/@lobehub/ui
[lobe-ui-shield]: https://img.shields.io/npm/v/@lobehub/ui?color=369eff&labelColor=black&logo=npm&logoColor=white&style=flat-square
[official-site]: https://lobehub.com
[pr-welcome-link]: https://github.com/lobehub/lobe-chat/pulls
[pr-welcome-shield]: https://img.shields.io/badge/๐Ÿคฏ_pr_welcome-%E2%86%92-ffcb47?labelColor=black&style=for-the-badge
[profile-link]: https://github.com/lobehub
Expand All @@ -819,5 +821,5 @@ This project is [Apache 2.0](./LICENSE) licensed.
[submit-plugin-link]: https://github.com/lobehub/lobe-chat-plugins
[submit-plugin-shield]: https://img.shields.io/badge/๐Ÿงฉ/๐Ÿช_submit_plugin-%E2%86%92-95f3d9?labelColor=black&style=for-the-badge
[vercel-link]: https://chat-preview.lobehub.com
[vercel-shield]: https://img.shields.io/website?down_message=offline&label=vercel&labelColor=black&logo=vercel&style=flat-square&up_message=online&url=https%3A%2F%2Fchat-preview.lobehub.com
[vercel-shield-badge]: https://img.shields.io/website?down_message=offline&label=try%20lobechat&labelColor=black&logo=vercel&style=for-the-badge&up_message=online&url=https%3A%2F%2Fchat-preview.lobehub.com
[vercel-shield]: https://img.shields.io/badge/vercel-online-55b467?labelColor=black&logo=vercel&style=flat-square
[vercel-shield-badge]: https://img.shields.io/badge/TRY%20LOBECHAT-ONLINE-55b467?labelColor=black&logo=vercel&style=for-the-badge
3 changes: 2 additions & 1 deletion docs/self-hosting/advanced/feature-flags.zh-CN.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ tags:
ไฝ ๅฏไปฅ้€š่ฟ‡ไธŠ่ฟฐ้…็ฝฎ่ฏญๆณ•ๆฅๅฎž็Žฐๆ›ดๅคš็š„ๅŠŸ่ƒฝ็ป„ๅˆใ€‚ๆ‰€ๆœ‰็š„ๅŠŸ่ƒฝ้…็ฝฎ้กน้ƒฝๆ˜ฏๅธƒๅฐ”็ฑปๅž‹๏ผŒ้€š่ฟ‡ `+` ๆฅๅฏ็”จ๏ผŒ้€š่ฟ‡ `-` ๆฅๅ…ณ้—ญใ€‚

<Callout type={'tip'}>
ๆณจๆ„๏ผšไธŽ `OPENAI_MODEL_LIST` ๅ˜้‡ไธๅŒ๏ผŒ`FEATURE_FLAGS` ๅ˜้‡ไธๆ”ฏๆŒ `all` ๅ…ณ้”ฎๅญ—๏ผŒไฝ ้œ€่ฆๆ‰‹ๅŠจๆŽงๅˆถๆ‰€ๆœ‰็š„ๅŠŸ่ƒฝๆ ‡ๅฟ—๏ผˆๅฆๅˆ™ๅฎƒไปฌไผš้‡‡็”จๅฏนๅบ”็š„้ป˜่ฎคๅ€ผ๏ผ‰ใ€‚
ๆณจๆ„๏ผšไธŽ `OPENAI_MODEL_LIST` ๅ˜้‡ไธๅŒ๏ผŒ`FEATURE_FLAGS` ๅ˜้‡ไธๆ”ฏๆŒ `all`
ๅ…ณ้”ฎๅญ—๏ผŒไฝ ้œ€่ฆๆ‰‹ๅŠจๆŽงๅˆถๆ‰€ๆœ‰็š„ๅŠŸ่ƒฝๆ ‡ๅฟ—๏ผˆๅฆๅˆ™ๅฎƒไปฌไผš้‡‡็”จๅฏนๅบ”็š„้ป˜่ฎคๅ€ผ๏ผ‰ใ€‚
</Callout>

| ้…็ฝฎ้กน | ่งฃ้‡Š | ้ป˜่ฎคๅ€ผ |
Expand Down
1 change: 1 addition & 0 deletions docs/self-hosting/advanced/model-list.zh-CN.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ tags:
- ๆจกๅž‹ๅฑ•็คบๅ
- ๆจกๅž‹่ƒฝๅŠ›
---

# Model List

LobeChat ๆ”ฏๆŒๅœจ้ƒจ็ฝฒๆ—ถ่‡ชๅฎšไน‰ๆจกๅž‹ๅˆ—่กจ๏ผŒๅฏไปฅไฝฟ็”จ `+` ๅขžๅŠ ไธ€ไธชๆจกๅž‹๏ผŒไฝฟ็”จ `-` ๆฅ้š่—ไธ€ไธชๆจกๅž‹๏ผŒไฝฟ็”จ `ๆจกๅž‹ๅ=ๅฑ•็คบๅ<ๆ‰ฉๅฑ•้…็ฝฎ>` ๆฅ่‡ชๅฎšไน‰ๆจกๅž‹็š„ๅฑ•็คบๅ๏ผŒ็”จ่‹ฑๆ–‡้€—ๅท้š”ๅผ€ใ€‚้€š่ฟ‡ `<>` ๆฅๆทปๅŠ ๆ‰ฉๅฑ•้…็ฝฎใ€‚ๅŸบๆœฌ่ฏญๆณ•ๅฆ‚ไธ‹๏ผš
Expand Down
7 changes: 4 additions & 3 deletions docs/self-hosting/advanced/server-database.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ tags:
- S3 Storage Service
- Configuration Guide
---

# Deploying Server-Side Database

LobeChat defaults to using a client-side database (IndexedDB) but also supports using a server-side database. LobeChat uses Postgres as the backend storage database. PostgreSQL is a powerful open-source relational database management system with high scalability and standard SQL support. It provides rich data types, concurrency control, data integrity, security, and programmability, making it suitable for complex applications and large-scale data management.
Expand Down Expand Up @@ -195,9 +196,9 @@ You have now successfully configured the Clerk identity authentication service.
LobeChat has long supported multimodal AI conversations, involving the function of uploading images to AI. In the client-side database solution, image files are stored as binary data in the browser's indexedDB database. However, this solution is not feasible in the server-side database. We need to configure the S3 storage service to store a large number of image files, and S3 can also serve as a storage solution for file uploads.

<Callout type={'info'}>
In this article, S3 refers to a compatible S3 storage solution, which supports object storage systems
that comply with the Amazon S3 API. Common examples include Cloudflare R2 etc., all of which support
S3-compatible APIs.
In this article, S3 refers to a compatible S3 storage solution, which supports object storage
systems that comply with the Amazon S3 API. Common examples include Cloudflare R2 etc., all of
which support S3-compatible APIs.
</Callout>

<Steps>
Expand Down
1 change: 1 addition & 0 deletions docs/self-hosting/advanced/server-database.zh-CN.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ tags:
- ่บซไปฝ้ชŒ่ฏๆœๅŠก
- ็Žฏๅขƒๅ˜้‡้…็ฝฎ
---

# ไฝฟ็”จๆœๅŠก็ซฏๆ•ฐๆฎๅบ“้ƒจ็ฝฒ

LobeChat ้ป˜่ฎคไฝฟ็”จๅฎขๆˆท็ซฏๆ•ฐๆฎๅบ“๏ผˆIndexedDB๏ผ‰๏ผŒๅŒๆ—ถไนŸๆ”ฏๆŒไฝฟ็”จๆœๅŠก็ซฏๆ•ฐๆฎๅบ“ใ€‚LobeChat ้‡‡็”จไบ† Postgres ไฝœไธบๅŽ็ซฏๅญ˜ๅ‚จๆ•ฐๆฎๅบ“ใ€‚PostgreSQLๆ˜ฏไธ€็งๅผบๅคง็š„ๅผ€ๆบๅ…ณ็ณปๅž‹ๆ•ฐๆฎๅบ“็ฎก็†็ณป็ปŸ๏ผŒๅ…ทๅค‡้ซ˜ๅบฆๆ‰ฉๅฑ•ๆ€งๅ’Œๆ ‡ๅ‡†SQLๆ”ฏๆŒใ€‚ๅฎƒๆไพ›ไบ†ไธฐๅฏŒ็š„ๆ•ฐๆฎ็ฑปๅž‹ใ€ๅนถๅ‘ๅค„็†ใ€ๆ•ฐๆฎๅฎŒๆ•ดๆ€งใ€ๅฎ‰ๅ…จๆ€งๅŠๅฏ็ผ–็จ‹ๆ€ง๏ผŒ้€‚็”จไบŽๅคๆ‚ๅบ”็”จๅ’Œๅคง่ง„ๆจกๆ•ฐๆฎ็ฎก็†ใ€‚
Expand Down
9 changes: 5 additions & 4 deletions docs/self-hosting/advanced/settings-url-share.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ tags:
- LobeChat
- Parameter Schema
---

# Share settings via URL

LobeChat support import settings from external URL to quickly set up LobeChat configuration.
Expand Down Expand Up @@ -71,8 +72,8 @@ console.log(url);

- Property name and type

| Property name | Type |
| ------------- | ------------------------ |
| Property name | Type |
| ------------- | -------------------------- |
| anthropic | `OpenAICompatibleKeyVault` |
| azure | `AzureOpenAIKeyVault` |
| bedrock | `AWSBedrockKeyVault` |
Expand Down Expand Up @@ -118,8 +119,8 @@ console.log(url);
export type UserModelProviderConfig = Record<string, ProviderConfig>;
```

| Property name | Type |
| ------------- | -------------- |
| Property name | Type |
| ------------- | ---------------- |
| anthropic | `ProviderConfig` |
| azure | `ProviderConfig` |
| bedrock | `ProviderConfig` |
Expand Down
9 changes: 5 additions & 4 deletions docs/self-hosting/advanced/settings-url-share.zh-CN.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ tags:
- URL ๅฏผๅ…ฅ
- URL ๅฏผๅ‡บ
---

# URL ๅˆ†ไบซ่ฎพ็ฝฎๅ‚ๆ•ฐ

LobeChat ๆ”ฏๆŒไปŽๅค–้ƒจ URL ๅฏผๅ…ฅ่ฎพ็ฝฎๅ‚ๆ•ฐ๏ผŒไปฅไพฟไบŽๅฟซ้€Ÿ่ฎพ็ฝฎ LobeChat ็š„้…็ฝฎใ€‚
Expand Down Expand Up @@ -69,8 +70,8 @@ console.log(url);

- ๅ‚ๆ•ฐๅŠๅ…ถ็ฑปๅž‹

| ๅ‚ๆ•ฐๅ็งฐ | ็ฑปๅž‹ |
| ---------- | ------------------------ |
| ๅ‚ๆ•ฐๅ็งฐ | ็ฑปๅž‹ |
| ---------- | -------------------------- |
| anthropic | `OpenAICompatibleKeyVault` |
| azure | `AzureOpenAIKeyVault` |
| bedrock | `AWSBedrockKeyVault` |
Expand Down Expand Up @@ -116,8 +117,8 @@ console.log(url);
export type UserModelProviderConfig = Record<string, ProviderConfig>;
```

| ๅ‚ๆ•ฐๅ็งฐ | ็ฑปๅž‹ |
| ---------- | -------------- |
| ๅ‚ๆ•ฐๅ็งฐ | ็ฑปๅž‹ |
| ---------- | ---------------- |
| anthropic | `ProviderConfig` |
| azure | `ProviderConfig` |
| bedrock | `ProviderConfig` |
Expand Down
6 changes: 3 additions & 3 deletions docs/self-hosting/advanced/sso-providers/zitadel.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ http(s)://your-domain/api/auth/callback/zitadel
- You can fill in or modify redirect URIs after creating the application, but make sure the filled
URL is consistent with the deployed URL.

- Replace `http(s)://your-domain` with the actual URL that LobeChat is deployed to.
- Replace `http(s)://your-domain` with the actual URL that LobeChat is deployed to.

</Callout>

Confirm the configuration and click **Create**.
Expand All @@ -76,8 +77,7 @@ Save the **ClientId** and **ClientSecret** for later use.
src="https://github.com/lobehub/lobe-chat/assets/8692892/407b4eed-7f21-4aa6-b68f-9bae2faf09d0"
/>

In the application settings page, navigate to the **Token Settings** tab, enable **User Info inside
ID Token** option, and click **Save**.
In the application settings page, navigate to the **Token Settings** tab, enable **User Info inside ID Token** option, and click **Save**.

<Image
alt="Create ZITADEL Application S7"
Expand Down
3 changes: 2 additions & 1 deletion docs/self-hosting/advanced/sso-providers/zitadel.zh-CN.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ http(s)://your-domain/api/auth/callback/zitadel
<Callout type={'important'}>
- ๅฏไปฅๅˆ›ๅปบๅบ”็”จๅŽๅ†ๅกซๅ†™ๆˆ–ไฟฎๆ”น้‡ๅฎšๅ‘ URL๏ผŒไฝ†่ฏท็กฎไฟๅกซๅ†™็š„ URL ไธŽ้ƒจ็ฝฒ็š„ URL ไธ€่‡ดใ€‚

- ่ฏทๅฐ† `http(s)://your-domain` ๆ›ฟๆขไธบ LobeChat ้ƒจ็ฝฒ็š„ๅฎž้™… URLใ€‚
- ่ฏทๅฐ† `http(s)://your-domain` ๆ›ฟๆขไธบ LobeChat ้ƒจ็ฝฒ็š„ๅฎž้™… URLใ€‚

</Callout>

็กฎ่ฎค้…็ฝฎๅนถ็‚นๅ‡ปใ€Œๅˆ›ๅปบใ€ใ€‚
Expand Down
Loading

0 comments on commit 67e5eea

Please sign in to comment.