Field Description
- Namespace
- LMKit.Extraction
- Assembly
- LM-Kit.NET.dll
Gets or sets the description for the current extraction schema. This value is automatically populated from the schema's "description" field when calling SetElementsFromJsonSchema.
public string Description
Returns
- string
- Gets or sets the description for the current extraction schema. This value is automatically populated from the schema's "description" field when calling SetElementsFromJsonSchema.
Examples
var te = new TextExtraction(LM.LoadFromModelID("lmkit-tasks:4b-preview"));
te.SetElementsFromJsonSchema("{ \"description\": \"Extract basic receipt fields\", \"type\":\"object\", \"properties\": {\"Store\": {\"type\":\"string\"}} }");
Console.WriteLine(te.Description); // "Extract basic receipt fields"