mirror of
https://github.com/mendableai/firecrawl.git
synced 2024-11-16 11:42:24 +08:00
Update website_qa_with_gemini_caching.ipynb
This commit is contained in:
parent
e473a2359a
commit
1c02187054
|
@ -98,7 +98,7 @@
|
||||||
"source": [
|
"source": [
|
||||||
"# Create a cache with a 5 minute TTL\n",
|
"# Create a cache with a 5 minute TTL\n",
|
||||||
"cache = caching.CachedContent.create(\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",
|
" 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",
|
" 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",
|
" contents=[text_file],\n",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user