NLaya.ML
1.0.0
dotnet add package NLaya.ML --version 1.0.0
NuGet\Install-Package NLaya.ML -Version 1.0.0
<PackageReference Include="NLaya.ML" Version="1.0.0" />
<PackageVersion Include="NLaya.ML" Version="1.0.0" />
<PackageReference Include="NLaya.ML" />
paket add NLaya.ML --version 1.0.0
#r "nuget: NLaya.ML, 1.0.0"
#:package NLaya.ML@1.0.0
#addin nuget:?package=NLaya.ML&version=1.0.0
#tool nuget:?package=NLaya.ML&version=1.0.0
NLaya.ML
NLaya as an ML.NET pipeline step: answer Laya questions about
every row of an IDataView, for example to bulk-label a CSV of tickets or to feed calibrated answers
into a trainer as features.
var ml = new MLContext();
var data = ml.Data.LoadFromTextFile<Ticket>("tickets.csv", separatorChar: ',', hasHeader: true);
var scored = ml.Transforms.Laya(agent, Presets.Triage(), "Body").Fit(data).Transform(data);
// intent (text), intent_probs (float[6], slot names = labels), intent_confidence, is_urgent (bool), ...
For each question id it adds the answer (choice: the label; score: the expected score; noul:
true/false), id_probs (choice and score, one named slot per option) or id_probability (noul,
P(true)), and id_confidence. One input column is the state's text; several become a JSON object
keyed by column name. Rows are answered lazily, ChunkSize rows (256) per PredictBatch call.
The predictor can be a LayaAgent or a Router. The transformer can't be saved (the model isn't in
the ML.NET file) and has no PredictionEngine; call the predictor directly for single rows.
NLaya is a .NET port of laya by Convai Innovations / NandhaKishorM (Apache-2.0). The Laya model weights are theirs, published on Hugging Face under convaiinnovations. Source, docs and samples: https://github.com/ljfio/NLaya.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Microsoft.ML (>= 5.0.0)
- NLaya (>= 1.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.0 | 83 | 9/25/2026 |