feat(followup-audio): confirm role corrections and reextract cached transcripts
This commit is contained in:
@@ -96,7 +96,7 @@ final class FollowupAudioPipeline
|
||||
self::assertTranscriptQuality($transcript, $segments);
|
||||
if ($state['extraction']['state'] !== 'complete') {
|
||||
$requestId = 'fa-' . bin2hex(random_bytes(16));
|
||||
$payload = $this->extractRequest($transcript, $segments, $task['recorded_at'], FollowupAudioFields::catalog(), $requestId, FollowupAudioStore::taskChannelRoles($task));
|
||||
$payload = $this->extractRequest($transcript, $segments, $task['recorded_at'], FollowupAudioFields::catalog(), $requestId, FollowupAudioReextract::roles($task));
|
||||
self::beat($heartbeat, []);
|
||||
$this->assertSource($audio['path'], $task['sha256']);
|
||||
$next = $state; $next['extraction'] = ['state' => 'intent', 'request_id' => $requestId];
|
||||
|
||||
Reference in New Issue
Block a user