
Create a Plumber API to predict with a deployable vetiver_model()
object
Source: R/api.R
vetiver_pr_predict.Rd
This function was deprecated to use vetiver_api directly instead.
Arguments
- pr
A Plumber router, such as from
plumber::pr()
.- vetiver_model
A deployable
vetiver_model()
object- path
The endpoint path
- debug
TRUE
provides more insight into your API errors.- ...
Other arguments passed to
predict()
, such as predictiontype