We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Maybe my expectations are wrong, but shouldn't this work?
@RegisterAiService public interface GenerateImageAiService { Uni<Image> generateImage(String prompt); }
Fails with Caused by: dev.langchain4j.service.IllegalConfigurationException: Illegal method return type: io.smallrye.mutiny.Uni<dev.langchain4j.data.image.Image>
Caused by: dev.langchain4j.service.IllegalConfigurationException: Illegal method return type: io.smallrye.mutiny.Uni<dev.langchain4j.data.image.Image>
Reproducer - https://github.com/xstefank/ai-cli/tree/612ce6d5c310ba37d0b60547a692f10f2dab04db/generate-image
The text was updated successfully, but these errors were encountered:
For the time being, Uni<> is not supported due to the blocking of LangChain4j.
Uni<>
Sorry, something went wrong.
@geoand that shouldn't block us in quarkus extension. I might take a look at that :).
You are certainly welcome to try, but you'll find pretty soon that it's harder than you think 😉
No branches or pull requests
Uh oh!
There was an error while loading. Please reload this page.
Maybe my expectations are wrong, but shouldn't this work?
Fails with
Caused by: dev.langchain4j.service.IllegalConfigurationException: Illegal method return type: io.smallrye.mutiny.Uni<dev.langchain4j.data.image.Image>
Reproducer - https://github.com/xstefank/ai-cli/tree/612ce6d5c310ba37d0b60547a692f10f2dab04db/generate-image
The text was updated successfully, but these errors were encountered: