Skip to content

Commit 0c36d9f

Browse files
authored
Update agentspace_eval.ipynb (#2101)
1 parent 0764673 commit 0c36d9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

search/agentspace/agentspace_eval.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,7 @@
525525
"@lru_cache(maxsize=None)\n",
526526
"def get_answer_results(query):\n",
527527
" response = requests.post(\n",
528-
" f\"https://{base_discovery_engine_domain}/v1alpha/projects/{auth_project_id}/locations/global/collections/default_collection/engines/{engine_id}/servingConfigs/default_search:answer\",\n",
528+
" f\"https://{base_discovery_engine_domain}/v1alpha/projects/{auth_project_id}/locations/{location}/collections/default_collection/engines/{engine_id}/servingConfigs/default_search:answer\",\n",
529529
" headers={\n",
530530
" \"Content-Type\": \"application/json\",\n",
531531
" \"Authorization\": \"Bearer \" + creds.token,\n",

0 commit comments

Comments
 (0)