-
Notifications
You must be signed in to change notification settings - Fork 8
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
Is RAG feature supported by ai-sdk-java? #241
Comments
Hi @zxcvboy , Could you please share more details about your use cases?
We planned to support the grounding features early next year. |
Hi. @jjtang1985 I want to retrieve some results from my vector engine and send those results with my prompt to LLM. private final VectorStore vectorStore; // Spring AI自動配置 public String search2(String query) throws IOException {
|
Yes, you can achieve the same RAG flow with the AI SDK. However, currently you have to implement the embedding calls and vector database retrieval manually. We have it on the roadmap to provide an integration for Spring AI, but this isn't completed yet. You can refer to the sample code on how to compute an embedding. |
Hi. @MatKuhr. Appreciate for your reply. Is there a specific roadmap for integration with Spring AI? RAG is the most popular AI scenarios for SAP customers. Is it possible to provide a sample or scenario for a RAG use case? Thanks a lot. |
Yes, we have actually just released the first iteration of support for Spring AI with version Alternatively, one can use the grounding capabilities of orchestration, if you don't want to implement the full RAG flow manually. If that is interesting for you, you can learn more here. |
Ask the Question
Dear colleague.
The text was updated successfully, but these errors were encountered: