flexeval.classes.tool_call#

class flexeval.classes.tool_call.ToolCall(**kwargs)[source]#

Bases: BaseModel

Holds a single component of a single turn Corresponds to one output of a node in LangGraph or one Turn in jsonl

Attributes:
dirty_fields

Methods

get_dict_representation()

Get a dictionary representation of the content of this toolcall, suitable for passing to function metrics that need a standard Python data structure representation of a tool call.

DoesNotExist

add_index

alias

bind

bind_ctx

bulk_create

bulk_update

clone

coerce

copy

create

create_table

delete

delete_by_id

delete_instance

dependencies

drop_table

filter

get

get_by_id

get_id

get_or_create

get_or_none

index

insert

insert_from

insert_many

is_alias

is_dirty

noop

raw

replace

replace_many

save

select

set_by_id

table_exists

truncate_table

unwrap

update

validate_model