使用已有的requestId初始化RequestId对象。
RequestId(const SimpleLLMInference::RequestId &other);
参数 |
是否必选 |
说明 |
取值要求 |
---|---|---|---|
other |
必选 |
已有的RequestId对象。 |
合法的请求体对象。 |
请求ID类的拷贝构造函数。
1 2 3 4 | std::string requestLabel = "123"; RequestId requestId1 = requestLabel; RequestId requestId2(requestId1); |
RequestId对象。