Skip to content
New issue

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

Introducing a facade API : #53

Merged
merged 1 commit into from
Oct 15, 2024
Merged

Conversation

ehsavoie
Copy link
Collaborator

  • Adding MP annotations to replace the LangChain4J ones.
  • Registering AI services factories to use SmallRye default factories instead of Langchain4J default services.
  • All examples now run with the MP annotations instead of Langchain4J annotations.
  • Cleaning the poms

* Adding MP annotations to replace the LangChain4J ones.
* Registering AI services factories to use SmallRye default factories instead of Langchain4J default services.
* All examples now run with the MP annotations instead of Langchain4J annotations.
* Cleaning the poms

Signed-off-by: Emmanuel Hugonnet <[email protected]>
@yblazart yblazart merged commit b3b6794 into smallrye:main Oct 15, 2024
4 checks passed
@github-actions github-actions bot added this to the 1.0.0 milestone Oct 15, 2024
Copy link
Collaborator

@Emily-Jiang Emily-Jiang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have concerns with forking the Langchain4J APIs and put the microprofile namespace. I think a better model is to use LangChain4J as a upstream dependency. @cescoffier please provide your thoughts on this.

@cescoffier
Copy link
Contributor

Agreed with you @Emily-Jiang

Don't underestimate the amount of abstraction you will have to handle. It's more than ChatModel.

ehsavoie added a commit to ehsavoie/smallrye-llm that referenced this pull request Oct 31, 2024
ehsavoie added a commit that referenced this pull request Nov 4, 2024
* Revert "Introducing a facade API : (#53)"

This reverts commit b3b6794.

* Removing the role as it doesn't exist in smallrye

Signed-off-by: Emmanuel Hugonnet <[email protected]>

---------

Signed-off-by: Emmanuel Hugonnet <[email protected]>
@ehsavoie ehsavoie modified the milestones: 1.0.0, 0.0.2 Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants