https://kotlinlang.org logo
#getting-started
Title
# getting-started
a

Alexander Yi

03/16/2024, 8:52 PM
Hello, I'm fairly new to Kotlin and also new to the field of generative AI field and I'm looking for an open source large language model(or nlp model) that I can use in my kotlin project to process an input text, get intent and predict and generate a response. I was looking into using TensorFlow but it doesn't seem like TensorFlow and Kotlin work together nicely. The input text could be just plain question text or it could also be a long text that may need to be summarized. Anyone have any suggestions on which library I should use for my project? Any guidance would be appreciated. Thanks!
m

Marcin Wisniowski

03/18/2024, 6:43 PM
What issues did you encounter with TensorFlow? They support Kotlin: https://github.com/tensorflow/java
a

Alexander Yi

03/18/2024, 6:50 PM
Basically, I kept getting
Unresolved reference
errors when compiling my project but I managed to get those resolved. One of them was
SavedModel
but looks like this was deprecated and I should have used
SavedModelBundle
instead. Anyways, I'm good now. Thanks!
👍 1