File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -141,6 +141,18 @@ public final class FirebaseAI: Sendable {
141
141
)
142
142
}
143
143
144
+ public func liveModel( modelName: String ,
145
+ generationConfig: LiveGenerationConfig ? = nil ,
146
+ requestOptions: RequestOptions = RequestOptions ( ) ) -> LiveGenerativeModel {
147
+ return LiveGenerativeModel (
148
+ modelResourceName: modelResourceName ( modelName: modelName) ,
149
+ firebaseInfo: firebaseInfo,
150
+ apiConfig: apiConfig,
151
+ generationConfig: generationConfig,
152
+ requestOptions: requestOptions
153
+ )
154
+ }
155
+
144
156
/// Class to enable FirebaseAI to register via the Objective-C based Firebase component system
145
157
/// to include FirebaseAI in the userAgent.
146
158
@objc ( FIRVertexAIComponent) class FirebaseVertexAIComponent : NSObject { }
You can’t perform that action at this time.
0 commit comments