Gå til hovedinnhold

kapi exec voice-infer

kapi voice-infer [files...]

Utled et utkast til stemprofil fra et innholdskorpus ved hjelp av en LLM-leverandør

Commandexec voice-infer
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-infer
Flags
FlagTypeDefaultDescription
--api-key stringAPI key for the AI provider
--concurrency , -jint0max parallel files (0 = auto)
--credential stringsaved credential name to use (see 'kapi credentials list')
--domain stringSubject domain hint for the analysis (e.g. medical legal technology)
--encoding , -estringinput file encoding
--fail-on-unknown boolfalseexit with error if any file cannot be processed (default: skip with warning)
--format , -fstringoverride input format detection
--json boolfalseoutput results as JSON
--map , -mstringArraymap glob pattern to format (e.g. '*.docx=okf_openxml:test')
--max-examples int3Maximum before/after examples to infer
--model stringAI model name
--no-warn boolfalsesuppress warnings for skipped files
--pack boolfalsewhen transforming a .kpz, also eject the result to the .kpz (auto-pack)
--parallel-blocks int0fan out block processing across N goroutines (0 = off)
--profile-name stringName for the inferred draft profile
--progress , -pboolfalseshow progress bar
--provider stringanthropicAI provider (Anthropic, OpenAI, Gemini, Azure OpenAI, Claude Code, Ollama, Demo (illustrative))
--source-lang stringsource language (e.g. en, en-US; defaults to the project's source_language, else en)
--strict boolfalsealias for --fail-on-unknown
--target-lang stringtarget language (e.g. fr, de-DE)
--trace stringwrite flow trace JSON to file (for flow visualization)

← Back to the Command Reference