Skip to navigation

Read and change the Glossary of your AI Agent. A glossary term tells the Agent which words to match in end user messages, and which words to use in its replies.

Commands

CommandWhat it does
glossary listLists glossary terms, one page at a time, with search and filters.
glossary get <id>Shows one glossary term.
glossary createCreates a glossary term.
glossary update <id>Changes the fields of a glossary term that you supply.
glossary delete <id>Deletes a glossary term.
glossary exportExports every glossary term as CSV.
glossary import <file>Imports glossary terms from CSV, and deletes each term that the file does not contain.

Examples

Find the custom-mode terms that contain “refund”:

adacli acme glossary list --search "refund" --mode custom

Create a term that the AI Agent translates itself, with a definition:

adacli acme glossary create --external-id "IBO" --user-term "en:IBO" \
--definition "Independent Business Owner, a person who sells the products"

Create a custom-mode term with a fixed Italian translation:

adacli acme glossary create --external-id "IBO" --mode custom \
--user-term "en:IBO" --ai-agent-term "it:Incaricato alle Vendite"

Move a term from custom mode to default mode:

adacli acme glossary update 507f1f77bcf86cd799439011 --mode default --clear-ai-agent-terms

Export the glossary, edit the file, then import it again:

adacli acme glossary export --out glossary.csv
adacli acme glossary import glossary.csv

Details

  • In default mode, the AI Agent translates the term. A default term needs --definition or --voice.
  • In custom mode, you supply the translations. A custom term needs at least one --ai-agent-term.
  • Every term needs at least one --user-term. Write each term as <language>:<term>, for example en:IBO.
  • update replaces only the fields that you supply. To move a term to default mode, add --clear-ai-agent-terms to the same command.
  • import is a full sync. It deletes each term that is not in the file. Run export first to keep a copy of the current terms.

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

  • knowledge: read and change the articles that the AI Agent uses.
  • languages: list the language codes for --user-term and --ai-agent-term.