Class BhashiniPipelineRequestTask
A specific task (like STT, TTS or translation) to be carried out by a pipeline.
public class BhashiniPipelineRequestTask
- Inheritance
-
objectBhashiniPipelineRequestTask
Constructors
BhashiniPipelineRequestTask(BhashiniTask)
public BhashiniPipelineRequestTask(BhashiniTask type)
Parameters
type
BhashiniTaskThe type of the task.
BhashiniPipelineRequestTask(BhashiniTask, string, string)
public BhashiniPipelineRequestTask(BhashiniTask type, string sourceLanguage, string targetLanguage = null)
Parameters
type
BhashiniTaskThe type of the task.
sourceLanguage
stringSource language for the task.
targetLanguage
stringTarget language for the task. Optional, only for translation.
Fields
Configuration
Optional extra configurations for the task.
public BhashiniPipelineRequestTaskConfiguration Configuration
Field Value
Remarks
Type
The type of the task.
public BhashiniTask Type