Replies: 2 comments
-
I really recommend checking out TypeChat. https://github.com/microsoft/TypeChat |
Beta Was this translation helpful? Give feedback.
0 replies
-
@jxnl i wonder whether other schema libraries can be supported? I am using Joi in my backend, and will be more convenient if instructor can support this |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm also utilizing the LLM with JSON schema like you in the same reason.
By the way, I am using
typia
library instead ofzod
.I understand why you've selected the
zod
library. It has huge ecosystem and loved by many TypeScript developers.However, I prefer to using the pure TypeScript type without any extra schema definition. Also, when many schema types be defined,
zod
makes IDE extremely slow with enormous resource consumption, so that taking benefit of auto-completion by TypeScript types becomes impossible. Furthermore, I write description comments in as much detail as possible and use them actively. This is because this description is as important to the quality of LLM as the type or attribute name.In such reason, may I publish similar repo with you, and also link to your youtube video?
132833606-1c13bde4-a232-4f11-925f-cedccf7b239c.mov
Beta Was this translation helpful? Give feedback.
All reactions