Skip to content

Commit

Permalink
docs(development): update model adapter documentation
Browse files Browse the repository at this point in the history
- 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
  • Loading branch information
dingyi222666 committed Nov 13, 2024
1 parent b18cb9e commit 2d1d1f4
Show file tree
Hide file tree
Showing 3 changed files with 508 additions and 10 deletions.
18 changes: 9 additions & 9 deletions docs/.vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -495,10 +495,6 @@ function sidebarDevelopment(): DefaultTheme.SidebarItem[] {
text: '模型工具',
link: '/development/connect-to-core-services/model-tool',
},
{
text: '中间件',
link: '/development/connect-to-core-services/middleware',
},
{
text: '消息读取',
link: '/development/connect-to-core-services/message-read',
Expand All @@ -512,20 +508,20 @@ function sidebarDevelopment(): DefaultTheme.SidebarItem[] {
text: 'ChatLuna 服务 (ChatLuna Service)',
link: '/development/api-reference/chatluna-service',
},
{
text: 'ChatLuna 中间件聊天链(ChatChain)',
link: '/development/api-reference/chatluna-chat-chain',
},
{
text: 'ChatLuna 插件(ChatLuna Plugin)',
link: '/development/api-reference/chatluna-plugin',
},
{
text: 'ChatLuna 事件(ChatLuna Events)',
link: '/development/api-reference/chatluna-events',
},
{
text: 'ChatLuna 大语言模型核心 (LLM Core)',
collapsed: true,
items: [
{
text: '人格预设 (Preset Template)',
text: '预设 (Preset Template)',
link: '/development/api-reference/llm-core/preset-template',
},
{
Expand Down Expand Up @@ -554,6 +550,10 @@ function sidebarDevelopment(): DefaultTheme.SidebarItem[] {
text: '请求工具 (request)',
link: '/development/api-reference/chatluna-utils/request',
},
{
text: 'SSE 工具 (sse)',
link: '/development/api-reference/chatluna-utils/sse',
},
],
},
],
Expand Down
Loading

0 comments on commit 2d1d1f4

Please sign in to comment.