interface MAGES::Experimental::EmbodimentJARIA::IBehavior¶
Overview¶
Interface for a behavior. More…
interface IBehavior { // properties bool ExecuteOnStartup; // methods Task ExecuteAsync( string input, string agentID, AgentConfiguration agentConfig, Agent.FilterMessageDelegate filterMessageDelegate = null ); object RetrievePayload(AgentConfiguration agentConfig); }; // direct descendants class DebrieferBehaviour; class MAGESJariaBehavior; class QuestionGenerationBehavior; class RouterBehavior; class StateAssistantBahavior; class VRGamePlayBehavior;
Detailed Documentation¶
Interface for a behavior.
Properties¶
bool ExecuteOnStartup
Gets a value indicating whether if the behavior should execute on startup.
Methods¶
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.