I'm happy to announce the first release of <interf...
# feed
m
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
z
Delegating the instantiation of a class to LLM... 🤯
Can I choose to only have a specific parameter filled-in by GPT? (e.g. just a description string)
m
Hi @Zachary Siegel can you explain your question a bit more?
z
Akin to annotating a field as transient, it would be nice if you could define some sort of class that lets you choose only a subset of fields which have their values generated by the LLM, the inverse of that subset would be filled in manually by the program.
m
Ah yes we're planning to add annotations like that in additon to an annotation that can add descriptions to each field to provide more context to gpt. Stay tuned for future releases 🙂