|
38 | 38 | "id": "3decEzdcBiOl" |
39 | 39 | }, |
40 | 40 | "source": [ |
41 | | - "# Intro to Gemini Data Analytics " |
| 41 | + "# Intro to Gemini Data Analytics" |
42 | 42 | ] |
43 | 43 | }, |
44 | 44 | { |
|
68 | 68 | "2. Authenticate to Google Cloud\n", |
69 | 69 | "3. Add data\n", |
70 | 70 | "4. Perform agent operations (create, list, get, delete)\n", |
71 | | - "5. Manage conversations (create, list, get)\n", |
| 71 | + "5. Manage conversations (create, list, get, delete)\n", |
72 | 72 | "6. Ask questions with your agent" |
73 | 73 | ] |
74 | 74 | }, |
|
1534 | 1534 | "cell_type": "code", |
1535 | 1535 | "execution_count": null, |
1536 | 1536 | "metadata": { |
1537 | | - "cellView": "form", |
1538 | 1537 | "id": "clN0SioB6ejc" |
1539 | 1538 | }, |
1540 | 1539 | "outputs": [], |
|
1605 | 1604 | "# Handle the response\n", |
1606 | 1605 | "print(response)" |
1607 | 1606 | ] |
| 1607 | + }, |
| 1608 | + { |
| 1609 | + "cell_type": "code", |
| 1610 | + "source": [ |
| 1611 | + "# @title Get Conversation\n", |
| 1612 | + "\n", |
| 1613 | + "# fmt: off\n", |
| 1614 | + "conversation_id = \"conversation_1\" # @param {type:\"string\"}\n", |
| 1615 | + "# fmt: on\n", |
| 1616 | + "\n", |
| 1617 | + "request = geminidataanalytics.DeleteConversationRequest(\n", |
| 1618 | + " name=data_chat_client.conversation_path(billing_project, location, conversation_id),\n", |
| 1619 | + ")\n", |
| 1620 | + "\n", |
| 1621 | + "# Make the request\n", |
| 1622 | + "response = data_chat_client.delete_conversation(request=request)\n", |
| 1623 | + "\n", |
| 1624 | + "# Handle the response\n", |
| 1625 | + "print(response)" |
| 1626 | + ], |
| 1627 | + "metadata": { |
| 1628 | + "id": "VutwJEtlbTP1" |
| 1629 | + }, |
| 1630 | + "execution_count": null, |
| 1631 | + "outputs": [] |
1608 | 1632 | } |
1609 | 1633 | ], |
1610 | 1634 | "metadata": { |
|
1618 | 1642 | "NKmRVLyDlt0n" |
1619 | 1643 | ], |
1620 | 1644 | "name": "intro_gemini_data_analytics_sdk.ipynb", |
1621 | | - "toc_visible": true |
| 1645 | + "toc_visible": true, |
| 1646 | + "private_outputs": true, |
| 1647 | + "provenance": [ |
| 1648 | + { |
| 1649 | + "file_id": "/piper/depot/google3/google/cloud/geminidataanalytics/colab/intro_gemini_data_analytics_sdk.ipynb", |
| 1650 | + "timestamp": 1760373388601 |
| 1651 | + } |
| 1652 | + ] |
1622 | 1653 | }, |
1623 | 1654 | "kernelspec": { |
1624 | 1655 | "display_name": "Python 3", |
|
0 commit comments