aw.speech.whisper_encode_step
Prepare the exact original Tiny or Base encoder in separate bounded calls: two for Tiny, three for Base. Begin with the accepted WAV source and no continuation. While status is encoder-pending, supply its opaque continuation with the same session, source and model and a new operationId. Retry the same operationId with identical arguments only; no automatic model retry. After encoder-prepared, choose decoderRoutes.fileOnly for a whole file without replacing the current transcript, or decoderRoutes.currentTranscript for a whole file plus shared current segments, export and Clear. Both use the same prepared handle, session, source and model; start with null decoder continuation. Never switch tools with a pending decoder continuation. Intermediate activations stay in the encrypted session; no upload, download or transcript is produced by this tool.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"session": "<session>",
"operationId": "<operationId>",
"source": "<source>"
},
"name": "aw.speech.whisper_encode_step"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | onnx-community/whisper-tiny | |
| source | Yes | An immutable input or result handle belonging to this session; never a URL/path/base64. | |
| session | Yes | Private short-lived session capability returned by aw.session.open. Never publish or log it. | |
| operationId | Yes | ||
| continuation | No |