@zoominfo/gtm-ai-cli 2.2.1 → 2.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +15 -8
- package/dist/index.js +29 -29
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -475,14 +475,20 @@ call). Column and row IDs come from `gtm audiences get`.
|
|
|
475
475
|
|
|
476
476
|
Data Quality (beta) cleans and classifies records you bring and returns the results inline;
|
|
477
477
|
nothing is stored or written to another system. The default prepare steps (parse, validate,
|
|
478
|
-
normalize) are free. `--line-type`, `--verify`,
|
|
479
|
-
`score`, and `segment` use credits.
|
|
478
|
+
normalize) are free. Enrichments (`--line-type`, `--verify`, `--threat`, `--threat-type`,
|
|
479
|
+
`--classify`), custom normalization (`--config-id`, `--rules`), `score`, and `segment` use credits.
|
|
480
480
|
|
|
481
481
|
```shell
|
|
482
|
-
# Clean emails, phones, addresses, job titles,
|
|
482
|
+
# Clean emails, phones, addresses, job titles, person names, company names, or URLs (up to 30 per call)
|
|
483
483
|
gtm dq prepare email " Jane.Doe@Example.COM " "jane@" --select input.email,value.fullEmail,isValid -f table
|
|
484
|
-
gtm dq prepare
|
|
484
|
+
gtm dq prepare company-name "Acme Holdings, Inc." --select value.companyName,value.corporateIdentifiers
|
|
485
|
+
gtm dq prepare url www.example.co.uk/path --select value.url,value.registeredDomain
|
|
486
|
+
|
|
487
|
+
# Enrichments: deliverability, sending safety, line type, or job-title classification
|
|
488
|
+
gtm dq prepare email jane@example.com --verify --threat-type
|
|
489
|
+
gtm dq prepare phone "(617) 555-0123" --line-type --verify
|
|
485
490
|
gtm dq prepare address --file ./addresses.json --verify
|
|
491
|
+
gtm dq prepare job-title "VP of Sales" --classify
|
|
486
492
|
|
|
487
493
|
# Custom normalization: a saved config, or inline rules grouped by rule group
|
|
488
494
|
gtm dq prepare phone "+1 617 555 0123" --config-id <configId>
|
|
@@ -504,12 +510,13 @@ gtm dq configs update score --id <configId> --file ./icp-score.json
|
|
|
504
510
|
gtm dq configs delete score --id <configId>
|
|
505
511
|
```
|
|
506
512
|
|
|
507
|
-
`prepare --file` takes a JSON array of raw strings, or
|
|
508
|
-
(e.g. `{ "number": "6175550123", "countryCode": "US" }`
|
|
513
|
+
`prepare --file` takes a JSON array of raw strings, or, for phone, email, address, and person-name,
|
|
514
|
+
of objects holding pre-parsed components (e.g. `{ "number": "6175550123", "countryCode": "US" }`
|
|
515
|
+
for a phone) to skip parsing. Results are
|
|
509
516
|
positional: `data[i]` is the result for value `i`, and a value that can't be processed returns a
|
|
510
517
|
`PrepareError` in its slot. `score` / `segment --file` takes a JSON array of records keyed by the
|
|
511
|
-
field names the configs use. Config files hold the config's attributes (for `update`,
|
|
512
|
-
|
|
518
|
+
field names the configs use. Config files hold the config's attributes (for `update`, just the
|
|
519
|
+
ones to change; a list you send, such as a segment config's `segments`, replaces the whole list); see the
|
|
513
520
|
[Data Quality API reference](https://docs.gtm.ai/reference/preparecontroller_prepare) for each
|
|
514
521
|
kind's schema.
|
|
515
522
|
|