Create FunctionCallData from dict arguments.
(cls, name: str, arguments: dict[str, Any])
| 65 | |
| 66 | @classmethod |
| 67 | def from_dict_args(cls, name: str, arguments: dict[str, Any]) -> "FunctionCallData": |
| 68 | """Create FunctionCallData from dict arguments.""" |
| 69 | return cls(name=name, arguments=json.dumps(arguments)) |
| 70 | |
| 71 | |
| 72 | class ToolCallData(BaseModel): |
no outgoing calls