![]() |
VOOZH | about |
dotnet add package AIDataGen --version 1.0.0-alpha
NuGet\Install-Package AIDataGen -Version 1.0.0-alpha
<PackageReference Include="AIDataGen" Version="1.0.0-alpha" />
<PackageVersion Include="AIDataGen" Version="1.0.0-alpha" />Directory.Packages.props
<PackageReference Include="AIDataGen" />Project file
paket add AIDataGen --version 1.0.0-alpha
#r "nuget: AIDataGen, 1.0.0-alpha"
#:package AIDataGen@1.0.0-alpha
#addin nuget:?package=AIDataGen&version=1.0.0-alpha&prereleaseInstall as a Cake Addin
#tool nuget:?package=AIDataGen&version=1.0.0-alpha&prereleaseInstall as a Cake Tool
Realistic data generator
var cars = generator.Generate<Car>(10);
Step 1: Create classes that you want to generate
Step 2: Mark classes and properties with attributes
[Prompt("Cars")]
public class Car
{
[Prompt("Brand name")]
public string Brand { get; set; }
[Prompt("Model name")]
public string Model { get; set; }
[Prompt("Manufacturer company that develop car")]
public Company Company { get; set; }
[Prompt("Description")]
public string Description { get; set; }
[Random(3, 5)]
[Prompt("Reviews from automobile journals", "Get only review text")]
public List<Review> Reviews { get; set; }
}
Step 3: Download models with your Huggingface API key (https://huggingface.co/docs/hub/security-tokens)
AIGen.DownloadModels("<your huggingface API key>");
Step 4: Create generator and call generate method
var generator = AIGen.GetGenerator();
var cars = generator.Generate<Car>(10);
await foreach (var car in cars)
{
Console.WriteLine(car.Model);
}
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0 net9.0 is compatible. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 was computed. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.0-alpha | 180 | 8/17/2025 |