ToolCallConfig
ToolCallConfigDict
get_tool_call_config_dict
Name | Description |
---|---|
config | The config to convert. |
Name | Description |
---|---|
[ToolCallConfigDict](/sdk/python/references/logger/components/tool_call) | The tool call config dict. |
ToolCallError
get_tool_call_error_dict
Name | Description |
---|---|
error | The error to convert. |
ToolCall
__init__
Name | Description |
---|---|
config | The config to initialize the tool call with. |
writer | The writer to use. |
update
Name | Description |
---|---|
data | The data to update the tool call with. |
update_
Name | Description |
---|---|
writer | The writer to use. |
id | The id of the tool call to update. |
data | The data to update the tool call with. |
result_
Name | Description |
---|---|
writer | The writer to use. |
id | The id of the tool call to update. |
result | The result to update the tool call with. |
attach_evaluators
Name | Description |
---|---|
evaluators | The evaluators to attach to the tool call. |
result
Name | Description |
---|---|
result | The result to update the tool call with. |
error
Name | Description |
---|---|
error | The tool call error. |
error_
Name | Description |
---|---|
writer | The writer to use. |
id | The id of the tool call to add the error to. |
error | The tool call error. |