You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
method public suspend Object? generateImages(String prompt, kotlin.coroutines.Continuation<? super com.google.firebase.vertexai.type.ImagenGenerationResponse<com.google.firebase.vertexai.type.ImagenInlineImage>>);
64
70
}
65
71
72
+
public final class LiveGenerativeModel {
73
+
method public suspend Object? connect(kotlin.coroutines.Continuation<? super com.google.firebase.vertexai.type.LiveSession?>);
public final class InvalidStateException extends com.google.firebase.vertexai.type.FirebaseVertexAIException {
521
567
}
522
568
569
+
public final class LiveContentResponse {
570
+
method public com.google.firebase.vertexai.type.Content? getData();
571
+
method public java.util.List<com.google.firebase.vertexai.type.FunctionCallPart>? getFunctionCalls();
572
+
method public com.google.firebase.vertexai.type.LiveContentResponse.Status getStatus();
573
+
method public String? getText();
574
+
property public final com.google.firebase.vertexai.type.Content? data;
575
+
property public final java.util.List<com.google.firebase.vertexai.type.FunctionCallPart>? functionCalls;
576
+
property public final com.google.firebase.vertexai.type.LiveContentResponse.Status status;
577
+
property public final String? text;
578
+
}
579
+
580
+
public enum LiveContentResponse.Status {
581
+
enum_constant public static final com.google.firebase.vertexai.type.LiveContentResponse.Status INTERRUPTED;
582
+
enum_constant public static final com.google.firebase.vertexai.type.LiveContentResponse.Status NORMAL;
583
+
enum_constant public static final com.google.firebase.vertexai.type.LiveContentResponse.Status TURN_COMPLETE;
584
+
}
585
+
586
+
public final class LiveGenerationConfig {
587
+
field public static final com.google.firebase.vertexai.type.LiveGenerationConfig.Companion Companion;
588
+
}
589
+
590
+
public static final class LiveGenerationConfig.Builder {
591
+
ctor public LiveGenerationConfig.Builder();
592
+
method public com.google.firebase.vertexai.type.LiveGenerationConfig build();
593
+
field public Integer? candidateCount;
594
+
field public Float? frequencyPenalty;
595
+
field public Integer? maxOutputTokens;
596
+
field public Float? presencePenalty;
597
+
field public java.util.List<com.google.firebase.vertexai.type.ContentModality>? responseModalities;
598
+
field public com.google.firebase.vertexai.type.SpeechConfig? speechConfig;
599
+
field public Float? temperature;
600
+
field public Integer? topK;
601
+
field public Float? topP;
602
+
}
603
+
604
+
public static final class LiveGenerationConfig.Companion {
605
+
method public com.google.firebase.vertexai.type.LiveGenerationConfig.Builder builder();
606
+
}
607
+
608
+
public final class LiveGenerationConfigKt {
609
+
method public static com.google.firebase.vertexai.type.LiveGenerationConfig liveGenerationConfig(kotlin.jvm.functions.Function1<? super com.google.firebase.vertexai.type.LiveGenerationConfig.Builder,kotlin.Unit> init);
610
+
}
611
+
612
+
public final class LiveSession {
613
+
method public suspend Object? close(kotlin.coroutines.Continuation<? super kotlin.Unit>);
614
+
method public suspend Object? receive(java.util.List<com.google.firebase.vertexai.type.ContentModality> outputModalities, kotlin.coroutines.Continuation<? super kotlinx.coroutines.flow.Flow<? extends com.google.firebase.vertexai.type.LiveContentResponse>>);
615
+
method public kotlinx.coroutines.flow.Flow<java.util.List<com.google.firebase.vertexai.type.FunctionCallPart>> receiveAudioConversationFunctionCalls();
616
+
method public suspend Object? send(com.google.firebase.vertexai.type.Content content, kotlin.coroutines.Continuation<? super kotlin.Unit>);
617
+
method public suspend Object? send(String text, kotlin.coroutines.Continuation<? super kotlin.Unit>);
618
+
method public suspend Object? sendFunctionResponse(java.util.List<com.google.firebase.vertexai.type.FunctionResponsePart> functionList, kotlin.coroutines.Continuation<? super kotlin.Unit>);
619
+
method public suspend Object? sendMediaStream(java.util.List<com.google.firebase.vertexai.type.MediaData> mediaChunks, kotlin.coroutines.Continuation<? super kotlin.Unit>);
620
+
method public suspend Object? startAudioConversation(kotlin.coroutines.Continuation<? super kotlin.Unit>);
621
+
method public void stopAudioConversation();
622
+
method public void stopReceiving();
623
+
}
624
+
625
+
public final class MediaData {
626
+
ctor public MediaData(String mimeType, byte[] data);
627
+
method public byte[] getData();
628
+
method public String getMimeType();
629
+
property public final byte[] data;
630
+
property public final String mimeType;
631
+
}
632
+
523
633
public final class ModalityTokenCount {
524
634
method public operator com.google.firebase.vertexai.type.ContentModality component1();
0 commit comments