Table of Contents

Constructor Metadata

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

Metadata(string, int)

Initializes a new instance of the LLM.Metadata class with an integer value.

public Metadata(string key, int value)

Parameters

key string

The key of the metadata.

value int

The integer value of the metadata.

Metadata(string, float)

Initializes a new instance of the LLM.Metadata class with a float value.

public Metadata(string key, float value)

Parameters

key string

The key of the metadata.

value float

The float value of the metadata.

Metadata(string, bool)

Initializes a new instance of the LLM.Metadata class with a boolean value.

public Metadata(string key, bool value)

Parameters

key string

The key of the metadata.

value bool

The boolean value of the metadata.

Metadata(string, string)

Initializes a new instance of the LLM.Metadata class with a string value.

public Metadata(string key, string value)

Parameters

key string

The key of the metadata.

value string

The string value of the metadata.

Exceptions

ArgumentException

Thrown when the value string is too long.