Live data from Hacker News

Generative AI Scripting

microsoft.github.io

51–60 of 60 posts

Re: Generative AI Scripting

#51
post #14

I don't get it from the landing. Is this like a fake code language that a LLM can interpret? Is the syntax invented on the go? Like if I ask GPT: "Imagine the following code belongs to a known language and execute it"?

from the getting started https://microsoft.github.io/genaiscript/getting-started/

GenAIScript is a scripting language that integrates LLMs into the scripting process using a simplified JavaScript syntax. It allows users to create, debug, and automate LLM-based scripts.

which ruins my hope that it was a JS library I could drop into other things and work together with other JS libraries. Although I guess can implement some sort of bridge to it to allow that, why not a full js library not sure.

on edit: huh, maybe available js library https://news.ycombinator.com/item?id=42002316

Re: Generative AI Scripting

#53
Posted this because I didn't see it, just now getting back (toddler).

I started messing with this yesterday and was able to get a fully functional refactor engine (complete with code review, running tests, building TS, etc.) going in less than a day.

We were looking for a tool to bake into our developer tooling that supports things like this, and this GenAIScript project has been perfect so far. Definitely doesn't seem quite ready to embed this into customer-facing stuff, but I'm finding it tremendously helpful for LLM-powered tooling!

Many thanks, pelikhan, for publishing this!

Re: Generative AI Scripting

#54
post #49

I work on building "AI" systems daily and a large part of it is assembling and managing large prompts. I have no idea what this does. I think maybe if the examples included the output then it might be helpful? $`Analyze ${env.files} and report errors. Use gitmojis.` If we knew what env.files is and what it output it would help. Does it doing some magic that looks in the file system for the files listed as env.files,…

[deleted]

Re: Generative AI Scripting

#55
post #8

This looks like a useful tool but.. please review your generated docs for utility. """ Be ambitious about what you want your script to do Remember, LLMs in GenAIScript can do things that no other software has been able to do. Think outside the box in the ways that you use it. LLMs can critically review a document, write poetry, and analyze images, just as a starting point. They have built-in expertise on many differe…

Might have been generated by an LLM ironically.

Re: Generative AI Scripting

#56
Thanks for the input on the GenAIScript landing page and README repo file. We've updated the description and hopefully this makes it clearer what it is and why it is useful.

Re: Generative AI Scripting

#57

Earlier quoted context omitted.

Given that their README is openly being maintained by an LLM [0], I wouldn't be surprised if most of the site's copy is as well. It would go a long way towards explaining why it feels even more bloated and incoherent than usual. [0] "This readme is maintained by the readme-updater script." https://github.com/microsoft/genaiscript

I wonder how long it will go before it devolves into complete incoherence. It already seems incoherent so probably in a few updates it will be completely unreadable.

Kafka would be proud. We're gone from the dream of a semantic web to industrial grade non-sense spreading automatically.

Re: Generative AI Scripting

#58

Going through getting started on the command line fails: $ npx genaiscript script create proofreader Need to install the following packages: genaiscript@1.70.0 Ok to proceed? (y) file /Users/me/src/learn/genaiscript/proofreader/genaisrc/proofreader.genai.mjs already exists Error: file /Users/me/src/learn/genaiscript/proofreader/genaisrc/proofreader.genai.mjs already exists at copyPrompt (/Users/me/.npm/_npx/3f5b5bbcc…

looks like a silly bug on our side. this little helper is just supposed to create an empty file for you. what happens on ? npx genaiscript script create proofreader2

genaiscript@1.70.1 fixed it for me -- thanks!

Re: Generative AI Scripting

#59
post #57

Earlier quoted context omitted.

I wonder how long it will go before it devolves into complete incoherence. It already seems incoherent so probably in a few updates it will be completely unreadable.

Kafka would be proud. We're gone from the dream of a semantic web to industrial grade non-sense spreading automatically.

It does seem like everything is heading in that direction.
Post reply on HN