Skip to content

Commit 3b896bd

Browse files
committed
Add audio modifier to transcription names
1 parent 866b32e commit 3b896bd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

FirebaseAI/Sources/Types/Public/Live/LiveServerContent.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public struct LiveServerContent: Sendable {
6464
///
6565
/// This field is only populated when an ``AudioTranscriptionConfig`` is provided to
6666
/// ``LiveGenerationConfig``.
67-
public var inputTranscription: LiveTranscription? {
67+
public var inputAudioTranscription: LiveTranscription? {
6868
serverContent.inputTranscription.map { LiveTranscription($0) }
6969
}
7070

@@ -75,7 +75,7 @@ public struct LiveServerContent: Sendable {
7575
///
7676
/// > Important: Transcripts are independent to the model turn. This means transcripts may
7777
/// > come earlier or later than when the model sends the corresponding audio responses.
78-
public var outputTranscription: LiveTranscription? {
78+
public var outputAudioTranscription: LiveTranscription? {
7979
serverContent.outputTranscription.map { LiveTranscription($0) }
8080
}
8181

0 commit comments

Comments
 (0)