ReasoningInput
public record ReasoningInput(List<Msg> messages, List<ToolSchema> tools, GenerateOptions options)
源码Source
io/agentscope/core/middleware/ReasoningInput.java:30用于MiddlewareBase#onReasoning的输入上下文。位于 io.agentscope.core.middleware 包。核心成员包括 messages、tools、options。
Input context for MiddlewareBase#onReasoning.
记录组件摘要Record Component Summary
| 组件Component | 类型Type | 说明Description |
|---|---|---|
messages | List<Msg> | 消息到发送到模型。 the messages to send to the model |
tools | List<ToolSchema> | 工具模式可用到模型。 the tool schemas available to the model |
options | GenerateOptions | 执行选项相关操作。 generation options |
记录组件详情Record Component Detail
messages
List<Msg> messages消息到发送到模型。
the messages to send to the model
源码Source
io/agentscope/core/middleware/ReasoningInput.java:30tools
List<ToolSchema> tools工具模式可用到模型。
the tool schemas available to the model
源码Source
io/agentscope/core/middleware/ReasoningInput.java:30options
GenerateOptions options执行选项相关操作。
generation options
源码Source
io/agentscope/core/middleware/ReasoningInput.java:30