class MAGES::Experimental::EmbodimentJARIA::EmbodiedAIRequest¶
Overview¶
Handles requests of the embodiment AI module. More…
class EmbodiedAIRequest
{
public:
// methods
static async Task HandleStreamingResponseAsync(
HttpResponseMessage response,
AgentConfiguration agentConfig,
Agent.FilterMessageDelegate filterMessageDelegate = null
);
static List GetIgnoreCharacters();
static void SetIgnoreCharacters(List value);
static async Task GetAgentFromID(
string agentID,
IAuthenticationAPI authAPI
);
static async Task GetAssociatedAgents(
string agentID,
IAuthenticationAPI authAPI
);
static async Task ClearAgentHistoty(IAuthenticationAPI authAPI);
};
Detailed Documentation¶
Handles requests of the embodiment AI module.
Methods¶
static async Task HandleStreamingResponseAsync(
HttpResponseMessage response,
AgentConfiguration agentConfig,
Agent.FilterMessageDelegate filterMessageDelegate = null
)
Handles the streaming response from JARIA.
Parameters:
response |
The response. |
agentConfig |
The agent configuration. |
filterMessageDelegate |
The filter message delegate function. |
Returns:
Task.
static ListGetIgnoreCharacters()
Gets the characters which the agent will ignore.
Returns:
A list containing the characters that will be ignored.
static void SetIgnoreCharacters(Listvalue)
Sets the characters which the agent will ignore.
Parameters:
value |
The list containing the characters which will be ignored. |
static async TaskGetAgentFromID( string agentID, IAuthenticationAPI authAPI )
Gets the agent info from ID.
Parameters:
agentID |
The agent’s ID. |
authAPI |
Authentication manager reference. |
Returns:
Returns the agent info.
static async TaskGetAssociatedAgents( string agentID, IAuthenticationAPI authAPI )
Gets the sub-agent info from ID.
Parameters:
agentID |
The agent’s ID. |
authAPI |
Authentication manager reference. |
Returns:
Returns the agent info.
static async TaskClearAgentHistoty(IAuthenticationAPI authAPI)
Clears the agent’s history.
Parameters:
authAPI |
Authentication manager reference. |
Returns:
Task.