GenAI.Thread.LegacyStateProtocol protocol (GenAI Core v0.2.0)

Link to this section Summary

Types

t()

All the types that implement this protocol.

Link to this section Types

@type t() :: term()

All the types that implement this protocol.

Link to this section Functions

Link to this function

apply_message(thread_context, message)

Link to this function

apply_model(thread_context, model)

Link to this function

apply_model_setting(thread_context, node)

Link to this function

apply_provider_setting(thread_context, node)

Link to this function

apply_safety_setting(thread_context, node)

Link to this function

apply_setting(thread_context, node)

Link to this function

apply_tool(thread_context, tool)

Link to this function

effective_messages(thread_context, model, context, options)

Link to this function

effective_model(thread_context, context, options)

Link to this function

effective_model_settings(thread_context, model, context, options)

Link to this function

effective_provider_settings(thread_context, model, context, options)

Link to this function

effective_safety_settings(thread_context, context, options)

Link to this function

effective_settings(thread_context, context, options)

Link to this function

effective_tools(thread_context, model, context, options)

Link to this function

get_artifact(thread_context, artifact)

Link to this function

set_artifact(thread_context, artifact, value)