Tag

LangChain4j

0 views collected around this technical thread.

Java Architecture Diary
Java Architecture Diary
May 15, 2025 · Artificial Intelligence

What’s New in LangChain4j 1.0.0? A Deep Dive into Java AI SDK Features

LangChain4j 1.0.0 brings official OpenAI SDK support, GitHub Models integration, expanded database and vector store compatibility, customizable HTTP clients, and clear migration steps for renamed interfaces and streaming methods, marking a major milestone for Java AI development.

AI SDKJavaLLM
0 likes · 7 min read
What’s New in LangChain4j 1.0.0? A Deep Dive into Java AI SDK Features
Java Architecture Diary
Java Architecture Diary
Apr 14, 2025 · Artificial Intelligence

How to Empower LLMs with a Private SearXNG Search Engine for Real‑Time Knowledge

This guide explains why large language models need private search capabilities, outlines the benefits of a self‑hosted SearXNG engine, provides step‑by‑step Docker deployment, and demonstrates Java integration using LangChain4j for both basic queries and retrieval‑augmented generation (RAG).

DockerLLMLangChain4j
0 likes · 6 min read
How to Empower LLMs with a Private SearXNG Search Engine for Real‑Time Knowledge
Java Architecture Diary
Java Architecture Diary
Apr 2, 2025 · Artificial Intelligence

Run AI Models Locally with Docker Model Runner and Java Integration

This article explains how Docker Model Runner enables effortless local execution of AI models, details platform support, provides a full command reference, shows how to use the REST endpoint, and demonstrates integration with Java via LangChain4j, including code examples and a feature comparison with Ollama.

AIDockerJava
0 likes · 9 min read
Run AI Models Locally with Docker Model Runner and Java Integration
Architecture Digest
Architecture Digest
Mar 26, 2025 · Artificial Intelligence

Getting Started with LangChain in Java: Building Large Language Model Applications

This tutorial introduces the fundamentals of LangChain, explains large language models, prompt engineering, word embeddings, and demonstrates how to use the Java implementation LangChain4j with Maven dependencies, model I/O, memory, retrieval, chains, and agents to build sophisticated LLM‑driven applications.

AIJavaLLM
0 likes · 18 min read
Getting Started with LangChain in Java: Building Large Language Model Applications
Java Architecture Diary
Java Architecture Diary
Mar 26, 2025 · Artificial Intelligence

How DeepSeek V3-0324 Boosts Java AI Apps with Function Calling

The article introduces DeepSeek's new V3-0324 model, highlights its performance gains and new features like function calling and standardized JSON output, demonstrates Chinese and frontend coding tests, provides Java code examples for AI integration, and concludes with a summary of its business impact.

AIChat2BIDeepSeek
0 likes · 6 min read
How DeepSeek V3-0324 Boosts Java AI Apps with Function Calling
Java Architecture Diary
Java Architecture Diary
Mar 17, 2025 · Artificial Intelligence

Build a Java AI Gitee Assistant with LangChain4j and MCP: Step‑by‑Step Guide

This article explains how to integrate Gitee's Model Control Protocol (MCP) with Java using LangChain4j, covering download, Maven setup, configuration, both stdio and SSE transport modes, sample code, output examples, and a comparison of the two modes to create an AI‑powered repository assistant.

AI AssistantGiteeJava
0 likes · 11 min read
Build a Java AI Gitee Assistant with LangChain4j and MCP: Step‑by‑Step Guide
Cognitive Technology Team
Cognitive Technology Team
Mar 5, 2025 · Artificial Intelligence

Comparative Analysis of Java AI Frameworks: LangChain4j, Spring AI, and Agent-Flex

This article examines three leading Java AI frameworks—LangChain4j, Spring AI, and Agent-Flex—by comparing their architectures, core capabilities, and ideal use‑cases, helping developers choose the most suitable solution for enterprise, domestic, or rapid‑prototype projects.

AIAgent-FlexFrameworks
0 likes · 5 min read
Comparative Analysis of Java AI Frameworks: LangChain4j, Spring AI, and Agent-Flex
JD Tech Talk
JD Tech Talk
Jan 9, 2025 · Artificial Intelligence

Practical Guide to Building Retrieval‑Augmented Generation (RAG) Applications with LangChain4j in Java

This article provides a step‑by‑step tutorial for Java engineers on using the LangChain4j framework to implement Retrieval‑Augmented Generation (RAG) with large language models, covering concepts, environment setup, code integration, document splitting, embedding, vector‑store operations, and prompt engineering.

LangChain4jRAGembedding
0 likes · 35 min read
Practical Guide to Building Retrieval‑Augmented Generation (RAG) Applications with LangChain4j in Java
JD Tech
JD Tech
Oct 13, 2024 · Artificial Intelligence

Building a Simple Local AI Question‑Answer System with Java, LangChain4J, Ollama, and ChromaDB

This article guides readers through the concepts of large language models, embeddings, vector databases, and Retrieval‑Augmented Generation, then demonstrates step‑by‑step how to set up Ollama, install a local Chroma vector store, configure Maven dependencies, and write Java code using LangChain4J to build and test a functional AI Q&A application.

AIJavaLLM
0 likes · 22 min read
Building a Simple Local AI Question‑Answer System with Java, LangChain4J, Ollama, and ChromaDB
JD Tech
JD Tech
Jul 10, 2024 · Artificial Intelligence

Implementing Retrieval‑Augmented Generation (RAG) with LangChain4j in Java

This article provides a step‑by‑step guide for Java engineers on building a Retrieval‑Augmented Generation (RAG) application using the LangChain4j framework, covering RAG fundamentals, environment setup, Maven integration, document loading, splitting, embedding with OpenAI, vector store management with Chroma, and prompt‑based LLM interaction.

JavaLLMLangChain4j
0 likes · 35 min read
Implementing Retrieval‑Augmented Generation (RAG) with LangChain4j in Java