agents / Exports / ExecutionServiceInterface
Interface: ExecutionServiceInterface
Interface for execution service operations
Table of contents
Methods
Methods
execute
▸ execute(input
, context
, options?
): Promise
<string
>
Execute complete agent pipeline
Parameters
Name | Type |
---|---|
input | string |
context | ConversationContext |
options? | ExecutionServiceOptions |
Returns
Promise
<string
>
Defined in
packages/agents/src/interfaces/service.ts:231
executeStream
▸ executeStream(input
, context
, options?
): AsyncGenerator
<string
, void
, never
>
Execute streaming agent pipeline
Parameters
Name | Type |
---|---|
input | string |
context | ConversationContext |
options? | ExecutionServiceOptions |
Returns
AsyncGenerator
<string
, void
, never
>