Constructor SingleTurnConversation
- Namespace
- LMKit.TextGeneration
- Assembly
- LM-Kit.NET.dll
SingleTurnConversation(LLM)
Creates an instance of the SingleTurnConversation class.
public SingleTurnConversation(LLM model)
Parameters
Exceptions
- ArgumentNullException
Thrown when the provided
model
argument is null, indicating that a valid model is required to create a SingleTurnConversation instance.- InvalidModelException
Thrown when the provided
model
does not meet the required specifications or is incompatible with the SingleTurnConversation service, necessitating a review or update of the model selection.