Overview
GenAIScript are JavaScript files named as *.genai.js
with a prompt creation engine designed by LLM prompting.
Script files
- GenAIScript will detect any file matching
*.genai.js
in your workspace. - GenAIScript files can be placed anywhere in your workspace; but the extension will place them in a
genaisrc
folder by default.
Directory/genaisrc
- jsconfig.json // TypeScript compiler configuration
- genaiscript.d.ts // TypeScript definitions
- myscript.genai.js // your script!
- …
system.*.genai.js
are considered system prompt templates and are unlisted by default.