Constructor TextTranslation
- Namespace
- LMKit.Translation
- Assembly
- LM-Kit.NET.dll
TextTranslation(LLM)
Initializes a new instance of the TextTranslation class.
public TextTranslation(LLM model)
Parameters
Exceptions
- ArgumentNullException
Thrown when the provided
model
argument is null.- InvalidModelException
Thrown when the provided
model
does not meet the required specifications or is incompatible with the TextTranslation service.