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

Link to this type

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.

Link to this type

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.

Link to this type

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.

Link to this type

model_entry()

@type model_entry() :: {:model_entry}

Reference to a model entry.

Link to this type

model_setting_entry()

@type model_setting_entry() ::
  {:model_setting_entry, model :: any(), setting :: any()}

Reference to a model-specific setting entry.

Link to this type

option_entry()

@type option_entry() :: {:option_entry, option :: any()}

Reference to an option entry.

Link to this type

process_end()

@type process_end() :: {:process_end, exit_on :: any(), update :: process_update()}

Indicate no further nodes to process.

Link to this type

process_error()

@type process_error() :: {:process_error, error :: any(), update :: process_update()}

Indicate error occured while processing node.

Link to this type

process_next()

@type process_next() :: {:process_next, link :: any(), update :: process_update()}

Indicate node to process next.

Link to this type

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.

Link to this type

process_yield()

@type process_yield() ::
  {:process_yield, yield_for :: any(), update :: process_update()}

Indicate a blocking call/condition must be met before proceeding.

Link to this type

provider_setting_entry()

@type provider_setting_entry() ::
  {:provider_setting_entry, provider :: any(), setting :: any()}

Reference to a provider-specific setting entry.

@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.

@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.

Link to this type

session_entry()

Session Dynamic Entry Records

Link to this type

setting_entry()

@type setting_entry() :: {:setting_entry, setting :: any()}

Reference to a setting entry.

Link to this type

stack_entry()

@type stack_entry() :: {:stack_entry, item :: any()}

Reference to a stack entry.

Link to this type

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.

Link to this type

tool_entry()

@type tool_entry() :: {:tool_entry, tool :: any()}

Reference to a tool entry.

Link to this section Functions

Link to this macro

constraint(args \\ [])

(macro)
Link to this macro

constraint(record, args)

(macro)
Link to this macro

effective_value(args \\ [])

(macro)
Link to this macro

effective_value(record, args)

(macro)
Link to this macro

entry_reference(args \\ [])

(macro)
Link to this macro

entry_reference(record, args)

(macro)
Link to this macro

model_entry(args \\ [])

(macro)
Link to this macro

model_entry(record, args)

(macro)
Link to this macro

model_setting_entry(args \\ [])

(macro)
Link to this macro

model_setting_entry(record, args)

(macro)
Link to this macro

option_entry(args \\ [])

(macro)
Link to this macro

option_entry(record, args)

(macro)
Link to this macro

process_end(args \\ [])

(macro)
Link to this macro

process_end(record, args)

(macro)
Link to this macro

process_error(args \\ [])

(macro)
Link to this macro

process_error(record, args)

(macro)
Link to this macro

process_next(args \\ [])

(macro)
Link to this macro

process_next(record, args)

(macro)
Link to this macro

process_update(args \\ [])

(macro)
Link to this macro

process_update(record, args)

(macro)
Link to this macro

process_yield(args \\ [])

(macro)
Link to this macro

process_yield(record, args)

(macro)
Link to this macro

provider_setting_entry(args \\ [])

(macro)
Link to this macro

provider_setting_entry(record, args)

(macro)
Link to this macro

scope(args \\ [])

(macro)
Link to this macro

scope(record, args)

(macro)
Link to this macro

selector(args \\ [])

(macro)
Link to this macro

selector(record, args)

(macro)
Link to this macro

setting_entry(args \\ [])

(macro)
Link to this macro

setting_entry(record, args)

(macro)
Link to this macro

stack_entry(args \\ [])

(macro)
Link to this macro

stack_entry(record, args)

(macro)
Link to this macro

tentative_value(args \\ [])

(macro)
Link to this macro

tentative_value(record, args)

(macro)
Link to this macro

tool_entry(args \\ [])

(macro)
Link to this macro

tool_entry(record, args)

(macro)