liveBook · Manning

Session history

Also called chat history, conversation history

Session history is an ordered record of messages or other activity associated with a particular session.

How 2 Manning books explain it

Build Applications with Local AI Models on a Mac

Conversation history is the ordered record of messages exchanged during a conversational session.

How it is used
Uses conversation history to give a stateless chatbot continuity across user messages.
How deep it goes
Explains message storage, repeated requests, the conversation loop, and trimming for context limits.
Examples
Uses a name-recall chat and a French Revolution message array to illustrate retained conversation context.
What you can do after
Apply it via Ollama and Streamlit to store messages, resend relevant context, and manage long chats.

Read how Build Applications with Local AI Models on a Mac explains session history →

Effective Conversational AI

Session history is the contents of the current conversational session, retained for immediate context and typically discarded after the session ends.

How it is used
Uses the current conversation to answer follow-up questions without forcing users to repeat information.
How deep it goes
Defines session history, contrasts it with persistent history, and describes transcript access and transformation, but does not detail storage internals.
Examples
Uses a claim-status transcript containing identifiers, dates, confirmations, responses, and a representative request.
What you can do after
Operate a conversational transcript through a built-in watsonx session variable and prepare it for summarization.

Read how Effective Conversational AI explains session history →

Also covered in

What to know first

Related concepts

Questions about session history

What is session history?

Session history is an ordered record of messages or other activity associated with a particular session.

Which Manning books explain session history?

Build Applications with Local AI Models on a Mac and Effective Conversational AI.

What should I know before learning session history?

Manning books that teach session history usually introduce large language model and JSON first.

What kinds of session history are there?

Kinds of session history include persistent user history.

What is session history a kind of?

Session history is a kind of session variable. A named variable maintained during a dialogue session that stores information available to the conversational system.

What is session history also called?

Session history is also called chat history or conversation history.

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.