current state of !stuff!

This commit is contained in:
femsci 2023-11-18 04:50:31 +01:00
parent 962f4c15a1
commit 60c896acd1
Signed by: femsci
GPG key ID: 08F7911F0E650C67
18 changed files with 156 additions and 29 deletions

View file

@ -1,8 +1,3 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Nyanlabs.Umogen.Core;
using Nyanlabs.Umogen.Core.Models;
@ -26,12 +21,11 @@ public class GenerationTests
UmoDocument doc = new(UmoDoctype.CONTR_EMPLOYMENT, ModelEmployer, ModelEmployee);
UmoProcess proc = new(eng);
var enu = proc.Ask(doc.NLSerialize());
var enu = proc.Ask("I would like to employ Jan Kowalski ID NO CBS3727348 for part time job as a shopkeeper.");
await foreach (var str in enu)
{
Console.Write(str);
File.AppendAllText("/tmp/doc.md", str);
}
Console.WriteLine("~");