flexeval.classes.message#

class flexeval.classes.message.Message(**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

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

format_input_for_rubric

get

get_by_id

get_completion

get_content

get_context

get_formatted_prompt

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