Interface ITextOperationService
- Namespace
- FoundationaLLM.Gateway.Interfaces
- Assembly
- FoundationaLLM.Gateway.dll
Defines the interface for text operation services, such as text embedding or completion services.
public interface ITextOperationService
- Extension Methods
Methods
ExecuteTextOperation(InternalTextOperationRequest)
Executes a text operation (e.g., embedding or completion) on the provided text chunks.
Task<InternalTextOperationResult> ExecuteTextOperation(InternalTextOperationRequest textOperationRequest)
Parameters
textOperationRequest
InternalTextOperationRequestThe text operation request to execute.
Returns
- Task<InternalTextOperationResult>
The result of the operation.