airflow.providers.databricks.hooks.genie¶
Hook for Databricks Genie conversations.
Attributes¶
Classes¶
Consult a Genie space using the Databricks Workspace REST API. |
Module Contents¶
- class airflow.providers.databricks.hooks.genie.DatabricksGenieHook(*args, poll_interval=_POLL_INTERVAL_SECONDS, **kwargs)[source]¶
Bases:
airflow.providers.databricks.hooks.databricks_base.BaseDatabricksHook,airflow.providers.common.ai.managed_agents.base.BaseManagedAgentHookConsult a Genie space using the Databricks Workspace REST API.
The Databricks connection supplies authentication. Genie start/send requests are sent once: their outcome may be unknown after a timeout or server error, so the hook never retries them. Message and query-result reads use the hook’s configured retry policy.
- agent_platform = 'databricks.genie'[source]¶
The
platformeveryManagedAgentReffrom this hook carries.
- resolve_agent(agent)[source]¶
Normalize
agentinto a platform-qualified reference. Must not make a network call.