Visitor

public interface Visitor<T extends Object>

An interface that defines how to map each variant of Body to a value of type T.

Functions

Link copied to clipboard
public T unknown(JsonValue json)

Maps an unknown variant of Body to a value of type T.

Link copied to clipboard
public abstract T visitCreateAgentInteractionParams(CreateAgentInteractionParams createAgentInteractionParams)

Parameters for creating agent interactions

Link copied to clipboard
public abstract T visitCreateModelInteractionParams(CreateModelInteractionParams createModelInteractionParams)

Parameters for creating model interactions