Skip to content

Commit e032ce0

Browse files
Update document_search.ipynb (google#395)
* Update document_search.ipynb Updated relative link * Update document_search.ipynb Updated model name to a current model * Update site/en/gemini-api/tutorials/document_search.ipynb --------- Co-authored-by: Mark Daoust <[email protected]>
1 parent c9abff3 commit e032ce0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

site/en/gemini-api/tutorials/document_search.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@
159159
"source": [
160160
"Key Point: Next, you will choose a model. Any embedding model will work for this tutorial, but for real applications it's important to choose a specific model and stick with it. The outputs of different models are not compatible with each other.\n",
161161
"\n",
162-
"**Note**: At this time, the Gemini API is [only available in certain regions](https://developers.generativeai.google/available_regions)."
162+
"**Note**: At this time, the Gemini API is [only available in certain regions](https://ai.google.dev/gemini-api/docs/available-regions)."
163163
]
164164
},
165165
{
@@ -1191,7 +1191,7 @@
11911191
},
11921192
"outputs": [],
11931193
"source": [
1194-
"model = genai.GenerativeModel('gemini-ultra')\n",
1194+
"model = genai.GenerativeModel('gemini-1.5-pro-latest')\n",
11951195
"answer = model.generate_content(prompt)"
11961196
]
11971197
},
@@ -1228,7 +1228,7 @@
12281228
"source": [
12291229
"## Next steps\n",
12301230
"\n",
1231-
"To learn more about how you can use the embeddings, check out the [examples](../examples?keywords=embed) available. To learn how to use other services in the Gemini API, visit the [Python quickstart](https://ai.google.dev/gemini-api/docs/get-started/python)."
1231+
"To learn how to use other services in the Gemini API, visit the [Python quickstart](https://ai.google.dev/gemini-api/docs/get-started/python)."
12321232
]
12331233
}
12341234
],

0 commit comments

Comments
 (0)