HybridModelProvider
public struct HybridModelProvider : LanguageModelProviderProvides a HybridModel for an instance of FirebaseAI.
-
Returns an instance of the
LanguageModelcorresponding to this provider.Declaration
Swift
public func _languageModel(firebaseAI: FirebaseAI) -> any LanguageModelParameters
firebaseAIA
FirebaseAIinstance that provides necessary context for instantiating the model, such as the API configuration.