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
15 lines
795 B
Plaintext
15 lines
795 B
Plaintext
# A 16-minute recording, 30,278,444 bytes -- MOCK server
|
|
|
|
1) the whole file in one request (mock limit 26,214,400 bytes):
|
|
exception: com.openai.errors.UnexpectedStatusCodeException
|
|
message : 413: mock: Maximum content size limit (26214400) exceeded (30278929 bytes read)
|
|
|
|
2) MinutesService.transcribe: budget 24,000,000 bytes per chunk, silence of at least 2.0 s, RMS below 500
|
|
chunk 0: 0.0 s -> 733.5 s 23,472,022 bytes cut: mid-silence
|
|
chunk 1: 733.5 s -> 946.2 s 6,806,466 bytes cut: end of file
|
|
requests the mock saw: 2
|
|
- file=part-00-meeting.wav bytes=23,472,022 prompt=(none)
|
|
- file=part-01-meeting.wav bytes=6,806,466 prompt="...the on call rotation changes next month."
|
|
script lines recovered: 30 of 30, in order: true
|
|
[inaudible] markers: 0
|