Generate a completion using a previously defined deployment.
Important: This endpoint is DEPRECATED and has been superseded by execute-prompt.
The ID of the deployment. Must provide either this or deployment_name.
The name of the deployment. Must provide either this or deployment_id.