Class OrchestrationBase
- Namespace
- FoundationaLLM.Orchestration.Core.Orchestration
- Assembly
- FoundationaLLM.Orchestration.Core.dll
Base class for an orchestration involving a FoundationaLLM agent.
public class OrchestrationBase
- Inheritance
-
OrchestrationBase
- Derived
- Inherited Members
- Extension Methods
Remarks
Constructor for the OrchestrationBase class.
Constructors
OrchestrationBase(ILLMOrchestrationService)
Base class for an orchestration involving a FoundationaLLM agent.
public OrchestrationBase(ILLMOrchestrationService orchestrationService)
Parameters
orchestrationService
ILLMOrchestrationService
Remarks
Constructor for the OrchestrationBase class.
Fields
_orchestrationService
The orchestration service for the agent.
protected readonly ILLMOrchestrationService _orchestrationService
Field Value
Methods
GetCompletion(CompletionRequest)
The call to execute a completion after the agent is configured.
public virtual Task<CompletionResponse> GetCompletion(CompletionRequest completionRequest)
Parameters
completionRequest
CompletionRequest
Returns
GetCompletionOperationStatus(string)
Gets the status of a completion operation.
public virtual Task<LongRunningOperation> GetCompletionOperationStatus(string operationId)
Parameters
operationId
stringThe identifier of the completion operation.
Returns
- Task<LongRunningOperation>
A LongRunningOperation object providing details about the running operation.
StartCompletionOperation(CompletionRequest)
Starts a completion operation.
public virtual Task<LongRunningOperation> StartCompletionOperation(CompletionRequest completionRequest)
Parameters
completionRequest
CompletionRequestThe CompletionRequest providing details about the completion request.
Returns
- Task<LongRunningOperation>
A LongRunningOperation object providing details about the newly started operation.