AS AgentScopeAPI 手册 / API Reference

StructuredOutputReminder

public enum StructuredOutputReminder
源码Source io/agentscope/core/model/StructuredOutputReminder.java:25–51

定义结构化输出 Reminder相关取值的枚举。位于 io.agentscope.core.model 包。核心成员包括 TOOL_CHOICE、PROMPT。

Configuration for how to ensure the model calls generate_response tool in structured output mode.

This enum controls the mechanism used to enforce that the model calls the temporary generate_response tool when generating structured output.

枚举常量摘要Enum Constant Summary

常量Constant说明Description
TOOL_CHOICE
执行工具选项相关操作。
Use tool_choice API parameter to force the tool call when the model doesn't call it voluntarily.
PROMPT
执行提示词相关操作。
Inject reminder prompt when model doesn't call the tool.

枚举常量详情Enum Constant Detail

TOOL_CHOICE

TOOL_CHOICE
staticfinal

执行工具选项相关操作。

Use tool_choice API parameter to force the tool call when the model doesn't call it voluntarily.

源码Source io/agentscope/core/model/StructuredOutputReminder.java:40

PROMPT

PROMPT
staticfinal

执行提示词相关操作。

Inject reminder prompt when model doesn't call the tool.

源码Source io/agentscope/core/model/StructuredOutputReminder.java:50
基于官方固定版本源码静态生成Generated from pinned official sources · Python 2.0.11 · Java 2.0.4
签名与文档为静态抽取;如有疑问请以源码为准。Signatures and docs are extracted statically; verify against the source when in doubt.