UI/dbai_src/bot_functions.py [46:70]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
            }
        },
        "required": [
            "table_id",
        ],
    },
)

sql_query_func = FunctionDeclaration(
    name="sql_query",
    description="""
    Get information from data in BigQuery using SQL queries.
    Also generates SQL by observing the error output from previous
    SQL execution if SQL query fails to execute
    """,
    parameters={
        "type": "object",
        "properties": {
            "query": {
                "type": "string",
                "description": '''
                SQL query on a single line that will help give quantitative
                answers to the user's question when run on a BigQuery dataset
                and table. In the SQL query, always use the fully qualified
                dataset and table names. Do not use hardcoded dates in query,
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



dbai_src/bot_functions.py [45:69]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
            }
        },
        "required": [
            "table_id",
        ],
    },
)

sql_query_func = FunctionDeclaration(
    name="sql_query",
    description="""
    Get information from data in BigQuery using SQL queries. Also generates
    SQL by observing the error output from previous SQL execution if SQL
    query fails to execute
    """,
    parameters={
        "type": "object",
        "properties": {
            "query": {
                "type": "string",
                "description": '''
                SQL query on a single line that will help give quantitative
                answers to the user's question when run on a BigQuery dataset
                and table. In the SQL query, always use the fully qualified
                dataset and table names. Do not use hardcoded dates in query,
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



