Tag

LangChain

1 views collected around this technical thread.

Didi Tech
Didi Tech
Jun 5, 2025 · Artificial Intelligence

Unlocking Modern AI Application Architecture: From RAG to Agents and MCP

This article surveys the evolution of AI applications, explains large language model fundamentals, outlines architectural challenges, and introduces three core patterns—Retrieval‑Augmented Generation (RAG), autonomous Agents, and Model Context Protocol (MCP)—while providing practical LangChain code snippets and integration guidance.

AILLMLangChain
0 likes · 28 min read
Unlocking Modern AI Application Architecture: From RAG to Agents and MCP
Instant Consumer Technology Team
Instant Consumer Technology Team
May 29, 2025 · Artificial Intelligence

How to Build an Agent‑Powered Financial Q&A System with RAG and SQL

This article explains how to construct a financial question‑answering agent that automatically decides between SQL queries and RAG retrieval, covering intent recognition, tool creation, prompt design, agent initialization, and end‑to‑end testing with Python code.

LangChainPythonRAG
0 likes · 13 min read
How to Build an Agent‑Powered Financial Q&A System with RAG and SQL
Instant Consumer Technology Team
Instant Consumer Technology Team
May 27, 2025 · Artificial Intelligence

How to Build a Text‑to‑SQL Assistant: From Prompt Tricks to Enterprise‑Ready Solutions

This comprehensive guide explains the Text2SQL concept, showcases real‑world scenarios, compares three implementation architectures—including a simple prompt‑based method, a LangChain‑based pipeline, and an enterprise‑grade Vanna solution—while providing practical tips, security measures, and advanced enhancements for deploying robust natural‑language‑to‑SQL systems.

DatabaseLLMLangChain
0 likes · 26 min read
How to Build a Text‑to‑SQL Assistant: From Prompt Tricks to Enterprise‑Ready Solutions
Nightwalker Tech
Nightwalker Tech
Apr 17, 2025 · Artificial Intelligence

LangGraph Explained: Advanced AI Workflow Framework and Hands‑On Guide

This article introduces LangGraph, the next‑generation framework built on LangChain for constructing complex, stateful AI applications, compares it with LangChain, showcases real‑world deployments, and provides a step‑by‑step Python tutorial for building a smart customer‑service chatbot with looped reasoning, tool integration, and human‑in‑the‑loop support.

AI WorkflowChatbotLangChain
0 likes · 20 min read
LangGraph Explained: Advanced AI Workflow Framework and Hands‑On Guide
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Apr 16, 2025 · Backend Development

Building a Web MCP Client and Server with CopilotKit, LangChain, and Next.js

This article walks through the overall design, implementation, and troubleshooting of a web‑based MCP client and server using CopilotKit, LangChain, Next.js, and related TypeScript libraries, covering setup, core code, environment configuration, and deployment steps.

ClientCopilotKitLangChain
0 likes · 18 min read
Building a Web MCP Client and Server with CopilotKit, LangChain, and Next.js
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
Bilibili Tech
Bilibili Tech
Feb 11, 2025 · Artificial Intelligence

Building a Scalable AI Agent for Code Review: Practices, Architecture, and Challenges

The article outlines how to build a scalable, modular AI code‑review agent using LangChain, detailing stages from naive prompting to advanced prompt engineering, architecture with six core modules, strategies to curb hallucinations, improve reliability, performance, and human‑AI collaboration, and future RAG integration.

AI AgentCode ReviewLangChain
0 likes · 22 min read
Building a Scalable AI Agent for Code Review: Practices, Architecture, and Challenges
iKang Technology Team
iKang Technology Team
Feb 7, 2025 · Artificial Intelligence

Retrieval‑Augmented Generation (RAG) with LangChain: Concepts and Python Implementation

Retrieval‑Augmented Generation (RAG) using LangChain lets developers enhance large language models by embedding user queries, fetching relevant documents from a vector store, inserting the context into a prompt template, and generating concise, source‑grounded answers, offering low‑cost, up‑to‑date knowledge while reducing hallucinations and fine‑tuning expenses.

LLMLangChainPython
0 likes · 10 min read
Retrieval‑Augmented Generation (RAG) with LangChain: Concepts and Python Implementation
DeWu Technology
DeWu Technology
Jan 6, 2025 · Artificial Intelligence

Design and Implementation of a Retrieval‑Augmented Generation (RAG) Answering Assistant for the Dewu Open Platform

The paper describes building a Retrieval‑Augmented Generation assistant for the Dewu Open Platform that leverages GPT‑4o‑mini, OpenAI embeddings, Milvus vector store, and LangChain.js to semantically retrieve API documentation, structure user queries, and generate accurate, JSON‑formatted answers, thereby reducing manual support and hallucinations.

AILLMLangChain
0 likes · 28 min read
Design and Implementation of a Retrieval‑Augmented Generation (RAG) Answering Assistant for the Dewu Open Platform
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Nov 28, 2024 · Artificial Intelligence

Step-by-Step Guide to Registering Volcengine API, Configuring .cloudiderc, and Running LangChain Quickstart

This tutorial provides detailed instructions for registering the Volcengine API, locating and editing the .cloudiderc file, setting environment variables, installing the Volcengine Python SDK, and troubleshooting common issues when running the LangChain quick‑start examples on a cloud IDE.

AIAPILangChain
0 likes · 6 min read
Step-by-Step Guide to Registering Volcengine API, Configuring .cloudiderc, and Running LangChain Quickstart
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Nov 20, 2024 · Artificial Intelligence

Resolving 02_DocQA.py Errors and Using LangChain to Call Large Models Locally

This guide explains how to fix the ArkNotFoundError in the 02_DocQA.py script by configuring a Doubao‑embedding endpoint, setting up a Conda environment with the latest LangChain packages, and provides step‑by‑step code examples for invoking both Zhipu glm‑4 and Volcano large language models via LangChain.

Environment SetupLangChainPython
0 likes · 9 min read
Resolving 02_DocQA.py Errors and Using LangChain to Call Large Models Locally
System Architect Go
System Architect Go
Nov 19, 2024 · Artificial Intelligence

Retrieval Augmented Generation (RAG) System Overview and Implementation with LangChain, Redis, and llama.cpp

This article explains the concept, architecture, and step‑by‑step implementation of Retrieval Augmented Generation (RAG), covering indexing, retrieval & generation processes, a practical LangChain‑Redis‑llama.cpp example on Kubernetes, code snippets, test results, challenges, and references.

AILLMLangChain
0 likes · 6 min read
Retrieval Augmented Generation (RAG) System Overview and Implementation with LangChain, Redis, and llama.cpp
37 Interactive Technology Team
37 Interactive Technology Team
Nov 4, 2024 · Artificial Intelligence

Developing RAG and Agent Applications with LangChain: A Case Study of an AI Assistant for Activity Components

The article outlines a step‑by‑step methodology for creating Retrieval‑Augmented Generation and custom Agent applications with LangChain, illustrated by an AI assistant for activity components that evolves from a rapid Dify prototype to a LangChain‑based RAG system and finally a hand‑crafted ReAct‑style agent, detailing LCEL chain composition, vector‑search integration, model performance trade‑offs, and a unified routing layer.

AI AssistantCloud-nativeData Warehouse
0 likes · 6 min read
Developing RAG and Agent Applications with LangChain: A Case Study of an AI Assistant for Activity Components
Code Mala Tang
Code Mala Tang
Sep 12, 2024 · Artificial Intelligence

Unlocking LangChain.js: The Swiss Army Knife for LLM Applications

This article introduces LangChain.js, explains its origins, core concepts such as chats, templates, tools, and chains, demonstrates practical JavaScript code examples, and explores the LangChain Execution Language (LCEL) for building flexible, conditional AI workflows.

AI WorkflowJavaScriptLCEL
0 likes · 17 min read
Unlocking LangChain.js: The Swiss Army Knife for LLM Applications
Code Mala Tang
Code Mala Tang
Sep 12, 2024 · Artificial Intelligence

Boost LLM Accuracy with Retrieval‑Augmented Generation Using LangChain.js

This article explains the core concepts of Retrieval‑Augmented Generation (RAG), walks through its implementation steps with LangChain.js—including text chunking, embedding, storage, retrieval, and generation—and showcases practical use cases, challenges, and best practices for building reliable AI‑powered applications.

AI applicationsLLMLangChain
0 likes · 16 min read
Boost LLM Accuracy with Retrieval‑Augmented Generation Using LangChain.js
Code Mala Tang
Code Mala Tang
Sep 7, 2024 · Artificial Intelligence

Unlocking LangChain.js: The Swiss Army Knife for LLM Applications

This article introduces LangChain.js, its core concepts such as chats, templates, tools, and chains, demonstrates how to use LCEL for flexible workflow composition, and shows practical JavaScript code examples for building AI-powered applications with large language models.

AI WorkflowJavaScriptLCEL
0 likes · 17 min read
Unlocking LangChain.js: The Swiss Army Knife for LLM Applications
iKang Technology Team
iKang Technology Team
Sep 5, 2024 · Artificial Intelligence

What Is LangChain? Overview, Core Advantages, Components, and Use Cases

LangChain is a modular framework that streamlines integration of large language models by providing unified model interfaces, prompt optimization, memory handling, indexing, chains, and agents, enabling developers to quickly build and deploy sophisticated NLP applications such as text generation, information extraction, and dynamic tool‑driven workflows across various industries.

AI FrameworkAgentsChains
0 likes · 6 min read
What Is LangChain? Overview, Core Advantages, Components, and Use Cases
DaTaobao Tech
DaTaobao Tech
Aug 30, 2024 · Artificial Intelligence

Overview of Large Model Application Development Platforms: LangChain, Dify, Flowise, and Coze

The article reviews open‑source and commercial large‑model development platforms—LangChain, Dify, Flowise, and Coze—detailing their architectures, low‑code visual tools, model integrations, extensibility, and a step‑by‑step Dify example, and concludes they are essential infrastructure for rapid AI application deployment.

AI Application DevelopmentDifyFlowise
0 likes · 13 min read
Overview of Large Model Application Development Platforms: LangChain, Dify, Flowise, and Coze
Python Programming Learning Circle
Python Programming Learning Circle
Aug 23, 2024 · Artificial Intelligence

Getting Started with Python Generative AI: Six Practical Projects Using Llama 2, LangChain, Streamlit, Gradio, FastAPI and SQL

This article presents six hands‑on Python generative‑AI projects—ranging from a Llama 2 chatbot built with Streamlit and Replicate to natural‑language‑to‑SQL conversion using LlamaIndex and SQLAlchemy—complete with environment setup, required code snippets, deployment tips and resource links for further exploration.

GradioLangChainPython
0 likes · 20 min read
Getting Started with Python Generative AI: Six Practical Projects Using Llama 2, LangChain, Streamlit, Gradio, FastAPI and SQL