rasa_sdk v0.0.1 RasaSdk.Api.Default
API calls for all endpoints tagged Default
.
Link to this section Summary
Functions
Core request to execute a custom action Rasa Core sends a request to the action server to execute a certain custom action. As a response to the action call from Core, you can modify the tracker, e.g. by setting slots and send responses back to the user.
Link to this section Functions
Link to this function
call_action(connection, request, opts \\ [])
Specs
call_action(Tesla.Env.client(), RasaSdk.Model.Request.t(), keyword()) :: {:ok, RasaSdk.Model.ResponseOk.t()} | {:error, Tesla.Env.t()}
Core request to execute a custom action Rasa Core sends a request to the action server to execute a certain custom action. As a response to the action call from Core, you can modify the tracker, e.g. by setting slots and send responses back to the user.
Parameters
- connection (RasaSdk.Connection): Connection to server
- request (Request): Describes the action to be called and provides information on the current state of the conversation.
- opts (KeywordList): [optional] Optional parameters
Returns
} on success {:error, info} on failure