News for hackers. Stuff that matters.

leigna

I've not worked with Java but will certainly have a look as data handling etc I find very interesting. Thank you!
Thanks for the suggestion - I'll take a look!
I have no idea what happens when I put data through these models and how they work.

My thought was it may have been trained on so much JSON and JSON schema data, that simply providing a JSON schema and telling it the data it outputs must validate against the schema will produce good results.

gpt-3.5-turbo and gpt-4 have worked superb at this so far and I'm excited to test with the new gpt-3.5-turbo-instruct model!

This looks intresting! I haven't looked too much at Bun yet, I've been quite obsessed with Deno. Maybe I should take a look. Coming from Node and JS, its been such a great experience working with it.
Great library - thank you for sharing. I'll take a look for sure.

Yes it was rather tricky! It's been a great learning exercise for sure.

Show HN: A tool to Convert JSON schemas into TypeScript Deno classes

https://github.com/leigna/json-schema-to-ts-util

Hello allTo preface this is just something I've been making as a learning exercise, so all feedback is appreciated.This is a tool that converts JSON schemas into TypeScript utility classes for use in Deno.Automatic Type Generation: Typescript interfaces for the compressed and uncompressed versions of your data.Compression & Decompression: Compress and decompress your data.Validation:...

( Read More... | 16 comments | 2 points | on HN )