MCPcopy Create free account
hub / github.com/Mercury7353/PyBench / DataType

Class DataType

llms/schema.py:25–35  ·  view source on GitHub ↗

function call中,参数支持的数据类型 包括整数、字符串、小数、布尔值、列表、字典

Source from the content-addressed store, hash-verified

23
24
25class DataType(Enum):
26 """function call中,参数支持的数据类型
27 包括整数、字符串、小数、布尔值、列表、字典
28 """
29
30 INTEGER: str = "integer"
31 STRING: str = "string"
32 NUMBER: str = "number"
33 BOOLEAN: str = "boolean"
34 ARRAY: str = "array"
35 OBJECT: str = "object"
36
37
38class ToolProperty(BaseModel):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected