public class KnowledgeQaConfig extends AbstractModel
header, skipSign| Constructor and Description |
|---|
KnowledgeQaConfig() |
KnowledgeQaConfig(KnowledgeQaConfig 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 |
|---|---|
AICallConfig |
getAiCall()
Get Configure voice call parameters.
|
Boolean |
getEnableAudit()
Get Session content moderation switch.
|
String |
getGreeting()
Get Welcome words, within 200 characters.
|
Boolean |
getImageTextRetrieval()
Get Whether to enable Image-Text Search.
|
IntentAchievement[] |
getIntentAchievements()
Get Priority of intent achievement methods.
|
AppModel |
getModel()
Get Generative model configuration.
|
KnowledgeQaOutput |
getOutput()
Get Knowledge management output configuration.
|
String |
getPattern()
Get Application modes: standard, agent, single_workflow.
|
KnowledgeQaPlugin[] |
getPlugins()
Get Application associated plug-in.
|
String |
getRoleDescription()
Get Character description, within 4,000 characters.
|
KnowledgeQaSearch[] |
getSearch()
Get Knowledge search configuration.
|
SearchRange |
getSearchRange()
Get Retrieval range.
|
SearchStrategy |
getSearchStrategy()
Get Retrieve a policy.
|
KnowledgeQaSingleWorkflow |
getSingleWorkflow()
Get Single workflow ID, which is entered when Pattern is single_workflow.
|
AppModel |
getThoughtModel()
Get Thinking model configuration.
|
KnowledgeWorkflow |
getWorkflow()
Get Workflow configuration.
|
void |
setAiCall(AICallConfig AiCall)
Set Configure voice call parameters.
|
void |
setEnableAudit(Boolean EnableAudit)
Set Session content moderation switch.
|
void |
setGreeting(String Greeting)
Set Welcome words, within 200 characters.
|
void |
setImageTextRetrieval(Boolean ImageTextRetrieval)
Set Whether to enable Image-Text Search.
|
void |
setIntentAchievements(IntentAchievement[] IntentAchievements)
Set Priority of intent achievement methods.
|
void |
setModel(AppModel Model)
Set Generative model configuration.
|
void |
setOutput(KnowledgeQaOutput Output)
Set Knowledge management output configuration.
|
void |
setPattern(String Pattern)
Set Application modes: standard, agent, single_workflow.
|
void |
setPlugins(KnowledgeQaPlugin[] Plugins)
Set Application associated plug-in.
|
void |
setRoleDescription(String RoleDescription)
Set Character description, within 4,000 characters.
|
void |
setSearch(KnowledgeQaSearch[] Search)
Set Knowledge search configuration.
|
void |
setSearchRange(SearchRange SearchRange)
Set Retrieval range.
|
void |
setSearchStrategy(SearchStrategy SearchStrategy)
Set Retrieve a policy.
|
void |
setSingleWorkflow(KnowledgeQaSingleWorkflow SingleWorkflow)
Set Single workflow ID, which is entered when Pattern is single_workflow.
|
void |
setThoughtModel(AppModel ThoughtModel)
Set Thinking model configuration.
|
void |
setWorkflow(KnowledgeWorkflow Workflow)
Set Workflow configuration.
|
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 KnowledgeQaConfig()
public KnowledgeQaConfig(KnowledgeQaConfig source)
public String getGreeting()
public void setGreeting(String Greeting)
Greeting - Welcome words, within 200 characters.public String getRoleDescription()
public void setRoleDescription(String RoleDescription)
RoleDescription - Character description, within 4,000 characters. By filling out the description, set the #Character Name, #Style Characteristics, and reachable #Intent of the application. It is recommended to fill in according to the following template, with custom intents no more than 5.
#Character Name:
#Style Characteristics:
#Output Requirements:
#Ability Limitations:
The following user intents can be reached.
##Intent Name:
##Intent Description:
##Intent Example:
##Intent Implementation:public AppModel getModel()
public void setModel(AppModel Model)
Model - Generative model configuration.public KnowledgeQaSearch[] getSearch()
public void setSearch(KnowledgeQaSearch[] Search)
Search - Knowledge search configuration.public KnowledgeQaOutput getOutput()
public void setOutput(KnowledgeQaOutput Output)
Output - Knowledge management output configuration.public KnowledgeWorkflow getWorkflow()
public void setWorkflow(KnowledgeWorkflow Workflow)
Workflow - Workflow configuration.public SearchRange getSearchRange()
public void setSearchRange(SearchRange SearchRange)
SearchRange - Retrieval range.public String getPattern()
public void setPattern(String Pattern)
Pattern - Application modes: standard, agent, single_workflow.public SearchStrategy getSearchStrategy()
public void setSearchStrategy(SearchStrategy SearchStrategy)
SearchStrategy - Retrieve a policy.public KnowledgeQaSingleWorkflow getSingleWorkflow()
public void setSingleWorkflow(KnowledgeQaSingleWorkflow SingleWorkflow)
SingleWorkflow - Single workflow ID, which is entered when Pattern is single_workflow.public KnowledgeQaPlugin[] getPlugins()
public void setPlugins(KnowledgeQaPlugin[] Plugins)
Plugins - Application associated plug-in.public AppModel getThoughtModel()
public void setThoughtModel(AppModel ThoughtModel)
ThoughtModel - Thinking model configuration.public IntentAchievement[] getIntentAchievements()
public void setIntentAchievements(IntentAchievement[] IntentAchievements)
IntentAchievements - Priority of intent achievement methods.public Boolean getImageTextRetrieval()
public void setImageTextRetrieval(Boolean ImageTextRetrieval)
ImageTextRetrieval - Whether to enable Image-Text Search.public AICallConfig getAiCall()
public void setAiCall(AICallConfig AiCall)
AiCall - Configure voice call parameters.public Boolean getEnableAudit()
public void setEnableAudit(Boolean EnableAudit)
EnableAudit - Session content moderation switch. Note: 1. This feature is enabled by default if no value is input. 2. Tencent Cloud provides a content pre-filtering feature to help filter high-risk or illegal content. If you do not use our filtering feature, you can disable it here. We hereby remind you that you are responsible for ensuring that your content complies with platform policies and laws and regulations, and that you should fulfill your content moderation obligations.Copyright © 2025. All rights reserved.