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 @@ -130,6 +130,18 @@ public final class FirebaseAI: Sendable {
130
130
)
131
131
}
132
132
133
+ public func liveModel( modelName: String ,
134
+ generationConfig: LiveGenerationConfig ? = nil ,
135
+ requestOptions: RequestOptions = RequestOptions ( ) ) -> LiveGenerativeModel {
136
+ return LiveGenerativeModel (
137
+ modelResourceName: modelResourceName ( modelName: modelName) ,
138
+ firebaseInfo: firebaseInfo,
139
+ apiConfig: apiConfig,
140
+ generationConfig: generationConfig,
141
+ requestOptions: requestOptions
142
+ )
143
+ }
144
+
133
145
/// Class to enable FirebaseAI to register via the Objective-C based Firebase component system
134
146
/// to include FirebaseAI in the userAgent.
135
147
@objc ( FIRVertexAIComponent) class FirebaseVertexAIComponent : NSObject { }
You can’t perform that action at this time.
0 commit comments