Batch deployment input details for Python functions
Follow these rules when specifying input details for batch deployments of Python functions.
Data type summary table:
Data | Description |
---|---|
Type | inline |
File formats | N/A |
You can deploy Python functions in Watson Machine Learning the same way that you can deploy models. Your tools and apps can use the Watson Machine Learning Python client or REST API to send data to your deployed functions the same way that they send data to deployed models. Deploying functions gives you the ability to hide details (such as credentials), preprocess data before passing it to models, perform error handling, and include calls to multiple models, all within the deployed function instead of in your application.
Data Sources:
If you are specifying input/output data references programmatically:
- Data source reference
type
depends on the asset type. Refer to the Data source reference types section in Adding data assets to a deployment space.
Notes:
- For connections of type Cloud Object Storage or Cloud Object Storage (infrastructure), you must configure Access key and Secret key, also known as HMAC credentials.
- The environment variables parameter of deployment jobs is not applicable.
- Make sure the output is structured to match the output schema described in Execute a synchronous deployment prediction.
Parent topic: Batch deployment input details by framework