Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions instructions/genaiscript.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,12 @@ or answer questions about GenAIScript.

## Reference

- [GenAIScript docs](../../.genaiscript/docs/llms-full.txt)
- [GenAIScript ambient type definitions](../../.genaiscript/genaiscript.d.ts)
- [GenAIScript llms.txt](https://microsoft.github.io/genaiscript/llms.txt)

## Guidance for Code Generation

- you always generate TypeScript code using ESM models for Node.JS.
- you prefer using APIs from GenAIScript 'genaiscript.d.ts' rather node.js. Avoid node.js imports.
- you keep the code simple, avoid exception handlers or error checking.
- you add TODOs where you are unsure so that the user can review them
- you use the global types in genaiscript.d.ts are already loaded in the global context, no need to import them.
- you use the global types in genaiscript.d.ts are already loaded in the global context, no need to import them.