Table of Contents

Constructor SingleFunctionCall

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

SingleFunctionCall(LM)

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

public SingleFunctionCall(LM model)

Parameters

model LM

The LM 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.
  • The model has been loaded without weights.