Sirviendo Código

Jorge Hidalgo: Langchain4j - Integrating LLMs with Java programs - Commit Conf

4 de junio de 2025Datacommitconfprogramacióndata

It is the moment of generative AI: a big step forward in natural language understanding with enormous potential to build interactive solutions like agents, search engines, or content generators. Have you ever wondered if it is possible to work with large language models, LLMs, easily from Java code? It would be great, as it would allow for easy integration of agents and other conversational-based functionalities into existing or new programs without having to learn a new language or execution platform. Another challenge we might encounter is that each service provider, local models, or vector databases for working with augmentations have different APIs, and we have to learn anew each time. Langchain4j is a library for the JVM that allows, through a common API based on intuitive patterns like 'builder', to create programs that interact with LLMs in an easy and fast way. In this talk, we will: Introduce Langchain4j and take the first steps together. Show some examples where we will integrate a simple Java program with a cloud service such as OpenAI. Use Ollama to run local models and integrate them with Langchain4j. Create a more complex program to do RAG with a PDF document. Puedes seguir a Commit Conf en sus redes sociales: @commitconf // https://www.linkedin.com/company/commit-conf/ // https://twitter.com/commitconf // https://www.instagram.com/commitconfspain/ // https://bsky.app/profile/commit-conf.com ------- Síguenos en nuestras redes sociales Web: https://sirviendocodigo.com/ LinkedIn: https://www.linkedin.com/company/sirviendo-codigo/ X: https://twitter.com/sirviendocodigo Instagram: https://www.instagram.com/sirviendo.codigo/ TikTok: https://www.tiktok.com/@sirviendo.codigo #langchain #LLM #sirviendocodigo

Vídeos relacionados