类 ScenarioContext.Builder
java.lang.Object
com.lark.oapi.service.search.v2.model.ScenarioContext.Builder
- 封闭类:
ScenarioContext
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明build()extra(ScenarioContextExtra extra) 拓展信息memory(MemoryMessage[] memory) 会话的历史对话会话所处的业务场景systemInfo(SystemInfo systemInfo) AI Engine填充的系统信息toolRawInstruction(String toolRawInstruction) 用户原始的问题描述会话所处的业务模式
-
构造器详细资料
-
Builder
public Builder()
-
-
方法详细资料
-
extra
拓展信息示例值:v1
- 参数:
extra-- 返回:
-
systemInfo
AI Engine填充的系统信息示例值:aa
- 参数:
systemInfo-- 返回:
-
memory
会话的历史对话示例值:
- 参数:
memory-- 返回:
-
scenario
会话所处的业务场景示例值:IM
- 参数:
scenario-- 返回:
-
workMode
会话所处的业务模式示例值:1
- 参数:
workMode-- 返回:
-
toolRawInstruction
用户原始的问题描述示例值:我想问xxx问题
- 参数:
toolRawInstruction-- 返回:
-
build
-