Update website_qa_with_gemini_caching.ipynb

This commit is contained in:
Stijn Smits 2024-10-06 13:25:23 +02:00 committed by GitHub
parent e473a2359a
commit 1c02187054
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -98,7 +98,7 @@
"source": [
"# Create a cache with a 5 minute TTL\n",
"cache = caching.CachedContent.create(\n",
" model=\"models/gemini-1.5-pro-001\",\n",
" model=\"models/gemini-1.5-pro-002\",\n",
" display_name=\"website crawl testing again\", # used to identify the cache\n",
" system_instruction=\"You are an expert at this website, and your job is to answer user's query based on the website you have access to.\",\n",
" contents=[text_file],\n",