Provide JLama categorization support #1071
lordofthejars
started this conversation in
Ideas
Replies: 1 comment 13 replies
-
This is interesting for sure. Can you please link to a sample application that uses this idea? |
Beta Was this translation helpful? Give feedback.
13 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
If I am not wrong currently we are providing JLama support by using the LangChain4J integration through
ChatModel
. The problem is that JLama also supports classification feature, not just generating content. I have been using JLama in several examples, specially in GuardRails and the code most of the time looks like:And this is repeated for every classification model. So would it be possible to provide some integration where I set as quarkus property something like:
Of course other properties could be download yes/no, download directory, .... optional with some defaults.
So then from my code the only thing I need to do is:
So basically I help users to not have to repeat this code for every project and every model.
Maybe we could even provide some interface returning a Map and annotated with
@RegisterAiService
, or any other annotation but I think this would be more complicated.Beta Was this translation helpful? Give feedback.
All reactions