adk-python/contributing/samples/bigquery_agent
2025-05-29 11:48:01 -07:00
..
__init__.py Create a developer folder and add samples. 2025-05-07 09:26:19 -07:00
agent.py Copybara import of the project: 2025-05-16 09:18:48 -07:00
README.md Fix typos in README for sample bigquery_agent and oauth_calendar_agent 2025-05-29 11:48:01 -07:00

BigQuery Sample

Introduction

This sample tests and demos the BigQuery 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.