Skip to content

Commit

Permalink
Update ACTIONS.md
Browse files Browse the repository at this point in the history
  • Loading branch information
singhk97 authored Jan 18, 2024
1 parent 34101f2 commit e289b05
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions getting-started/CONCEPTS/ACTIONS.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,14 @@ The user can register custom actions or override default actions in the system.

| Action | Called when |
| --------------------- | ----------------------------------------------------------------------------------------------- |
| `___UnkownAction___` | An unknown action is predicted by the planner. |
| `___UnknownAction___` | An unknown action is predicted by the planner. |
| `___FlaggedInput___` | The input is flagged by the moderator. |
| `___FlaggedOutput___` | The output is flagged by the moderator. |
| `___HttpError___` | The planner encounters an HTTP response with status code >= `400` |
| `__TooManySteps__` | The planner task either executed too many steps or timed out. |
| `___PlanReady___` | The plan has been predicted by the planner and it has passed moderation. This can be overriden to mutate the plan before execution. |
| `___DO___` | The AI system is executing a plan with the DO command. Overriding this action will change how _all_ DO commands are handled. |
| `___SAY___` | The AI system is executing a plan wit the SAY command. Overriding this action will change how _all_ SAY commands are handled. By default this will send the `response` message back to the user. |
| `___SAY___` | The AI system is executing a plan with the SAY command. Overriding this action will change how _all_ SAY commands are handled. By default this will send the `response` message back to the user. |

> Detailed description of each action can be found in the codebase.
Expand Down

0 comments on commit e289b05

Please sign in to comment.