Table of Contents

Constructor SingleTurnConversation

Namespace
LMKit.TextGeneration
Assembly
LM-Kit.NET.dll

SingleTurnConversation(LLM)

Creates an instance of the SingleTurnConversation class.

public SingleTurnConversation(LLM model)

Parameters

model LLM

A LLM object that specifies the LLM model to be inferred by the instance.

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.