Batch deployment input details for Python functions

Follow these rules when you are 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 watsonx.ai Runtime the same way that you can deploy models. Your tools and apps can use the watsonx.ai Python client or REST API to send data to your deployed functions in 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 you pass it to models
  • Handle errors
  • Include calls to multiple models All of these actions take place within the deployed function, instead of in your application.

Data sources

If you are specifying input/output data references programmatically:

Notes:

Learn more

Deploying Python functions.

Parent topic: Batch deployment input details by framework