Table of Contents SummarizingTokenWindowChatMemoryThe Summarizer InterfaceSummarization LogicLLM SummarizationWhy This MattersConclusion LLM chat models have become an integral part of many applications today. We are all experimenting and exploring the best ways to utilize them effectively. For Java developers, LangChain4j has …
-
Building local LLM AI-Powered Applications with Quarkus, Ollama and Testcontainers
Table of Contents Project Overview1. Integrating Quarkus with OllamaWhy Ollama?Quarkus and Ollama Integration2. Using Testcontainers for Integration TestingWhy Testcontainers?Example: Setting up a Testcontainer for OllamaKey Points:3. Leveraging Quarkus Dev Services for OllamaWhat Are Quarkus Dev Services?Configuring Dev ServicesDevelopment WorkflowConclusionKey Takeaways: …
-
Langchain4J Musings
Table of Contents Choosing a LLMQuick introduction to LangChain4J and OllamaGetting our feet wetThe LangChain4j appThe Ollama infrastructureEnhancing with streamingRemembering historyAdding Retrieval-Augmented GenerationConclusion I’m coming relatively late to the LLM party, but I rarely come very early in the hype …
-
Calling Gemma with Ollama, TestContainers, and LangChain4j
Lately, for my Generative AI powered Java apps, I’ve used the Gemini multimodal large language model from Google. But there’s also Gemma, its little sister model.
-
Search in Documentation with a JavaFX Chat LangChain4j Application
Let’s use an existing documentation set as the data for a ChatGPT-like application, created with JavaFX and LangChain4J.
-
Book review: “Developing Apps with GPT-4 and ChatGPT”
Thorough, practical examples using a new & rapidly evolving tool. Pro or contra, it’s a very worthwhile read.