[RFC] X SDK
#903
Replies: 4 comments 1 reply
-
good |
Beta Was this translation helpful? Give feedback.
0 replies
-
useXConversations 处理很可以 #209 |
Beta Was this translation helpful? Give feedback.
1 reply
-
XMCPClientConfig 只支持 request应该不够用 如果是node runtime可以读文件配置 |
Beta Was this translation helpful? Give feedback.
0 replies
-
reload 这块可能会导致message变成数组 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
X SDK提供可以独立使用的辅助工具,帮忙开发者在构建AI应用时,更加方便的和大模型进行数据请求交互,以及处理UI组件渲染使用的数据。
Motivation
主要进行工具集能力增强:
Detailed Design
API
UI Helper
useXChat
对话数据管理,2.0移除了useXAgent,避免概念混淆,直接传入XRequest进行数据请求的处理。原本useXChat上的部分请求数据处理也统一在XRequest进行配置。
useXConversations
新增多会话数据管理,可以和useXChat结合,Conversation和Chat数据通过conversationKey关联
Tools
XStream
保持1.0版本基本不变,做Stream转换用
XRequest
定义为请求工具,不带llm属性,如果需要和llm(OpenAI Compatible)交互,使用XModel
新增能力:
XModel
基于XRequest封装的OpenAI Compatible的大模型数据交互工具
XMCPClient
MCP客户端类,tools获取部分?
0 votes ·
Beta Was this translation helpful? Give feedback.
All reactions