public static class DialogSearchRequest.Builder extends Object
| 构造器和说明 |
|---|
Builder() |
| 限定符和类型 | 方法和说明 |
|---|---|
DialogSearchRequest.Builder |
agentType(DialogSearchRequestAgentTypeEnum agentType)
agent类型
示例值:1
|
DialogSearchRequest.Builder |
agentType(Integer agentType)
agent类型
示例值:1
|
DialogSearchRequest |
build() |
DialogSearchRequest.Builder |
responseType(DialogSearchRequestResponseTypeEnum responseType)
返回结果的数据类型
示例值:1
|
DialogSearchRequest.Builder |
responseType(Integer responseType)
返回结果的数据类型
示例值:1
|
DialogSearchRequest.Builder |
scenarioContext(ScenarioContext scenarioContext)
场景上下文
示例值:
|
DialogSearchRequest.Builder |
scenarioContextSchemaVersion(String scenarioContextSchemaVersion)
场景上下文的schema版本号
示例值:v1
|
DialogSearchRequest.Builder |
toolRawInstruction(String toolRawInstruction)
用户问题
示例值:帮我找一下昨天发的文档
|
public DialogSearchRequest.Builder toolRawInstruction(String toolRawInstruction)
示例值:帮我找一下昨天发的文档
toolRawInstruction - public DialogSearchRequest.Builder scenarioContextSchemaVersion(String scenarioContextSchemaVersion)
示例值:v1
scenarioContextSchemaVersion - public DialogSearchRequest.Builder scenarioContext(ScenarioContext scenarioContext)
示例值:
scenarioContext - public DialogSearchRequest.Builder agentType(Integer agentType)
示例值:1
agentType - public DialogSearchRequest.Builder agentType(DialogSearchRequestAgentTypeEnum agentType)
示例值:1
agentType - DialogSearchRequestAgentTypeEnumpublic DialogSearchRequest.Builder responseType(Integer responseType)
示例值:1
responseType - public DialogSearchRequest.Builder responseType(DialogSearchRequestResponseTypeEnum responseType)
示例值:1
responseType - DialogSearchRequestResponseTypeEnumpublic DialogSearchRequest build()
Copyright © 2024. All rights reserved.