class MAGES::Experimental::EmbodimentJARIA::StateAssistantBahavior

Overview

Agent assistant that explains the current state of the scenegraph. More…

class StateAssistantBahavior: public MAGES::Experimental::EmbodimentJARIA::IBehavior
{
public:
    // properties

    bool ExecuteOnStartup;

    // methods

    StateAssistantBahavior();

    async Task ExecuteAsync(
        string input,
        string agentID,
        AgentConfiguration agentConfig,
        Agent.FilterMessageDelegate filterMessageDelegate = null
    );

    object RetrievePayload(AgentConfiguration agentConfig);
};

Inherited Members

public:
    // properties

    bool ExecuteOnStartup;

    // methods

    Task ExecuteAsync(
        string input,
        string agentID,
        AgentConfiguration agentConfig,
        Agent.FilterMessageDelegate filterMessageDelegate = null
    );

    object RetrievePayload(AgentConfiguration agentConfig);

Detailed Documentation

Agent assistant that explains the current state of the scenegraph.

Properties

bool ExecuteOnStartup

Gets a value indicating whether if the behavior should execute on startup.

Methods

StateAssistantBahavior()

Initializes a new instance of the StateAssistantBahavior class.

async Task ExecuteAsync(
    string input,
    string agentID,
    AgentConfiguration agentConfig,
    Agent.FilterMessageDelegate filterMessageDelegate = null
)

Task to execute the behavior.

Parameters:

input

User input.

agentID

The agent’s ID.

agentConfig

The agent’s configuration.

filterMessageDelegate

The filter message delegate function.

Returns:

The task that will run in parallel.

object RetrievePayload(AgentConfiguration agentConfig)

Compile and retrieve the necessary information for this behavior.

Parameters:

agentConfig

The agent’s configuration.

Returns:

An object containing the payload required for this behavior.