Skip to navigation

Chat with your AI Agent in the terminal, as an end user would. Use it for a quick check of a reply, or to chat with a change set before you promote it. In the dashboard, the same check is Interactive Testing.

Commands

CommandWhat it does
chatStarts an interactive chat. It is the same as chat talk.
chat talkStarts an interactive chat. It reads each message from stdin.

Examples

Start a chat with the live configuration:

adacli acme chat

Set metavariables for the end user when the conversation starts:

adacli acme chat --var language=fr --var user_tier=premium

Chat with the staged configuration of a change set:

adacli acme chat --changeset <changeset-id>

Send one message, then end the chat:

printf 'Where is my order?\n\n' | adacli acme chat

Details

  • Type a message and press Enter to send it. To end the chat, press Enter on an empty line.
  • To change metavariables during the chat, type /set key=value. /get and /help are also available.
  • adacli writes each reply and one __CONVO_ID__ <id> line to stdout. Use the ID with the conversations commands.
  • adacli waits 60 seconds for each reply. To change the wait, set --timeout in milliseconds.
  • If adacli cannot use the change set ID, the chat uses the live configuration and shows no error.
  • A chat with a change set does not remove the untested warning of changesets promote. Only a test run does.

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