rename TranscriptionAdapter to BatchAdapter, add StreamingAdapter interface
This commit is contained in:
@@ -122,7 +122,7 @@ func MockAudioFrame(data []byte) recording.AudioFrame {
|
||||
}
|
||||
}
|
||||
|
||||
// MockTranscriberAdapter implements transcriber.TranscriptionAdapter for testing
|
||||
// MockTranscriberAdapter implements transcriber.BatchAdapter for testing
|
||||
type MockTranscriberAdapter struct {
|
||||
TranscribeFunc func(ctx context.Context, audioData []byte) (string, error)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user