mirror of
https://github.com/firebase/firebase-ios-sdk
synced 2026-11-11 22:55:59 +05:45
[Vertex AI] Switch to gemini-1.5-pro-preview-0409 in sample app (#12946)
This commit is contained in:
1 parent
ec573a4cd6
commit
c50f12fdd6
4 files changed
+4
-4
No files matched your search
@@ -32,7 +32,7 @@ class SummarizeViewModel: ObservableObject {
|
||||
private var model: GenerativeModel?
|
||||
|
||||
init() {
|
||||
model = VertexAI.vertexAI().generativeModel(modelName: "gemini-1.0-pro")
|
||||
model = VertexAI.vertexAI().generativeModel(modelName: "gemini-1.5-pro-preview-0409")
|
||||
}
|
||||
|
||||
func summarize(inputText: String) async {
|
||||
|
||||
Reference in new issue
Block a user