본문으로 건너뛰기

Class: TaskStepOutput

TaskStepOutput is a unit of work for the agent.

Param

output

Param

taskStep

Param

nextSteps

Param

isLast

Constructors

constructor

new TaskStepOutput(output, taskStep, nextSteps, isLast?): TaskStepOutput

Parameters

NameTypeDefault value
outputAgentChatResponse | StreamingAgentChatResponseundefined
taskStepTaskStepundefined
nextStepsTaskStep[]undefined
isLastbooleanfalse

Returns

TaskStepOutput

Defined in

packages/core/src/agent/types.ts:188

Properties

isLast

isLast: boolean

Defined in

packages/core/src/agent/types.ts:186


nextSteps

nextSteps: TaskStep[]

Defined in

packages/core/src/agent/types.ts:185


output

output: AgentChatResponse | StreamingAgentChatResponse

Defined in

packages/core/src/agent/types.ts:183


taskStep

taskStep: TaskStep

Defined in

packages/core/src/agent/types.ts:184

Methods

toString

toString(): string

Returns

string

Defined in

packages/core/src/agent/types.ts:200