context to be initialized
(for authentication).
- Input as JSON dict (like above) or pydantic model.
- Automatic parsing of the response into an pydantic model using the
output_modelargument. predict_async(recommended) orpredict_async.- Streaming responses using
predict_async_streamwhich returns an async bytes iterator. - Customized with
RPCOptions.