kapi exec voice-infer
kapi voice-infer [files...]Utled et utkast til stemprofil fra et innholdskorpus ved hjelp av en LLM-leverandør
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 exec voice-inferFlags
| Flag | Type | Default | Description |
|---|---|---|---|
| --api-key | string | API key for the AI provider | |
| --concurrency , -j | int | 0 | max parallel files (0 = auto) |
| --credential | string | saved credential name to use (see 'kapi credentials list') | |
| --domain | string | Subject domain hint for the analysis (e.g. medical legal technology) | |
| --encoding , -e | string | input file encoding | |
| --fail-on-unknown | bool | false | exit with error if any file cannot be processed (default: skip with warning) |
| --format , -f | string | override input format detection | |
| --json | bool | false | output results as JSON |
| --map , -m | stringArray | map glob pattern to format (e.g. '*.docx=okf_openxml:test') | |
| --max-examples | int | 3 | Maximum before/after examples to infer |
| --model | string | AI model name | |
| --no-warn | bool | false | suppress warnings for skipped files |
| --pack | bool | false | when transforming a .kpz, also eject the result to the .kpz (auto-pack) |
| --parallel-blocks | int | 0 | fan out block processing across N goroutines (0 = off) |
| --profile-name | string | Name for the inferred draft profile | |
| --progress , -p | bool | false | show progress bar |
| --provider | string | anthropic | AI provider (Anthropic, OpenAI, Gemini, Azure OpenAI, Claude Code, Ollama, Demo (illustrative)) |
| --source-lang | string | source language (e.g. en, en-US; defaults to the project's source_language, else en) | |
| --strict | bool | false | alias for --fail-on-unknown |
| --target-lang | string | target language (e.g. fr, de-DE) | |
| --trace | string | write flow trace JSON to file (for flow visualization) |
← Back to the Command Reference