tests.system.databricks.example_databricks_genie

Ask a Databricks Genie space a question as a standalone, resumable task.

Configure DATABRICKS_GENIE_SPACE_ID and the databricks_default connection before running this system test.

Attributes

DAG_ID

SPACE_ID

CONN_ID

QUESTION

ask

test_run

Functions

verify_result(result)

Verify that Genie answered and returned its identifiers.

consult_genie()

Ask Genie directly through the hook, without an operator.

ask_genie_tool()

Ask Genie through the Common AI managed-agent toolset.

Module Contents

tests.system.databricks.example_databricks_genie.DAG_ID = 'example_databricks_genie'[source]
tests.system.databricks.example_databricks_genie.SPACE_ID[source]
tests.system.databricks.example_databricks_genie.CONN_ID[source]
tests.system.databricks.example_databricks_genie.QUESTION = 'How many orders were placed last week?'[source]
tests.system.databricks.example_databricks_genie.verify_result(result)[source]

Verify that Genie answered and returned its identifiers.

tests.system.databricks.example_databricks_genie.consult_genie()[source]

Ask Genie directly through the hook, without an operator.

tests.system.databricks.example_databricks_genie.ask_genie_tool()[source]

Ask Genie through the Common AI managed-agent toolset.

tests.system.databricks.example_databricks_genie.ask[source]
tests.system.databricks.example_databricks_genie.test_run[source]

Was this entry helpful?