Enum Grammar.PredefinedGrammar
- Namespace
- LMKit.TextGeneration.Sampling
- Assembly
- LM-Kit.NET.dll
Defines the types of predefined grammar rules available for use in text generation.
public enum Grammar.PredefinedGrammar
Fields
Json = 0
Represents a grammar type for generating JSON objects.
JsonArray = 1
Represents a grammar type useful for generating JSON arrays.
Arithmetic = 2
Represents a grammar type for performing arithmetic operations.
List = 3
Represents a grammar type for generating lists.
Boolean = 4
Generates boolean values (yes/no, true/false).