InferRequestId (request_label)

Function

Constructor, which is used to create a request body object based on the value of request_label as a unique sequence number.

C++ Prototype

explicit InferRequestId(const std::string requestLabel);

Python Prototype

InferRequestId(request_label)

Parameters

Parameter

Mandatory/Optional

Description

Value

request_label

Optional

Unique ID of an inference request object, which is a sequence number.

Valid request sequence number of the string type

Usage Example

Constructor, which is used to construct a request object based on the string ID.

1
2
id = '123'
request_id = llm_manager_python.InferRequestId(id)