Content ITV PRO
This is Itvedant Content department
Learning Outcome
5
Connect provider choice to cost, privacy, and local models
4
Apply invoke, stream, and batch to the right situations.
3
Recognize what an AIMessage carries besides text.
2
Identify System, Human, AI, and Tool messages
1
Understand what a chat model takes in and returns
Imagine a group of students performing a school drama
Director’s Note Sets the Behaviour
Instructions at the top tell every character how to behave, like a system message guiding the overall behaviour.
Each Dialogue Has a Speaker
Every line is assigned to a specific character, just like messages have roles such as system, user, and assistant.
Standard Script Works Everywhere
Because everyone follows the same structure, different actors can use the same script, just like a standard message format can work across different chat models/providers.
Why does the script start with the director's note?
Why is every line written under the speaker's name?
How can a different group of actors perform the same script?
The note sets behaviour, the names show who said what, and the standard format works for any cast.
Similarly, a chat model reads a conversation as a list of messages. A system message sets its role and rules, human messages carry what the user says, and AI messages hold the model's earlier replies.
Because LangChain uses the same message format for every provider, the same conversation can be sent to OpenAI, Anthropic, Google, or a local model.
This is called working with Chat Models, Message Types, and Model Providers.
What is a Chat Model?
An LLM that takes a list of messages as input and returns a message as output
Almost all modern LLMs are chat models, because instruction tuning trained them on conversations with marked roles.
02
03
01
Input:
a plain string (treated as one user message) or a list of messages
Output:
an AIMessage with the reply and details about the call.
Standard methods:
invoke, stream, and batch work the same for every provider.
Message Types
SystemMessage: instructions for the whole conversation, e.g., "You are a helpful admissions counsellor. Answer in under 100 words." Usually first; not shown to the user.
Transition from Analogy to Technical Concept(Slide 5)
Core Concepts (Slide 6)
Core Concepts (Slide 7)
Core Concepts (.....Slide N-3)
Summary
5
Build strong branding
4
Use different marketing channels
3
Target the right audience
2
Create and communicate value
1
Understand customer needs
Choose cool, soft colors instead of vibrant colors
Max 5 Points for Summary & Min 2
Quiz
Which platform is mainly used for professional networking and B2B marketing ?
A. Facebook
B. Instagram
C. LinkedIn
D. Snapchat
Quiz-Answer
Which platform is mainly used for professional networking and B2B marketing ?
A. Facebook
B. Instagram
C. LinkedIn
D. Snapchat
By Content ITV