agentscope.constants module
Some constants used in the project
-
class ResponseFormat(value)[源代码]
基类:IntEnum
Enum for model response format.
-
JSON = 1
-
NONE = 0
-
class ShrinkPolicy(value)[源代码]
基类:IntEnum
Enum for shrink strategies when the prompt is too long.
-
SUMMARIZE = 1
-
TRUNCATE = 0