public class KnowledgeQaOutput extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
KnowledgeQaOutput()  | 
KnowledgeQaOutput(KnowledgeQaOutput 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 | 
getBareAnswer()
Get Unknown response, within 300 characters. 
 | 
Long | 
getMethod()
Get Output method, 1: streaming 2: non-streaming. 
 | 
String[] | 
getQuestionClarifyKeywords()
Get List of keywords for question clarification. 
 | 
Boolean | 
getShowQuestionClarify()
Get Whether to display the question clarification switch. 
 | 
Boolean | 
getUseGeneralKnowledge()
Get General model response. 
 | 
Boolean | 
getUseQuestionClarify()
Get Whether to enable question clarification. 
 | 
Boolean | 
getUseRecommended()
Get Whether to enable recommended questions. 
 | 
void | 
setBareAnswer(String BareAnswer)
Set Unknown response, within 300 characters. 
 | 
void | 
setMethod(Long Method)
Set Output method, 1: streaming 2: non-streaming. 
 | 
void | 
setQuestionClarifyKeywords(String[] QuestionClarifyKeywords)
Set List of keywords for question clarification. 
 | 
void | 
setShowQuestionClarify(Boolean ShowQuestionClarify)
Set Whether to display the question clarification switch. 
 | 
void | 
setUseGeneralKnowledge(Boolean UseGeneralKnowledge)
Set General model response. 
 | 
void | 
setUseQuestionClarify(Boolean UseQuestionClarify)
Set Whether to enable question clarification. 
 | 
void | 
setUseRecommended(Boolean UseRecommended)
Set Whether to enable recommended questions. 
 | 
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 KnowledgeQaOutput()
public KnowledgeQaOutput(KnowledgeQaOutput source)
public Long getMethod()
public void setMethod(Long Method)
Method - Output method, 1: streaming 2: non-streaming.public Boolean getUseGeneralKnowledge()
public void setUseGeneralKnowledge(Boolean UseGeneralKnowledge)
UseGeneralKnowledge - General model response.public String getBareAnswer()
public void setBareAnswer(String BareAnswer)
BareAnswer - Unknown response, within 300 characters.public Boolean getShowQuestionClarify()
public void setShowQuestionClarify(Boolean ShowQuestionClarify)
ShowQuestionClarify - Whether to display the question clarification switch.public Boolean getUseQuestionClarify()
public void setUseQuestionClarify(Boolean UseQuestionClarify)
UseQuestionClarify - Whether to enable question clarification.public String[] getQuestionClarifyKeywords()
public void setQuestionClarifyKeywords(String[] QuestionClarifyKeywords)
QuestionClarifyKeywords - List of keywords for question clarification.public Boolean getUseRecommended()
public void setUseRecommended(Boolean UseRecommended)
UseRecommended - Whether to enable recommended questions.Copyright © 2025. All rights reserved.