I'm happy to announce the first release of
interfAIce, a new open source library written in Kotlin
interfAIce is an automatic proxy generation library that lets you harness the power of ChatGPT into your applications - just by defining an interface.
The auto-generated proxy will query the OpenAI api based on your method definition(name, parameters, returnType, etc) and return the LLM's response in any Kotlin/Java type you want!
The library also comes with support for:
• spring boot
• Kotlin Coroutines & Java Reactor
If you're interested, check out my
blog post for more