Table of Contents

Constructor LMKitTextGeneration

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

LMKitTextGeneration(LM, LMKitPromptExecutionSettings)

Initializes a new instance of the LMKitTextGeneration class with the specified LMKit model. Optionally, a default prompt execution settings instance can be provided.

public LMKitTextGeneration(LM model, LMKitPromptExecutionSettings defaultPromptExecutionSettings = null)

Parameters

model LM

The LMKit model used for text generation.

defaultPromptExecutionSettings LMKitPromptExecutionSettings

An optional instance of LMKitPromptExecutionSettings that provides default settings for text generation. If not provided, a new instance will be created using the specified model.