I just released my JSON schema for LLM tool use / ...
# feed
k
I just released my JSON schema for LLM tool use / function calling library in version 1.0. Very useful for avoiding boilerplate when writing AI agents. I wonder if there are some other use cases, maybe validation? https://github.com/xemantic/xemantic-ai-tool-schema
yay 3
kodee happy 1
d
Yes, this is fantastic! I spent a miserable afternoon trying and ultimately failing to get some older Jackson code to work with Kotlin/JVM to do this. Much needed component to benefit of AI usage! Noted that this OpenAI Kotlin library recently merged a feature to use JSON schemas too - though its overall maintenance state is in question. Thanks for this ❤️
k
My schema library was mostly developed to support my other kotlin AI libraries, mainly
anthropic-sdk-kotlin
. I will take a look at the state of OpenAI kotlin. https://github.com/xemantic/xemantic-ai