ReferenceAsk

Push a dictionary

Pushes a source's dictionary from a JSONL file, replacing the one it had.
admin.dataSources.pushDictionary({ slug, entries, linkerVersion? })

Sends a source its dictionary from a JSONL file, one entry per line: {"id": "P-101A", "names": ["P-101A", "Main Feed Pump"]}. The push replaces the existing dictionary, re-tags indexed passages in the background, and reports ambiguous and unmatchable names. An unchanged dictionary commits nothing. --linker-version moves a dictionary to a newer matching rule; without it, a push keeps the rule its dictionary already has. Limits: 250,000 entries, 16 names per entry, and a million names in all.

Parameters
--source
string
Corpus slug.
<file.jsonl>
path
RequiredOne entry per line: {"id", "names"}.
--linker-version
number
Move the dictionary to a newer matching rule.
CLI
# assets.jsonl
# {"id": "P-101A", "names": ["P-101A", "Main Feed Pump"]}
remy-admin datasources dictionary push --source manuals assets.jsonl