Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2025 05:13 AM
@stevomcnevo007 I would suggest raising a support ticket at this point for direct collaboration on the resolution. Meanwhile I'd like to understand if there are any errors related to permission or artifact paths, or some additional error details to pinpoint the root cause:
import mlflow
from databricks import agents
# Set Unity Catalog as the registry
mlflow.set_registry_uri("databricks-uc")
# Verify the registered model and its schema
print(uc_registered_model_info)
model_info = mlflow.models.get_model_info(
f"models:/emoysis_catalog.cookbook.sop_chatbot/{uc_registered_model_info.version}"
)
print(model_info.signature)
# Deploy the model
deployment_info = agents.deploy(
model_name="emoysis_catalog.cookbook.sop_chatbot",
model_version=int(uc_registered_model_info.version),
environment_vars={},
)
print(deployment_info)
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2025 10:18 AM
Does the model need to be served before deployment?