
Description
You can use the Get Transcript Node to provide conversation scripts to AI Agents and improve their performance or for further processing of the conversation with the user. For example, use the Get Transcript Node to:- Provide targeted context to the AI Agent and prevent LLM hallucinations when a user wants to check the status of multiple orders.
- Send a summary of the interaction between the user and the AI Agent to your CRM system.
Restrictions
- The Get Transcript Node stores only plain text in the conversation transcript. Structured data, such as Text with Buttons and Text with Quick Replies, isnโt included in the transcript. You can access the full transcript in the Transcript Explorer or with the OData endpoint.
Parameters
Parameter | Type | Description |
---|---|---|
Limit | Slider | Sets the number of transcript steps to include. Each step is an input from any participant in the conversation. For example, if you specify 1 , only the last input is included in the transcript. This input can be, for instance, an AI Agentโs message if it was the last in the conversation. |
Advanced
Parameter | Type | Description |
---|---|---|
Include Rich Media Context | Toggle | Controls whether context is added to the transcript. In this case, context refers to text extracted from rich media such as Text with Buttons, Quick Replies, and other types. This text provides AI Agents with additional information, improving their responses. If the Textual Description parameter in the Say, Question, or Optional Question Node is filled, the context is taken only from this parameter. If the Textual Description parameter is empty, the context is taken from the button titles and alt text in the rich media. By default, the Include Rich Media Context parameter is active. When this parameter is inactive, no context is added. Examples:
|
Storage
Parameter | Type | Description |
---|---|---|
Store Location | Selector | Sets where to save the result:
|
Input Key | CognigyScript | The parameter appears when Input is selected. The result is stored in the transcript Input object by default. You can specify another key. |
Context Key | CognigyScript | The parameter appears when Context is selected. The result is stored in the transcript Context object by default. You can specify another key. |
Provide Conversation Transcripts to AI Agents
To provide the transcript to AI Agents, add the Get Transcript Node before one of the following Nodes:- AI Agent Node โ retrieve the transcript from the Input or Context object using CognigyScript in the Job Description or Instructions and Context field. For example,
{{input.transcript}}
. - LLM Prompt Node โ retrieve the transcript from the Input or Context object using CognigyScript in the System Prompt field. For example,
{{input.transcript}}
.