LangChain's Model Interface: LLM vs. Chat Model Distinctions

LangChain provides a standardized interface for interacting with two primary model types: traditional LLMs (string-in, string-out) and modern Chat Models (message-in, message-out), with Chat Models supporting distinct roles like user and system messages for conversational AI.

Sources

Open the full topic