public class RunReRankResponse extends AbstractModel
header, skipSign
Constructor and Description |
---|
RunReRankResponse() |
RunReRankResponse(RunReRankResponse source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
String |
getRequestId()
Get 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
Float[] |
getScoreList()
Get 相关性, 数值越大越相关
|
Usage |
getUsage()
Get 消耗量,仅返回TotalToken
|
void |
setRequestId(String RequestId)
Set 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
void |
setScoreList(Float[] ScoreList)
Set 相关性, 数值越大越相关
|
void |
setUsage(Usage Usage)
Set 消耗量,仅返回TotalToken
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public RunReRankResponse()
public RunReRankResponse(RunReRankResponse source)
public Float[] getScoreList()
public void setScoreList(Float[] ScoreList)
ScoreList
- 相关性, 数值越大越相关public Usage getUsage()
public void setUsage(Usage Usage)
Usage
- 消耗量,仅返回TotalTokenpublic String getRequestId()
public void setRequestId(String RequestId)
RequestId
- 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。Copyright © 2024. All rights reserved.