GenAI.Session.State (GenAI Core v0.2.0)

Represent status/state such as node state, sessions, message thread, etc.

Link to this section Summary

Link to this section Types

@type t() :: %GenAI.Session.State{
  artifacts: map(),
  data_generators: map(),
  directive_position: non_neg_integer(),
  directives: list(),
  model: term(),
  model_settings: map(),
  monitors: map(),
  options: map(),
  provider_settings: map(),
  safety_settings: map(),
  settings: map(),
  stack: map(),
  thread: list(),
  thread_messages: map(),
  tools: map(),
  vsn: float()
}

Link to this section Functions

Link to this function

entry_path(arg)

Link to this function

initialize(state, runtime, context, options \\ nil)

Link to this function

monitor(state, runtime, context, options \\ nil)

Link to this function

new(options \\ nil)