Skip to content

Commit

Permalink
🔧 chore: Add CDN workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
canisminor1990 committed Dec 10, 2024
1 parent e81402d commit e4f1fd2
Show file tree
Hide file tree
Showing 17 changed files with 703 additions and 30 deletions.
22 changes: 22 additions & 0 deletions docs/.cdn.cache.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"https://github.com/user-attachments/assets/03433283-08a5-481a-8f6c-069b2fc6bace": "https://hub-apac-1.lobeobjects.space/blog/assets/8d4c2cc0ce8654fa8ac06cc036a7f941.webp",
"https://github.com/user-attachments/assets/0e3a7174-6b66-4432-a319-dff60b033c24": "https://hub-apac-1.lobeobjects.space/blog/assets/39d7890f8cbe21e77db8d3c94f7f22e4.webp",
"https://github.com/user-attachments/assets/2048b4c2-4a56-4029-acf9-71e35ff08652": "https://hub-apac-1.lobeobjects.space/blog/assets/d9cbfcbef130183bc490d515d8a38aa4.webp",
"https://github.com/user-attachments/assets/29508dda-2382-430f-bc81-fb23f02149f8": "https://hub-apac-1.lobeobjects.space/blog/assets/29b13dc042e3b839ad8865354afe2fac.webp",
"https://github.com/user-attachments/assets/2a4116a7-15ad-43e5-b801-cc62d8da2012": "https://hub-apac-1.lobeobjects.space/blog/assets/37d85fdfccff9ed56e9c6827faee01c7.webp",
"https://github.com/user-attachments/assets/385eaca6-daea-484a-9bea-ba7270b4753d": "https://hub-apac-1.lobeobjects.space/blog/assets/d6129350de510a62fe87b2d2f0fb9477.webp",
"https://github.com/user-attachments/assets/484f28f4-017c-4ed7-948b-4a8d51f0b63a": "https://hub-apac-1.lobeobjects.space/blog/assets/5bbb4b421d6df63780b3c7a05f5a102d.webp",
"https://github.com/user-attachments/assets/533f7a5e-8a93-4a57-a62f-8233897d72b5": "https://hub-apac-1.lobeobjects.space/blog/assets/9498087e85f27e692716a63cb3b58d79.webp",
"https://github.com/user-attachments/assets/6069332b-8e15-4d3c-8a77-479e8bc09c23": "https://hub-apac-1.lobeobjects.space/blog/assets/603fefbb944bc6761ebdab5956fc0084.webp",
"https://github.com/user-attachments/assets/635f1c74-6327-48a8-a8d9-68d7376c7749": "https://hub-apac-1.lobeobjects.space/blog/assets/f6d047a345e47a52592cff916c9a64ce.webp",
"https://github.com/user-attachments/assets/6935e155-4a1d-4ab7-a61a-2b813d65bb7b": "https://hub-apac-1.lobeobjects.space/blog/assets/6ee2609d79281b6b915e317461013f31.webp",
"https://github.com/user-attachments/assets/82bfc467-e0c6-4d99-9b1f-18e4aea24285": "https://hub-apac-1.lobeobjects.space/blog/assets/eb477e62217f4d1b644eff975c7ac168.webp",
"https://github.com/user-attachments/assets/aee846d5-b5ee-46cb-9dd0-d952ea708b67": "https://hub-apac-1.lobeobjects.space/blog/assets/8a8d361b4c0cce6da350cc0de65c0ad6.webp",
"https://github.com/user-attachments/assets/bd6d0c82-8f14-4167-ad09-2a841f1e34e4": "https://hub-apac-1.lobeobjects.space/blog/assets/d7e57f8e69f97b76b3c2414f3441b6e4.webp",
"https://github.com/user-attachments/assets/c68e88e4-cf2e-4122-82bc-89ba193b1eb4": "https://hub-apac-1.lobeobjects.space/blog/assets/1f6c4f1c5e6211735ca4924c7807aca1.webp",
"https://github.com/user-attachments/assets/dde2c9c5-cdda-4a65-8f32-b6f4da907df2": "https://hub-apac-1.lobeobjects.space/blog/assets/d47654360d626f80144cdedb979a3526.webp",
"https://github.com/user-attachments/assets/e70c2db6-05c9-43ea-b111-6f6f99e0ae88": "https://hub-apac-1.lobeobjects.space/blog/assets/944c671604833cd2457445b211ebba33.webp",
"https://github.com/user-attachments/assets/eaed3762-136f-4297-b161-ca92a27c4982": "https://hub-apac-1.lobeobjects.space/blog/assets/50b38eac1769ae6f13aef72f3d725eec.webp",
"https://github.com/user-attachments/assets/eb3f3d8a-79ce-40aa-a206-2c846206c0c0": "https://hub-apac-1.lobeobjects.space/blog/assets/f10a4b98782e36797c38071eed785c6f.webp",
"https://github.com/user-attachments/assets/fa8fab19-ace2-4f85-8428-a3a0e28845bb": "https://hub-apac-1.lobeobjects.space/blog/assets/2d678631c55369ba7d753c3ffcb73782.webp"
}
7 changes: 5 additions & 2 deletions docs/changelog/2024-07-19-gpt-4o-mini.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
---
title: LobeChat Fully Enters the GPT-4 Era: GPT-4o Mini Officially Launched
description: LobeChat v1.6 has been released with support for GPT-4o mini, while LobeChat Cloud services have been fully upgraded to provide users with a more powerful AI conversation experience.
title: 'LobeChat Fully Enters the GPT-4 Era: GPT-4o Mini Officially Launched'
description: >-
LobeChat v1.6 has been released with support for GPT-4o mini, while LobeChat
Cloud services have been fully upgraded to provide users with a more powerful
AI conversation experience.
---

# GPT-4o Mini Makes a Stunning Debut, Ushering in a New GPT-4 Era 🚀
Expand Down
9 changes: 7 additions & 2 deletions docs/changelog/2024-08-21-file-upload-and-knowledge-base.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
---
title: LobeChat Launches Knowledge Base Feature: A New Experience in Intelligent File Management and Dialogue
description: LobeChat introduces a brand new knowledge base feature that supports all types of file management, intelligent vectorization, and file dialogue, making knowledge management and information retrieval easier and smarter.
title: >-
LobeChat Launches Knowledge Base Feature: A New Experience in Intelligent File
Management and Dialogue
description: >-
LobeChat introduces a brand new knowledge base feature that supports all types
of file management, intelligent vectorization, and file dialogue, making
knowledge management and information retrieval easier and smarter.
---

# Major Release of Knowledge Base Feature: A Revolution in Intelligent File Management and Dialogue
Expand Down
7 changes: 5 additions & 2 deletions docs/changelog/2024-09-20-artifacts.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
---
title: Major Update: LobeChat Enters the Era of Artifacts
description: LobeChat v1.19 brings significant updates, including full feature support for Claude Artifacts, a brand new discovery page design, and support for GitHub Models providers, greatly enhancing the capabilities of the AI assistant.
title: 'Major Update: LobeChat Enters the Era of Artifacts'
description: >-
LobeChat v1.19 brings significant updates, including full feature support for
Claude Artifacts, a brand new discovery page design, and support for GitHub
Models providers, greatly enhancing the capabilities of the AI assistant.
---

# Major Update: LobeChat Enters the Era of Artifacts
Expand Down
4 changes: 2 additions & 2 deletions docs/changelog/2024-10-27-pin-assistant.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ In version v1.26.0, we are excited to introduce a long-awaited new feature — t
- **Space Optimization**: Activating the sidebar automatically hides the conversation list, providing you with a larger conversation area.
- **Intelligent Display**: Automatically syncs pinned assistants to the sidebar, ensuring that important assistants are always within view.

![Sidebar Display Effect](https://github.com/user-attachments/assets/6935e155-4a1d-4ab7-a61a-2b813d65bb7b)
![Sidebar Display Effect](https://hub-apac-1.lobeobjects.space/blog/assets/6ee2609d79281b6b915e317461013f31.webp)

![Conversation Interface Effect](https://github.com/user-attachments/assets/c68e88e4-cf2e-4122-82bc-89ba193b1eb4)
![Conversation Interface Effect](https://hub-apac-1.lobeobjects.space/blog/assets/1f6c4f1c5e6211735ca4924c7807aca1.webp)

## How to Use

Expand Down
4 changes: 2 additions & 2 deletions docs/changelog/2024-10-27-pin-assistant.zh-CN.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ description: LobeChat v1.26.0 推出助手常驻侧边栏功能,支持快捷
- **空间优化**:激活侧边栏时会自动隐藏会话列表,为您腾出更大的对话空间
- **智能显示**:将置顶助手自动同步到侧边栏,让重要助手始终在视线范围内

![侧边栏展示效果](https://github.com/user-attachments/assets/6935e155-4a1d-4ab7-a61a-2b813d65bb7b)
![侧边栏展示效果](https://hub-apac-1.lobeobjects.space/blog/assets/6ee2609d79281b6b915e317461013f31.webp)

![对话界面效果](https://github.com/user-attachments/assets/c68e88e4-cf2e-4122-82bc-89ba193b1eb4)
![对话界面效果](https://hub-apac-1.lobeobjects.space/blog/assets/1f6c4f1c5e6211735ca4924c7807aca1.webp)

## 如何使用

Expand Down
4 changes: 2 additions & 2 deletions docs/changelog/2024-11-06-share-text-json.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ In the latest version v1.28.0, we have launched the text format export feature f

The Markdown export feature meets users' needs for directly using conversation content in note-taking and document writing. You can easily save valuable conversation content and manage it across various note-taking applications for reuse.

![Exporting Conversations as Markdown Text](https://github.com/user-attachments/assets/29508dda-2382-430f-bc81-fb23f02149f8)
![Exporting Conversations as Markdown Text](https://hub-apac-1.lobeobjects.space/blog/assets/29b13dc042e3b839ad8865354afe2fac.webp)

Additionally, we support exporting conversations in JSON format that complies with OpenAI messages specifications. This format can be used directly for API debugging and serves as high-quality training data for models.

![Exporting Conversations as JSON in OpenAI API Specification](https://github.com/user-attachments/assets/484f28f4-017c-4ed7-948b-4a8d51f0b63a)
![Exporting Conversations as JSON in OpenAI API Specification](https://hub-apac-1.lobeobjects.space/blog/assets/5bbb4b421d6df63780b3c7a05f5a102d.webp)

It is particularly noteworthy that we retain the original data of Tools Calling within the conversation, which is crucial for enhancing the model's tool invocation capabilities.

Expand Down
4 changes: 2 additions & 2 deletions docs/changelog/2024-11-06-share-text-json.zh-CN.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ description: >-

Markdown 格式导出功能满足了用户将对话内容直接用于笔记和文档撰写的需求。您可以轻松地将有价值的对话内容保存下来,并在各类笔记软件中进行管理和复用。

![将对话导出为 Markdown 格式文本](https://github.com/user-attachments/assets/29508dda-2382-430f-bc81-fb23f02149f8)
![将对话导出为 Markdown 格式文本](https://hub-apac-1.lobeobjects.space/blog/assets/29b13dc042e3b839ad8865354afe2fac.webp)

同时,我们还支持将对话导出为符合 OpenAI messages 规范的 JSON 格式。这种格式不仅可以直接用于 API 调试,还能作为高质量的模型训练语料。

![将对话导出为 OpenAI 接口规范的 JSON](https://github.com/user-attachments/assets/484f28f4-017c-4ed7-948b-4a8d51f0b63a)
![将对话导出为 OpenAI 接口规范的 JSON](https://hub-apac-1.lobeobjects.space/blog/assets/5bbb4b421d6df63780b3c7a05f5a102d.webp)

特别值得一提的是,我们会完整保留对话中的 Tools Calling 原始数据,这对提升模型的工具调用能力具有重要价值。

Expand Down
32 changes: 16 additions & 16 deletions docs/changelog/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,97 +3,97 @@
"cloud": [],
"community": [
{
"image": "https://github.com/user-attachments/assets/2048b4c2-4a56-4029-acf9-71e35ff08652",
"image": "https://hub-apac-1.lobeobjects.space/blog/assets/d9cbfcbef130183bc490d515d8a38aa4.webp",
"id": "2024-11-27-forkable-chat",
"date": "2024-11-27",
"versionRange": ["1.34.0", "1.33.1"]
},
{
"image": "https://github.com/user-attachments/assets/fa8fab19-ace2-4f85-8428-a3a0e28845bb",
"image": "https://hub-apac-1.lobeobjects.space/blog/assets/2d678631c55369ba7d753c3ffcb73782.webp",
"id": "2024-11-25-november-providers",
"date": "2024-11-25",
"versionRange": ["1.33.0", "1.30.1"]
},
{
"image": "https://github.com/user-attachments/assets/eb3f3d8a-79ce-40aa-a206-2c846206c0c0",
"image": "https://hub-apac-1.lobeobjects.space/blog/assets/f10a4b98782e36797c38071eed785c6f.webp",
"id": "2024-11-06-share-text-json",
"date": "2024-11-06",
"versionRange": ["1.28.0", "1.26.1"]
},
{
"image": "https://github.com/user-attachments/assets/e70c2db6-05c9-43ea-b111-6f6f99e0ae88",
"image": "https://hub-apac-1.lobeobjects.space/blog/assets/944c671604833cd2457445b211ebba33.webp",
"id": "2024-10-27-pin-assistant",
"date": "2024-10-27",
"versionRange": ["1.26.0", "1.19.1"]
},
{
"image": "https://github.com/user-attachments/assets/635f1c74-6327-48a8-a8d9-68d7376c7749",
"image": "https://hub-apac-1.lobeobjects.space/blog/assets/f6d047a345e47a52592cff916c9a64ce.webp",
"id": "2024-09-20-artifacts",
"date": "2024-09-20",
"versionRange": ["1.19.0", "1.17.1"]
},
{
"image": "https://github.com/user-attachments/assets/bd6d0c82-8f14-4167-ad09-2a841f1e34e4",
"image": "https://hub-apac-1.lobeobjects.space/blog/assets/d7e57f8e69f97b76b3c2414f3441b6e4.webp",
"id": "2024-09-13-openai-o1-models",
"date": "2024-09-13",
"versionRange": ["1.17.0", "1.12.1"]
},
{
"image": "https://github.com/user-attachments/assets/385eaca6-daea-484a-9bea-ba7270b4753d",
"image": "https://hub-apac-1.lobeobjects.space/blog/assets/d6129350de510a62fe87b2d2f0fb9477.webp",
"id": "2024-08-21-file-upload-and-knowledge-base",
"date": "2024-08-21",
"versionRange": ["1.12.0", "1.8.1"]
},
{
"image": "https://github.com/user-attachments/assets/2a4116a7-15ad-43e5-b801-cc62d8da2012",
"image": "https://hub-apac-1.lobeobjects.space/blog/assets/37d85fdfccff9ed56e9c6827faee01c7.webp",
"id": "2024-08-02-lobe-chat-database-docker",
"date": "2024-08-02",
"versionRange": ["1.8.0", "1.6.1"]
},
{
"image": "https://github.com/user-attachments/assets/0e3a7174-6b66-4432-a319-dff60b033c24",
"image": "https://hub-apac-1.lobeobjects.space/blog/assets/39d7890f8cbe21e77db8d3c94f7f22e4.webp",
"id": "2024-07-19-gpt-4o-mini",
"date": "2024-07-19",
"versionRange": ["1.6.0", "1.0.1"]
},
{
"image": "https://github.com/user-attachments/assets/82bfc467-e0c6-4d99-9b1f-18e4aea24285",
"image": "https://hub-apac-1.lobeobjects.space/blog/assets/eb477e62217f4d1b644eff975c7ac168.webp",
"id": "2024-06-19-lobe-chat-v1",
"date": "2024-06-19",
"versionRange": ["1.0.0", "0.147.0"]
},
{
"image": "https://github.com/user-attachments/assets/aee846d5-b5ee-46cb-9dd0-d952ea708b67",
"image": "https://hub-apac-1.lobeobjects.space/blog/assets/8a8d361b4c0cce6da350cc0de65c0ad6.webp",
"id": "2024-02-14-ollama",
"date": "2024-02-14",
"versionRange": ["0.127.0", "0.125.1"]
},
{
"image": "https://github.com/user-attachments/assets/533f7a5e-8a93-4a57-a62f-8233897d72b5",
"image": "https://hub-apac-1.lobeobjects.space/blog/assets/9498087e85f27e692716a63cb3b58d79.webp",
"id": "2024-02-08-sso-oauth",
"date": "2024-02-08",
"versionRange": ["0.125.0", "0.118.1"]
},
{
"image": "https://github.com/user-attachments/assets/6069332b-8e15-4d3c-8a77-479e8bc09c23",
"image": "https://hub-apac-1.lobeobjects.space/blog/assets/603fefbb944bc6761ebdab5956fc0084.webp",
"id": "2023-12-22-dalle-3",
"date": "2023-12-22",
"versionRange": ["0.118.0", "0.102.1"]
},
{
"image": "https://github.com/user-attachments/assets/03433283-08a5-481a-8f6c-069b2fc6bace",
"image": "https://hub-apac-1.lobeobjects.space/blog/assets/8d4c2cc0ce8654fa8ac06cc036a7f941.webp",
"id": "2023-11-19-tts-stt",
"date": "2023-11-19",
"versionRange": ["0.102.0", "0.101.1"]
},
{
"image": "https://github.com/user-attachments/assets/dde2c9c5-cdda-4a65-8f32-b6f4da907df2",
"image": "https://hub-apac-1.lobeobjects.space/blog/assets/d47654360d626f80144cdedb979a3526.webp",
"id": "2023-11-14-gpt4-vision",
"date": "2023-11-14",
"versionRange": ["0.101.0", "0.90.0"]
},
{
"image": "https://github.com/user-attachments/assets/eaed3762-136f-4297-b161-ca92a27c4982",
"image": "https://hub-apac-1.lobeobjects.space/blog/assets/50b38eac1769ae6f13aef72f3d725eec.webp",
"id": "2023-09-09-plugin-system",
"date": "2023-09-09",
"versionRange": ["0.72.0", "0.67.0"]
Expand Down
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@
"test:update": "vitest -u",
"type-check": "tsc --noEmit",
"webhook:ngrok": "ngrok http http://localhost:3011",
"workflow:cdn": "tsx ./scripts/cdnWorkflow/index.ts",
"workflow:changelog": "tsx ./scripts/changelogWorkflow/index.ts",
"workflow:countCharters": "tsx scripts/countEnWord.ts",
"workflow:docs": "tsx ./scripts/docsWorkflow/index.ts",
Expand Down Expand Up @@ -252,6 +253,7 @@
"@testing-library/jest-dom": "^6.6.2",
"@testing-library/react": "^16.0.1",
"@types/chroma-js": "^2.4.4",
"@types/crypto-js": "^4.2.2",
"@types/debug": "^4.1.12",
"@types/diff": "^6.0.0",
"@types/fs-extra": "^11.0.4",
Expand All @@ -275,6 +277,7 @@
"ajv-keywords": "^5.1.0",
"commitlint": "^19.5.0",
"consola": "^3.2.3",
"crypto-js": "^4.2.0",
"dotenv": "^16.4.5",
"dpdm-fast": "^1.0.4",
"drizzle-kit": "^0.29.0",
Expand All @@ -292,6 +295,7 @@
"lodash": "^4.17.21",
"markdown-table": "^3.0.3",
"markdown-to-txt": "^2.0.1",
"mime": "^4.0.4",
"node-fetch": "^3.3.2",
"node-gyp": "^10.2.0",
"openapi-typescript": "^6.7.6",
Expand Down
Loading

0 comments on commit e4f1fd2

Please sign in to comment.