Skip to main content

@nuclia/core / Exports / Agentic / Pipeline

Class: Pipeline

Agentic.Pipeline

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new Pipeline(_kb, _steps)

Parameters

NameType
_kbKnowledgeBox
_stepsSteps

Defined in

libs/sdk-core/src/lib/db/search/agentic.ts:160

Properties

context

context: Object = {}

Index signature

▪ [id: string]: any

Defined in

libs/sdk-core/src/lib/db/search/agentic.ts:153


events

events: Observable<{ params: UserEventAction ; stepId: string }>

Defined in

libs/sdk-core/src/lib/db/search/agentic.ts:155


kb

kb: KnowledgeBox

Defined in

libs/sdk-core/src/lib/db/search/agentic.ts:151


status

status: Observable<Event>

Defined in

libs/sdk-core/src/lib/db/search/agentic.ts:158


steps

steps: Object

Index signature

▪ [stepId: string]: Step

Defined in

libs/sdk-core/src/lib/db/search/agentic.ts:152


userResponses

userResponses: Subject<{ stepId: string ; value: string | boolean | string[] }>

Defined in

libs/sdk-core/src/lib/db/search/agentic.ts:156

Methods

run

run(initialContext): Observable<boolean>

Parameters

NameType
initialContextobject

Returns

Observable<boolean>

Defined in

libs/sdk-core/src/lib/db/search/agentic.ts:168