adk-python/contributing/samples/bigquery_agent
2025-05-12 16:06:45 -07:00
..
__init__.py Create a developer folder and add samples. 2025-05-07 09:26:19 -07:00
agent.py update bigquery agent and oauth calendar agent according to new toolset interface 2025-05-12 16:06:45 -07:00
README.md Create a developer folder and add samples. 2025-05-07 09:26:19 -07:00

OAuth Sample

Introduction

This sample tests and demos the OAuth support in ADK via two tools:

    1. bigquery_datasets_list:

    List user's datasets.

    1. bigquery_datasets_get: Get a dataset's details.
    1. bigquery_datasets_insert: Create a new dataset.
    1. bigquery_tables_list: List all tables in a dataset.
    1. bigquery_tables_get: Get a table's details.
    1. bigquery_tables_insert: Insert a new table into a dataset.

How to use

Sample prompt

  • Do I have any datasets in project sean-dev-agent ?
  • Do I have any tables under it ?
  • could you get me the details of this table ?
  • Can you help to create a new dataset in the same project? id : sean_test , location: us
  • could you show me the details of this new dataset ?
  • could you create a new table under this dataset ? table name : sean_test_table. column1 : name is id , type is integer, required. column2 : name is info , type is string, required. column3 : name is backup , type is string, optional.