Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

module_id

The module ID of the action that needs to get executed

action_id

The action ID of the action that needs to get executed

parameters

The parameters to be used with the action, which are usually auto-generated by an LLM to match the schema provided for the action parameters.

custom_actions

Custom actions to include in the tool selection. These must be provided with a smart_chain_binding_name that indicates which smart chain to execute for the action. The 'text' field on the output from the smart-chain will be used as the action result.

Output

module_id

The module ID of the action that was selectedshould_execute_another_action

True or false on whether this action should be followed up by executing another action. Usually this is the case with tool actions because you want the agent to follow up by sending a message.

action_id

The action ID of the action that was selected.

parameters

The parameters that the LLM generated for the action. This will match the schema provided for the action parameters.

prompt

The raw text of the prompt that was sent up to the LLM provider.

text

If the selected action includes text, such as a message send, then this is text of the response to be said back to the user. Otherwise blankaction_result

This is an ActionResult object that contains all of the details of the action that was executed

text

This will contain the raw text of the action result