3 ms·
great job! it reminds me genaiscript. https://microsoft.github.io/genaiscript/ https://microsoft.github.io/genaiscript/ // read files const file = await works
by jaehong747 1y ago
great job!
it reminds me genaiscript. https://microsoft.github.io/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.`;
- futurisold 1y agoThank you! I'm not familiar with that project, will take a look
- krackers 1y agoSome of this seems a bit related to Wolfram Mathematica's natural language capabilities. https://reference.wolfram.com/language/guide/FreeFormAndExternalInput.html https://reference.wolfram.com/language/guide/FreeFormAndExte... It can (in theory) do very similar things, where natural-language input is a first class citizen of the language and can operate on other objects. The whole thing came out almost a decade before LLMs, I'm surprised that they haven't revamped it to make it really shine.
- futurisold 1y ago> I'm surprised that they haven't revamped it No worries! I can't find it right now, but Wolfram had a stream (or short?) where he introduced "Function". We liked it so much we implemented it after one day. Usage: https://github.com/ExtensityAI/symbolicai/blob/main/tests/engines/neurosymbolic/test_nesy_engine.py#L131 https://github.com/ExtensityAI/symbolicai/blob/main/tests/en...
- futurisold 1y agoWolfram's also too busy running his TOE exps to focus on LLMs (quite sadly if you ask me).
- deleted 1y ago[deleted]