public class SendChatMessageRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
SendChatMessageRequest() |
SendChatMessageRequest(SendChatMessageRequest 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 |
getMode()
Get 使用模式。
通用问答:填写General。
搜索增强问答:填写WithSearchPlugin。
默认为General,即通用问答。
当前可体验模型仅支持General。
|
String |
getModelVersion()
Get 会话模型版本。
金融大模型:填写sn-finllm-13b-chat-v1。
默认为sn-finllm-13b-chat-v1,即金融大模型。
|
String |
getQuestion()
Get 问题描述
|
String |
getSearchSource()
Get 搜索来源。仅当Mode为WithSearchPlugin时生效。
预置文稿库:填写Preset。自定义:填写Custom。
|
String |
getSessionId()
Get 会话id,标识一组对话的唯一id,id变更则重置会话
|
void |
setMode(String Mode)
Set 使用模式。
通用问答:填写General。
搜索增强问答:填写WithSearchPlugin。
默认为General,即通用问答。
当前可体验模型仅支持General。
|
void |
setModelVersion(String ModelVersion)
Set 会话模型版本。
金融大模型:填写sn-finllm-13b-chat-v1。
默认为sn-finllm-13b-chat-v1,即金融大模型。
|
void |
setQuestion(String Question)
Set 问题描述
|
void |
setSearchSource(String SearchSource)
Set 搜索来源。仅当Mode为WithSearchPlugin时生效。
预置文稿库:填写Preset。自定义:填写Custom。
|
void |
setSessionId(String SessionId)
Set 会话id,标识一组对话的唯一id,id变更则重置会话
|
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 SendChatMessageRequest()
public SendChatMessageRequest(SendChatMessageRequest source)
public String getSessionId()
public void setSessionId(String SessionId)
SessionId
- 会话id,标识一组对话的唯一id,id变更则重置会话public String getQuestion()
public void setQuestion(String Question)
Question
- 问题描述public String getModelVersion()
public void setModelVersion(String ModelVersion)
ModelVersion
- 会话模型版本。
金融大模型:填写sn-finllm-13b-chat-v1。
默认为sn-finllm-13b-chat-v1,即金融大模型。public String getMode()
public void setMode(String Mode)
Mode
- 使用模式。
通用问答:填写General。
搜索增强问答:填写WithSearchPlugin。
默认为General,即通用问答。
当前可体验模型仅支持General。public String getSearchSource()
public void setSearchSource(String SearchSource)
SearchSource
- 搜索来源。仅当Mode为WithSearchPlugin时生效。
预置文稿库:填写Preset。自定义:填写Custom。Copyright © 2024. All rights reserved.