> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.ada.cx/llms.txt.

# glossary

Read and change the [Glossary](/docs/automation/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

| Command                  | What it does                                                                           |
| ------------------------ | -------------------------------------------------------------------------------------- |
| `glossary list`          | Lists glossary terms, one page at a time, with search and filters.                     |
| `glossary get <id>`      | Shows one glossary term.                                                               |
| `glossary create`        | Creates a glossary term.                                                               |
| `glossary update <id>`   | Changes the fields of a glossary term that you supply.                                 |
| `glossary delete <id>`   | Deletes a glossary term.                                                               |
| `glossary export`        | Exports 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":

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

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

```bash
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:

```bash
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:

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

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

```bash
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`.

## Related commands

* [`knowledge`](/adacli/commands/knowledge): read and change the articles that the AI Agent uses.
* [`languages`](/adacli/commands/languages): list the language codes for `--user-term` and `--ai-agent-term`.

---

Have any questions? Contact your Ada team, or email us at [](mailto:help@ada.cx?subject=Help%20Docs%20inquiry).