4 Comments
User's avatar
Pritam Sonavne's avatar

This is great for start. Also, Do we have similar apis for Java ?

Expand full comment
Nina's avatar

Thanks Pritam! Yes, but not end-to-end in Java yet

The best approach now is to use Python + LangChain to handle embeddings, chunking, and vector DB setup (Qdrant, Weaviate, etc.).

Then, your Java app just queries the vector DB and calls the LLM (via Ollama’s HTTP API).

Cleaner separation, better tools, and no need to force everything into Java.

Expand full comment
Jawahar's avatar

Thanks for sharing . Great way to get hands-on with RAG

Expand full comment
Nina's avatar

Thanks a lot, Jawhar!

Expand full comment