Plan:
- First function with proper typing
- Call open AI to generate a function
- Simple cache of function on disk
- Multiple Inputs
- Validate Ouput type
- Error handling for openai generate function
- Basic test for gaurdrail
- Generate Effect instead of the function with Success
- Generate Effect with Success, Error, and Requirements
- Replace bun file with storage abstraction using Effect platform layer
- Fuzzy testing
- Similar function can be identified. Function lookup should check the db first.
To install dependencies:
bun install
To run:
bun run index.ts