Table of Contents Understanding LangChain4j GuardrailsSetting Up a Spring Boot Project with LangChain4jImplementing Input GuardrailsContent Safety Input GuardrailSmart Context-Aware GuardrailIntelligent Input SanitizerImplementing Output GuardrailsProfessional Tone Output GuardrailHallucination Detection GuardrailTesting Your GuardrailsCreating AI Services with GuardrailsRest endpointDemoConclusion As AI applications become …
-
CodeRabbit Tutorial for Java Developers
Table of Contents Getting StartedPrerequisitesSetup ProcessCore Features for Java Development1. Code Quality Analysis2. Security Vulnerability Detection3. Performance Optimization Suggestions4. Design Pattern RecognitionWorking with CodeRabbit ReviewsUnderstanding Review CommentsResponding to ReviewsJava-Specific ConfigurationCustom Rules SetupMaven/Gradle IntegrationAdvanced Features1. Custom Prompts2. Architectural Reviews3. Testing SuggestionsBest …
-
JC-AI Newsletter #1
Table of Contents article: GitHub CEO: manual coding remains key despite AI boomarticle: Expert Generalistsarticle: Emerging Patterns in Building GenAI Productsarticle: Complex, AI-generated software projects will never happenarticle: Silicon Valley Insider EXPOSES Cult-Like AI Companies | Aaron Bastani Meets Karen …
-
How to Make a RAG Application With LangChain4j
Table of Contents Why use RAG?Use cases for RAGLangChain4J for RAGMongoDB for RAGPrerequisitesOur dependenciesSetting up MongoDB and our embedding storeMongoDB setupConfiguring the embedding storeCreating our embedding modelConfiguring our chat modelHow to load our dataParametersCreating our content retrieverAsking questionsConclusion Retrieval-augmented generation, …
-
Understanding MCP Through Raw STDIO Communication
Table of Contents Deep Dive into the Model Context ProtocolUnderstanding MCP Through Raw STDIO CommunicationWhy STDIO? The Power of Universal CommunicationUnderstanding the JSON-RPC Message FlowClient → Server: Initialization RequestServer → Client: Initialization ResponseThe Message Type HierarchyBidirectional Communication: Beyond Request-ResponseThe Complete …
-
The Great Data Reimagination: From Static to Agile in the AI Era
Table of Contents The Data Architecture Identity CrisisThe Adaptive Approach: Prioritizing Developer SpeedAI-Native Platforms Are the Future We’re in the middle of a fundamental change in how enterprise software works. In the next decade, your database will become your AI. …
-
How I Improved Zero-Shot Classification in Deep Java Library (DJL) OSS
Table of Contents TL;DR:What’s Zero-Shot Classification (and Why It Matters)Integrating a Zero-Shot Classification Model with the Deep Java LibraryDependenciesThe Criteria ClassLoading and using the modelUsing different modelsUsing a model that is not available in the Model ZooLoading a local model …
-
Intro to RAG: Foundations of Retrieval Augmented Generation, part 2
Table of Contents GenAI systems as layersVector RAGGraph RAGAI AgentsModel Context Protocol (MCP)What should you choose?Wrapping up!Resources In the last post, we discussed the basics of Retrieval Augmented Generation (RAG) and how it enhances the capabilities of Large Language Models …
-
Intro to RAG: Foundations of Retrieval Augmented Generation, part 1
Table of Contents Why RAG?Large Language Models (LLMs)Vector embeddingsVectors applied to wordsVectors applied to dataSimilarity searchWrapping up!Resources Retrieval Augmented Generation (RAG) may sound complex, but it accurately represents the process of the system. RAG is a method that enhances the …
-
How Deep Netts and Java AI Transformed Particle Physics at US DoE, Jefferson Lab
At the intersection of nuclear physics and artificial intelligence, Jefferson Lab is leveraging Java-based AI to overcome one of the most computationally intense challenges in modern science: reconstructing particle trajectories from high-frequency electron scattering experiments. Each second, over 16,000 interactions …
-
Building FormPilot: My Journey Creating an AI-Powered Form Filler with RAG, LangChain4j, and Ollama
Table of Contents The InspirationThe ArchitectureGetting Started: Setting Up Your EnvironmentPart 1: Installing and Running Ollama LocallyPart 2: Creating the Spring Boot Project via Spring InitializrImplementing RAG with LangChain4jThe Magic of LangChain4j’s @AiServiceIntegrating with OllamaBuilding the Chrome ExtensionSetting up the …