Optional
callCall a function.
Informs a function calling from the AI agent server to client.
This event comes before the function execution, so that if you return a different value from the original IAgenticaEventJson.ICall.arguments, you can modify the arguments of the function calling.
Otherwise you do not return anything (undefined
) or null
value, the
arguments of the function calling would not be modified. Also, if you are
not interested in the function calling event, you can skit its
implementation.
Event of a function calling
New arguments if you want to modify, otherwise null or undefined
Optional
cancelCancel a function to call.
Informs a canceling function to call from the AI agent server to client.
Event of canceling a function to call
Describe the function executions' results.
Inform description message of the function execution's results from the AI agent server to client.
Event of a description of function execution results
Optional
executeExecutition of a function.
Informs a function execution from the AI agent server to client.
Event of a function execution
Optional
initializeInitialize the AI agent.
Informs an initialization of controller functions from the AI agent server to client.
Event of initialization
Optional
selectSelect a function to call.
Informs a selected function to call from the AI agent server to client.
Event of selecting a function to call
Text conversation message.
Event of a text conversation message
RPC interface of AI agent listener.
IAgenticaRpcListener
is an interface defining an AI agent listener provided from the client to server through the RPC (Remote Procedure Call) paradigm in the websocket protocol.It has defined the event listener functions of AgenticaEvent types. If you skip some event typed functions' implementations, the skipped event would be ignored.
Also, the event like listener functions of
IAgenticaRpcListener
type are remotely called when a client calls the IAgenticaRpcService.conversate function remotely, so that the server responses to the client by the event listener functions.You can connect to the WebSocket server of the AI agent like below:
Author
Samchon