Calling the Seldon API with Seldon Python client
from seldon_core.seldon_client import SeldonClient
sc = SeldonClient(deployment_name="mymodel",namespace="seldon",gateway_endpoint="localhost:8003",gateway="ambassador")r = sc.predict(transport="rest")r = sc.predict(transport="grpc")sc = SeldonClient(..., client_return_type="dict")sc = SeldonClient(..., client_return_type="proto")
sc.predict(..., client_return_type="dict") # Here we override itAdvanced Examples
Last updated
Was this helpful?