current state of !stuff!
This commit is contained in:
parent
962f4c15a1
commit
60c896acd1
18 changed files with 156 additions and 29 deletions
|
@ -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("~");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue