Skip to content

Commit 2d1d1f4

Browse files
committed
docs(development): update model adapter documentation
- Remove middleware item from sidebar - Add embedding model support to documentation - Update language model documentation with new details - Include notes on using plugin.fetch for network requests
1 parent b18cb9e commit 2d1d1f4

File tree

3 files changed

+508
-10
lines changed

3 files changed

+508
-10
lines changed

docs/.vitepress/config.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -495,10 +495,6 @@ function sidebarDevelopment(): DefaultTheme.SidebarItem[] {
495495
text: '模型工具',
496496
link: '/development/connect-to-core-services/model-tool',
497497
},
498-
{
499-
text: '中间件',
500-
link: '/development/connect-to-core-services/middleware',
501-
},
502498
{
503499
text: '消息读取',
504500
link: '/development/connect-to-core-services/message-read',
@@ -512,20 +508,20 @@ function sidebarDevelopment(): DefaultTheme.SidebarItem[] {
512508
text: 'ChatLuna 服务 (ChatLuna Service)',
513509
link: '/development/api-reference/chatluna-service',
514510
},
515-
{
516-
text: 'ChatLuna 中间件聊天链(ChatChain)',
517-
link: '/development/api-reference/chatluna-chat-chain',
518-
},
519511
{
520512
text: 'ChatLuna 插件(ChatLuna Plugin)',
521513
link: '/development/api-reference/chatluna-plugin',
522514
},
515+
{
516+
text: 'ChatLuna 事件(ChatLuna Events)',
517+
link: '/development/api-reference/chatluna-events',
518+
},
523519
{
524520
text: 'ChatLuna 大语言模型核心 (LLM Core)',
525521
collapsed: true,
526522
items: [
527523
{
528-
text: '人格预设 (Preset Template)',
524+
text: '预设 (Preset Template)',
529525
link: '/development/api-reference/llm-core/preset-template',
530526
},
531527
{
@@ -554,6 +550,10 @@ function sidebarDevelopment(): DefaultTheme.SidebarItem[] {
554550
text: '请求工具 (request)',
555551
link: '/development/api-reference/chatluna-utils/request',
556552
},
553+
{
554+
text: 'SSE 工具 (sse)',
555+
link: '/development/api-reference/chatluna-utils/sse',
556+
},
557557
],
558558
},
559559
],

0 commit comments

Comments
 (0)