3 ms·
I built a toy[0] for Typescript that works similarly to this. It takes the expected return type of a function, translates it into a JSON Schema, queries OpenAI
by jumploops 3y ago
I built a toy[0] for Typescript that works similarly to this.
It takes the expected return type of a function, translates it into a JSON Schema, queries OpenAI, validates the response, and then magically returns the response as typed output.
[0]https://github.com/jumploops/magic https://github.com/jumploops/magic