public class RunRerankRequest extends AbstractModel
header, skipSign| Constructor and Description |
|---|
RunRerankRequest() |
RunRerankRequest(RunRerankRequest 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[] |
getDocs()
Get Document list, up to 20 documents.
|
String |
getModel()
Get Model name.
|
String |
getQuery()
Get Query content.
|
void |
setDocs(String[] Docs)
Set Document list, up to 20 documents.
|
void |
setModel(String Model)
Set Model name.
|
void |
setQuery(String Query)
Set Query content.
|
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, toJsonStringpublic RunRerankRequest()
public RunRerankRequest(RunRerankRequest source)
public String getQuery()
public void setQuery(String Query)
Query - Query content.public String[] getDocs()
public void setDocs(String[] Docs)
Docs - Document list, up to 20 documents.public String getModel()
public void setModel(String Model)
Model - Model name. Default: lke-reranker-base.Copyright © 2025. All rights reserved.