Generative AI Scripting
microsoft.github.io
Generative AI Scripting
1–10 of 60 posts
Re: Generative AI Scripting
#2// automatically convert to text def("PDF", env.files, { endsWith: ".pdf" }) // or parse and process const { pages } = await parsers.PDF(env.files[0])
def("DATA", env.files, { endsWith: ".csv", // take top 100 rows sliceHead: 100, }) // or parse to JavaScript object array const rows = await parsers.CSV(env.files[0])
const { files } = await workspace.grep(/[a-z][a-z0-9]+/, { globs: "*.md" })
so it seems to me these things could totally be so useful that you might use these and never care about the AI parts, at any rate I think I have to devote next week to this, as soon as the project I am on right now is shipped.
Re: Generative AI Scripting
#3Re: Generative AI Scripting
#4demo: https://youtu.be/XlO4KhIGd0A https://youtu.be/cs5cbxDClbM
Re: Generative AI Scripting
#5Re: Generative AI Scripting
#6there are lots of useful parts here doesn't seem like it is Gen.AI but some other provided tool // automatically convert to text def("PDF", env.files, { endsWith: ".pdf" }) // or parse and process const { pages } = await parsers.PDF(env.files[0]) def("DATA", env.files, { endsWith: ".csv", // take top 100 rows sliceHead: 100, }) // or parse to JavaScript object array const rows = await parsers.CSV(env.files[0]) const…
Re: Generative AI Scripting
#7Re: Generative AI Scripting
#8""" 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 different human endeavors, math, history, etc. and their knowledge can be easily extended by adding more context to the script input (see next point). """
This above comes under the "Best Practices" page.. why?
Re: Generative AI Scripting
#9This might be a simple question to answer but I couldn't find it from skimming these docs: what LLMs can this hook to? Do I plug an actual API key like 90% of tools? Where's the AI compute part coming from?