# Databricks App Configuration # See: https://docs.databricks.com/en/dev-tools/databricks-apps/index.html command: - "uvicorn" - "api.app:app" - "--host" - "0.0.0.0" - "--port" - "8000" env: - name: DATABRICKS_HOST valueFrom: databricksSecret: key: host scope: oral-health-app - name: DATABRICKS_TOKEN valueFrom: databricksSecret: key: token scope: oral-health-app - name: OPENAI_API_KEY valueFrom: databricksSecret: key: openai_key scope: oral-health-app resources: - name: policy-classifier-endpoint modelServing: endpoint: policy-classifier-prod - name: sentiment-analyzer-endpoint modelServing: endpoint: sentiment-analyzer-prod port: 8000