agents / Exports / IExecutionService
Interface: IExecutionService
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 | IConversationContext |
options? | IExecutionServiceOptions |
Returns
Promise<string>
Defined in
packages/agents/src/interfaces/service.ts:223
executeStream
▸ executeStream(input, context, options?): AsyncGenerator<string, void, never>
Execute streaming agent pipeline
Parameters
| Name | Type |
|---|---|
input | string |
context | IConversationContext |
options? | IExecutionServiceOptions |
Returns
AsyncGenerator<string, void, never>