StringValue接口
接口功能
获取请求体字符类型的序列号,多为请求体序列号类似为string类型请求体使用。
接口格式
const std::string &StringValue() const;
接口参数
无。
使用样例
mindie_llm::InferRequestId runtimeReqId1("0"); std::string value = runtimeReqId1.Type();
返回值
返回请求体对象字符类型序列号,若请求体对象为uint64_t类型,会返回空序列号。
父主题: InferRequestId