Table of Contents

Constructor SingleFunctionCall

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

SingleFunctionCall(LLM)

Initializes a new instance of the SingleFunctionCall class with the specified language model.

public SingleFunctionCall(LLM model)

Parameters

model LLM

The LLM model to use for function selection and parameter extraction.

Exceptions

ArgumentNullException

Thrown when the provided model is null.

InvalidModelException

Thrown when the model is an embedding model or has been loaded without weights.