Gå til hovedinnhold

kapi voice expand

kapi expand

Ask a model for the other shapes each vocabulary term takes (inflections, declensions, conjugations) and write them into the profile as forms:.

The check matches those forms exactly, so this is authoring-time work whose result you review in a diff. Run it again after adding terms; rules that already carry forms are left alone unless --overwrite is given.

kapi voice expand --profile-file voice.yaml --language nb kapi voice expand --profile-file voice.yaml --dry-run

Commandvoice expand
Try it (demo)

Demo mode — illustrative output from a built-in stub, not a real model. Install the CLI to run with your own API key.

kapi voice expand
Flags
FlagTypeDefaultDescription
--api-key stringAPI key for the AI provider
--channel stringapply channel-specific overrides
--credential stringsaved credential name (see 'kapi credentials list')
--dry-run boolfalseprint what would be added and write nothing
--file stringexplicit path to resource file
--language stringlanguage the terms are in (defaults to the project's source language)
--local boolfalseuse resource in current directory
--locale stringapply locale-specific overrides
--model stringAI model name
--name stringnamed resource in KAPI_HOME (e.g. --name project-terms)
--overwrite boolfalseredo rules that already carry forms
--pack stringbuilt-in starter pack name
--persona stringapply an author persona's overrides (within the profile guardrails)
--profile stringvoice profile name in the local store
--profile-file stringpath to a standalone profile YAML
--project , -pstringpath to a kapi.yaml project recipe or its directory (auto-discovered from cwd if omitted)
--provider stringAI provider (default: anthropic)

← Back to the Command Reference