We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dda7acf commit 261c236Copy full SHA for 261c236
FirebaseVertexAI/Sample/GenerativeAIMultimodalSample/ViewModels/PhotoReasoningViewModel.swift
@@ -44,7 +44,8 @@ class PhotoReasoningViewModel: ObservableObject {
44
private var model: GenerativeModel?
45
46
init() {
47
- model = VertexAI.vertexAI(region: "us-central1").generativeModel(modelName: "gemini-1.0-pro")
+ let vertexAI = VertexAI.vertexAI(region: "us-central1")
48
+ model = vertexAI.generativeModel(modelName: "gemini-1.0-pro-vision")
49
}
50
51
func reason() async {
0 commit comments