GenAI.Records.Session (GenAI Core v0.1.1)
Records used by for preparing/encoding VNextGenAI.Session
Link to this section Summary
Types
Settings to calculate constraints for entry.
Effective value for entry as of point in graph.
Reference to a session entry with finger print and tracking fields for invalidation tracking.
Reference to a model entry.
Reference to a model-specific setting entry.
Reference to an option entry.
Indicate no further nodes to process.
Indicate error occured while processing node.
Indicate node to process next.
Scope change list.
Indicate a blocking call/condition must be met before proceeding.
Reference to a provider-specific setting entry.
Scope/context. Node, Graph, State, Runtime, etc.
Settings to calculate effective/tentative value for entry.
Session Dynamic Entry Records
Reference to a setting entry.
Reference to a stack entry.
Tentative value for entry as of point in graph.
Reference to a tool entry.
Link to this section Types
constraint()
@type constraint() :: {:constraint, id :: any(), handle :: any(), for :: any(), value :: any(), directive :: any(), inserted_at :: any(), updated_at :: any(), impacts :: [any()], references :: [any()]}
Settings to calculate constraints for entry.
effective_value()
@type effective_value() :: {:effective_value, id :: any(), handle :: any(), value :: any(), finger_print :: any(), expired? :: term(), inserted_at :: any(), updated_at :: any()}
Effective value for entry as of point in graph.
entry_reference()
@type entry_reference() :: {:entry_reference, entry :: session_entry(), expired? :: term(), finger_print :: any(), inserted_at :: any(), updated_at :: any()}
Reference to a session entry with finger print and tracking fields for invalidation tracking.
model_entry()
@type model_entry() :: {:model_entry}
Reference to a model entry.
model_setting_entry()
Reference to a model-specific setting entry.
option_entry()
@type option_entry() :: {:option_entry, option :: any()}
Reference to an option entry.
process_end()
@type process_end() :: {:process_end, exit_on :: any(), update :: process_update()}
Indicate no further nodes to process.
process_error()
@type process_error() :: {:process_error, error :: any(), update :: process_update()}
Indicate error occured while processing node.
process_next()
@type process_next() :: {:process_next, link :: any(), update :: process_update()}
Indicate node to process next.
process_update()
@type process_update() :: {:process_update, graph_node :: any(), graph_link :: any(), graph_container :: any(), session_state :: any(), session_runtime :: any()}
Scope change list.
process_yield()
@type process_yield() :: {:process_yield, yield_for :: any(), update :: process_update()}
Indicate a blocking call/condition must be met before proceeding.
provider_setting_entry()
Reference to a provider-specific setting entry.
scope()
@type scope() :: {:scope, graph_node :: any(), graph_link :: any(), graph_container :: any(), session_state :: any(), session_runtime :: any()}
Scope/context. Node, Graph, State, Runtime, etc.
selector()
@type selector() :: {:selector, id :: any(), handle :: any(), for :: any(), value :: any(), directive :: any(), inserted_at :: any(), updated_at :: any(), impacts :: [any()], references :: [any()]}
Settings to calculate effective/tentative value for entry.
session_entry()
@type session_entry() :: stack_entry() | option_entry() | setting_entry() | tool_entry() | model_entry() | model_setting_entry() | provider_setting_entry()
Session Dynamic Entry Records
setting_entry()
@type setting_entry() :: {:setting_entry, setting :: any()}
Reference to a setting entry.
stack_entry()
@type stack_entry() :: {:stack_entry, item :: any()}
Reference to a stack entry.
tentative_value()
@type tentative_value() :: {:tentative_value, id :: any(), handle :: any(), value :: any(), finger_print :: any(), inserted_at :: any(), updated_at :: any()}
Tentative value for entry as of point in graph.
tool_entry()
@type tool_entry() :: {:tool_entry, tool :: any()}
Reference to a tool entry.