Kapanış

Python SDK ile Databricks

Avi Steinberg

Senior Software Engineer

Databricks ile AI modellerini sorgulayın

WorkspaceClient.serving_endpoints.query()
Python SDK ile Databricks

Databricks verisi üzerinde SQL çalıştırmak için AI modellerini kullanın

SQLDatabase.from_databricks(catalog, schema, warehouse_id)
SQLDatabaseToolkit(db, llm)
create_sql_agent(llm, toolkit, verbose)
agent.run("your question..")
Python SDK ile Databricks

Kümeler oluşturun ve yönetin

w.clusters.create(spark_version, cluster_name)
w.clusters.delete(cluster_id)
w.clusters.start(cluster_id)
w.clusters.get(cluster_id)
Python SDK ile Databricks

İşler oluşturun ve yönetin

w.jobs.create(
    name, 
    tasks=[
      jobs.Task(
          description,
          notebook_task=jobs.NotebookTask(notebook_path),
          task_key
          )
    ],
    schedule=jobs.CronSchedule(quartz_cron_expression,timezone_id),
    timeout_seconds, 
)
Python SDK ile Databricks

Hepsini bir araya getirmek

Databricks İşi ve AI Modeli

Python SDK ile Databricks

Tebrikler!

Python SDK ile Databricks

Preparing Video For Download...