Update ADK doc according to issue #744 - 6#757
Conversation
| ```java | ||
| --8<-- "examples/java/snippets/src/main/java/tools/GoogleSearchAgentApp.java:full_code" | ||
| ``` | ||
|
|
There was a problem hiding this comment.
BREAKING CHANGE: removal of code samples
| ```java | ||
| --8<-- "examples/java/snippets/src/main/java/tools/CodeExecutionAgentApp.java:full_code" | ||
| ``` | ||
|
|
There was a problem hiding this comment.
BREAKING CHANGE: removal of code samples
| ) | ||
| ``` | ||
|
|
||
|
|
There was a problem hiding this comment.
BREAKING CHANGE: removal of code samples
| ```py | ||
| --8<-- "examples/python/snippets/tools/built-in-tools/vertexai_rag_engine.py" | ||
| ``` | ||
|
|
There was a problem hiding this comment.
BREAKING CHANGE: removal of code samples
| ```py | ||
| --8<-- "examples/python/snippets/tools/built-in-tools/vertexai_search.py" | ||
| ``` | ||
|
|
There was a problem hiding this comment.
BREAKING CHANGE: removal of code samples
| --8<-- "examples/python/snippets/tools/built-in-tools/bigtable.py" | ||
| ``` | ||
|
|
||
|
|
There was a problem hiding this comment.
BREAKING CHANGE: removal of code samples
| } | ||
| ``` | ||
|
|
||
|
|
There was a problem hiding this comment.
BREAKING CHANGE: removal of code samples
| ``` | ||
|
|
||
|
|
||
|
|
There was a problem hiding this comment.
BREAKING CHANGE: removal of code samples
| @@ -366,61 +272,3 @@ to use built-in tools with other tools by using multiple agents: | |||
| For example, the following approach that uses built-in tools within sub-agents | |||
| is **not** currently supported: | |||
|
|
|||
There was a problem hiding this comment.
BREAKING CHANGE: removal of code samples
| ``` | ||
|
|
||
| ### Customizable Template and Parameterized SQL | ||
|
|
There was a problem hiding this comment.
USABLE with close review and updates (new CL)
| * **`list_table_ids`**: Fetches table ids present in a BigQuery dataset. | ||
| * **`get_table_info`**: Fetches metadata about a BigQuery table. | ||
| * **`execute_sql`**: Runs a SQL query in BigQuery and fetch the result. | ||
| * **`execute_sql`**: Runs a SQL query in BigQuery and fetch the result. This tool now includes a `dry_run` parameter. If set to `True`, the query will be validated by BigQuery but not actually executed, returning information about the query's validity and potential cost. |
There was a problem hiding this comment.
INCORRECT SUGGESTION: update does not match content of suggestion #6 (Spanner template and Parameterized SQL)
| * **`execute_sql`**: Runs a SQL query in BigQuery and fetch the result. This tool now includes a `dry_run` parameter. If set to `True`, the query will be validated by BigQuery but not actually executed, returning information about the query's validity and potential cost. | ||
| * **`forecast`**: Runs a BigQuery AI time series forecast using the `AI.FORECAST` function. | ||
| * **`ask_data_insights`**: Answers questions about data in BigQuery tables using natural language. | ||
| * **`analyze_contribution`**: Runs a BigQuery ML contribution analysis using `ML.CREATE_MODEL` and `ML.GET_INSIGHTS` to identify the dimensions that contribute most significantly to a given metric. |
There was a problem hiding this comment.
INCORRECT SUGGESTION: update does not match content of suggestion #6 (Spanner template and Parameterized SQL)
joefernandez
left a comment
There was a problem hiding this comment.
noted problems with suggested updates.
|
DECISION: REJECT and cherrypick
|
This PR adds a new section to the built-in tools documentation explaining how to use customizable template SQL and parameterized SQL with the Spanner toolset, including code examples.