Tagged articles

PromptTemplate

10 articles · Page 1 of 1
Coder Trainee
Coder Trainee
Jun 19, 2026 · Artificial Intelligence

Deep Dive into Spring AI: Advanced ChatClient, Prompt Templates, and Function Calling

This article explores Spring AI's core design patterns, advanced ChatClient usage, dynamic PromptTemplate creation, few‑shot prompting, structured output parsing, and declarative function calling with @Tool annotations, providing code examples, advisor mechanisms, and testing tips for Java developers.

AI integrationChatClientFunction Calling
0 likes · 13 min read
Deep Dive into Spring AI: Advanced ChatClient, Prompt Templates, and Function Calling
Senior Xiao Ying
Senior Xiao Ying
Apr 3, 2026 · Artificial Intelligence

Spring AI 1.1 GA: Quick Start Guide for Building Java AI Applications

This article introduces Spring AI, explains its purpose as a standardized Java framework for AI integration, highlights the new Model Context Protocol and expanded model support in version 1.1 GA, and provides a step‑by‑step tutorial—including dependencies, configuration, and code examples—to help developers quickly build AI‑powered applications.

AI integrationChatClientJava
0 likes · 7 min read
Spring AI 1.1 GA: Quick Start Guide for Building Java AI Applications
BirdNest Tech Talk
BirdNest Tech Talk
Nov 7, 2025 · Artificial Intelligence

Mastering Chains in LangChainGo: Build Complex LLM Workflows Step‑by‑Step

This guide explains LangChainGo’s Chain abstraction, detailing the core Chain interface, the LLMChain implementation, various chain types such as SequentialChain and RetrievalQA, and provides a complete walkthrough of setting up prompts, creating chains, and executing them with example Go code.

ChainsLLMChainLangChainGo
0 likes · 8 min read
Mastering Chains in LangChainGo: Build Complex LLM Workflows Step‑by‑Step
Qborfy AI
Qborfy AI
Apr 9, 2025 · Artificial Intelligence

Mastering LangChain PromptTemplates to Reduce AI Hallucinations

This tutorial walks through the concept of PromptTemplate in LangChain, demonstrates how to build chat prompt templates, use message placeholders, apply Few‑Shot prompting and ExampleSelector techniques, and shows concrete code and output examples that help mitigate large‑language‑model hallucinations.

AI hallucinationExampleSelectorFewShot
0 likes · 11 min read
Mastering LangChain PromptTemplates to Reduce AI Hallucinations
JavaEdge
JavaEdge
Jun 23, 2024 · Artificial Intelligence

Build a Cultural Name‑Generator with LangChain, Custom Prompts, and Output Parsers

This tutorial walks through installing LangChain, creating an LLM (via own GPU resources or third‑party APIs), designing parameterized prompt templates, implementing a custom output parser for structured results, and running a complete Python example that generates culturally specific names.

AILLMLangChain
0 likes · 7 min read
Build a Cultural Name‑Generator with LangChain, Custom Prompts, and Output Parsers