liveBook · Manning

Extractive summarization

As explained in Effective Conversational AI

Extractive summarization is a summarization technique that constructs a shorter representation by selecting or extracting information from source content.

Extractive summarization builds a shorter, structured representation by selecting values or details directly from a transcript rather than inventing new information. section 12.3.2

A practical pattern asks an LLM to extract specified fields into JSON. Explicit keys, value types, instructions, and worked examples reduce errors such as renaming ClaimNumber to ClaimID or returning numbers as strings. section 12.3.2

Extracting handoff details

Given a claims conversation, the output can retain TaxID, MemberID, and ClaimID as JSON, optionally alongside a short reason for requesting a human representative. Verify every extracted value against the transcript before deployment and during operation. section 12.3.2

Listing 12.9 An extractive summary without examples
<|instruction|>
Read the following conversation transcript between a  #1
user and the automated assistant. Extract all IDs in    #1
JSON format.  #1

<|transcript|>   #2
<... human-readable transcript removed for brevity ...>

<|JSON|>  #3
{
  "TaxID": "123456789",  #4
  "MemberID": "87654321",   #4
  "DateOfBirth": "12/31/2000",  #4
  "Name": "John Doe", #4
  "ClaimNumber": "111222333",  #4
  "DateOfService": "February 1, 2024",   #4
  "ProviderID": "123456789"  #4
}  #4

Compare a basic extraction prompt with examples that constrain fields and output formatting. section 12.3.2

How Effective Conversational AI covers it

How deep it goes
Explains prompt instructions, examples, output typing, model parameters, and hallucination verification, but not extraction internals.
Examples
Uses claims conversations containing TaxID, MemberID, ClaimID, dates, provider details, and a request for human assistance.
What you can do after
Apply it via an LLM by specifying fields, demonstrating desired output, tuning parameters, and checking extracted values against source text.
How it connects
Connects transcripts, large language models, JSON, few-shot examples, hallucinations, and human-agent handoff.

Also explained in

Compare how 4 books explain extractive summarization →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Effective Conversational AI. The section links point to the parts of the book it draws on.