tfx.components.infra_validator.request_builder.build_requests

View source on GitHub

Build model server requests.

Examples artifact will be used as a data source to build requests. Caller should guarantee that the logical format of the Examples artifact should be compatible with request type to build.

model_name A model name that model server recognizes.
model A model artifact for model signature analysis.
examples An Examples artifact for request data source.
request_spec A RequestSpec config.

A list of request protos.