Skip to content

Commit e16ea2f

Browse files
vermaAstraGemini Data Analytics Team
andauthored
Initial commit using copybara (#2423)
Co-authored-by: Gemini Data Analytics Team <[email protected]>
1 parent 3016e50 commit e16ea2f

File tree

2 files changed

+7
-32
lines changed

2 files changed

+7
-32
lines changed

agents/gemini_data_analytics/intro_gemini_data_analytics_http.ipynb

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -746,11 +746,6 @@
746746
},
747747
{
748748
"cell_type": "code",
749-
"execution_count": null,
750-
"metadata": {
751-
"id": "3TASe-HCxtss"
752-
},
753-
"outputs": [],
754749
"source": [
755750
"# @title Delete Conversation\n",
756751
"\n",
@@ -769,7 +764,12 @@
769764
"else:\n",
770765
" print(f\"Error while deleting conversation: {conversation_response.status_code}\")\n",
771766
" print(conversation_response.text)"
772-
]
767+
],
768+
"metadata": {
769+
"id": "rnIQ5blAUIuV"
770+
},
771+
"execution_count": null,
772+
"outputs": []
773773
},
774774
{
775775
"cell_type": "code",

agents/gemini_data_analytics/intro_gemini_data_analytics_sdk.ipynb

Lines changed: 1 addition & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
"2. Authenticate to Google Cloud\n",
6969
"3. Add data\n",
7070
"4. Perform agent operations (create, list, get, delete)\n",
71-
"5. Manage conversations (create, list, get, delete)\n",
71+
"5. Manage conversations (create, list, get)\n",
7272
"6. Ask questions with your agent"
7373
]
7474
},
@@ -1605,31 +1605,6 @@
16051605
"# Handle the response\n",
16061606
"print(response)"
16071607
]
1608-
},
1609-
{
1610-
"metadata": {
1611-
"id": "s1efidGFTN8v"
1612-
},
1613-
"cell_type": "code",
1614-
"source": [
1615-
"# @title Delete Conversation\n",
1616-
"\n",
1617-
"# fmt: off\n",
1618-
"conversation_id = \"conversation_1\" # @param {type:\"string\"}\n",
1619-
"# fmt: on\n",
1620-
"\n",
1621-
"request = geminidataanalytics.DeleteConversationRequest(\n",
1622-
" name=data_chat_client.conversation_path(billing_project, location, conversation_id),\n",
1623-
")\n",
1624-
"\n",
1625-
"# Make the request\n",
1626-
"response = data_chat_client.delete_conversation(request=request)\n",
1627-
"\n",
1628-
"# Handle the response\n",
1629-
"print(response)"
1630-
],
1631-
"outputs": [],
1632-
"execution_count": null
16331608
}
16341609
],
16351610
"metadata": {

0 commit comments

Comments
 (0)