yggdrasil.databricks.ai.service¶
service ¶
Databricks AI umbrella service.
Holds the AI-shaped sub-services (vector search today; model serving
and registered models are on the roadmap — see ygg-mlops). Reach
each via client.ai.<service>::
client.ai.vector_search # vector search endpoints + indexes
client.ai.vector_search.endpoint("rag").ensure_created()
client.ai.vector_search.index("main.rag.docs").query(query_text="…", columns=["id", "text"])
DatabricksAI ¶
Bases: DatabricksService
Umbrella for Databricks AI sub-services on a single client.
vector_search
property
¶
Vector search service (lazy + cached on this :class:DatabricksAI).
environments
property
¶
Base-environment service (shorthand for client.environments).
tables
property
¶
Collection-level Unity Catalog table service (shorthand for client.tables).
views
property
¶
Alias for :attr:tables — :class:Table covers both managed/external
tables and view-shaped securables.
catalogs
property
¶
Collection-level Unity Catalog hierarchy service (shorthand for client.catalogs).
schemas
property
¶
Collection-level Unity Catalog schema service (shorthand for client.schemas).
volumes
property
¶
Collection-level Unity Catalog volume service (shorthand for client.volumes).
default_tags ¶
Return default resource tags for Databricks assets.
Returns:
| Type | Description |
|---|---|
dict[str, str]
|
A dict of default tags. |