←back to thread

222 points futurisold | 1 comments | | HN request time: 0.338s | source
Show context
jaehong747 ◴[] No.44400917[source]
great job! it reminds me genaiscript. https://microsoft.github.io/genaiscript/

// read files

const file = await workspace.readText("data.txt");

// include the file

content in the prompt in a context-friendly way def("DATA", file);

// the task

$`Analyze DATA and extract data in JSON in data.json.`;

replies(2): >>44400961 #>>44401179 #
1. ◴[] No.44401179[source]