Interface InferenceFuture

Future class for endpoints that support server side async inferences.

Param: poll_url

A unique URL to poll status of inference.

Param: response_id

Unique identifier for inference

Remarks

This class is used in conjunction with the Client.inferAsync method. Please reference that methods remarks for more information. Client.inferAsync returns an InferenceFuture, which can then be used with Client.isFutureReady to see the status. Once it returns true, you can use the Client.getFutureResult to get the response for your InferenceFuture.

interface InferenceFuture {
    poll_url: string;
    response_id: string;
}

Properties

poll_url: string
response_id: string

Generated using TypeDoc