OpenAiAudioTranscriptionModel -> ChatClient.entity(Minutes.class) -> OpenAiAudioSpeechModel, WAV chunking at a silence under the 25 MB upload limit, SDK retry behaviour, the 4096-character speech limit and a cost model. Audio endpoints are a local mock and the chat model a stub; no real model was called. Spring Boot 4.1.2, Spring AI 2.0.2, Java 25. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01CifR2BE7PBvRy5hT8TS9oz
9 lines
583 B
Plaintext
9 lines
583 B
Plaintext
# Cutting every 24,000,000 bytes, wherever that lands -- MOCK server
|
|
|
|
chunk 0: 0.0 s -> 750.0 s 24,000,000 bytes boundary falls INSIDE sentence 23 ("Everyone should check the new rotation sheet before the end of this week.")
|
|
chunk 1: 750.0 s -> 946.2 s 6,278,488 bytes boundary falls at end of file
|
|
|
|
script lines recovered: 29 of 30; [inaudible] markers: 2
|
|
(mock rule: a tone cut to under 60% of its length is reported as [inaudible]; a real model would not fail this
|
|
cleanly -- OpenAI's guide only says splitting mid-sentence can remove context and reduce accuracy.)
|