Tagged articles

ChatModel

8 articles · Page 1 of 1
Tech Ocean
Tech Ocean
Jun 6, 2026 · Artificial Intelligence

Mastering Spring AI ChatClient: call vs. stream for typewriter‑like streaming

This article explains how Spring AI's ChatClient serves as a high‑level façade over ChatModel, compares the synchronous call() method with the streaming stream() method, demonstrates retrieving plain text, full responses, or structured entities, and shows how to override model parameters such as temperature on a per‑request basis.

AI integrationChatClientChatModel
0 likes · 7 min read
Mastering Spring AI ChatClient: call vs. stream for typewriter‑like streaming
Tech Ocean
Tech Ocean
Apr 22, 2026 · Artificial Intelligence

Direct API vs LangChain: Master Every LLM Invocation Method in One Day

This article compares raw API calls with LangChain's abstractions, explains when to use ChatModel versus LLM interfaces, demonstrates model selection across providers, shows how to build prompt templates and output parsers, and provides a complete Python example with error‑handling best practices.

ChatModelLLMLangChain
0 likes · 10 min read
Direct API vs LangChain: Master Every LLM Invocation Method in One Day
BirdNest Tech Talk
BirdNest Tech Talk
Sep 30, 2025 · Artificial Intelligence

LLM vs. ChatModel in LangChain: Choosing the Right Interface

This article explains LangChain's two core abstractions—LLM for simple text completion and ChatModel for multi‑turn conversational AI—detailing their input/output formats, practical code examples, and why ChatModel is generally preferred for modern dialogue applications.

AIChatModelLLM
0 likes · 6 min read
LLM vs. ChatModel in LangChain: Choosing the Right Interface
Coder Circle
Coder Circle
Sep 2, 2025 · Artificial Intelligence

Unlocking the New Era of AI Development: Exploring Spring AI Core Classes

This article walks through Spring AI’s three core classes—Message, Prompt, and ChatModel—explaining their roles, showing concrete code examples for constructing messages, building prompts, and invoking a large language model via a REST controller, and provides a complete demo repository.

ChatModelLLMMessage
0 likes · 3 min read
Unlocking the New Era of AI Development: Exploring Spring AI Core Classes
JD Tech
JD Tech
Apr 18, 2024 · Artificial Intelligence

Getting Started with LangChain: Overview, Core Components, and Python Code Samples

This article introduces the LangChain framework for large language model integration, explains its key components and advantages, and provides step‑by‑step Python examples for setting up environment variables, creating prompts, chaining models, and using embeddings, completions, and chat models.

ChatModelLLMLangChain
0 likes · 7 min read
Getting Started with LangChain: Overview, Core Components, and Python Code Samples