Skip to navigation

Read and change the Coaching of your AI Agent. A coaching item points at one step of a past conversation, and tells the Agent what to do in that situation.

Commands

CommandWhat it does
coaching listLists coaching items, one page at a time. You can show only live or only pending items.
coaching get <id>Shows one coaching item, with its type, module, intent, text, status, and conversation.
coaching createCreates a coaching item from one event of a conversation.
coaching update <id>Changes the text, intent, or availability rules, or turns the coaching item on or off.
coaching delete <id>Deletes a coaching item.

Examples

Find the event to coach. The event ID is the _id of a generative event in the output:

adacli acme conversations reasoning conv-123 --json

Tell the AI Agent to search the returns article first, and make the coaching live:

adacli acme coaching create --conversation conv-123 --event evt-456 \
--intent "End user asks how to return an order" \
--text "Search the returns policy article before you answer" \
--module search_knowledge --type search_knowledge --live

List the coaching items that are not live yet:

adacli acme coaching list --pending

Change the text of a coaching item, then turn it on:

adacli acme coaching update coach-abc123 --text "Ask for the order number first"
adacli acme coaching update coach-abc123 --enable

Details

  • create needs --conversation, --event, --intent, --text, and --module.
  • --module takes planner, contextual_response, search_knowledge, handoff, or response_reasoner.
  • A new coaching item is not live unless you add --live.
  • update changes only the fields that you supply. Use --clear-rules to remove the availability rules.
  • To see the coaching items of one conversation, run adacli acme conversations coaching <conversation-id>.

For every option of a command, run it with --help, for example adacli acme coaching create --help.