> ## Documentation Index
> Fetch the complete documentation index at: https://www.bolna.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Capturing precise transcripts in Bolna Voice AI

> Bolna Voice AI enables to capture actual transcripts when the conversations involve interruptions to improve call accuracy and experience.

## Overview

Bolna AI incorporates an **advanced interruption handling** mechanism that ensures accurate and contextually relevant transcripts during voice agent interactions.

<Warning>This feature is currently in beta. Please use it with caution.</Warning>

<Frame caption="Enable precise generation of transcripts">
  <img src="https://mintcdn.com/bolna-54a2d4fe/mJ1zPF3eB4Dyupzj/images/capturing_precise_transcripts_step_1.png?fit=max&auto=format&n=mJ1zPF3eB4Dyupzj&q=85&s=8609faab294942dc35840ef40f86f85a" alt="Precise transcript generation toggle in Bolna Voice AI showing interruption handling configuration" width="731" height="309" data-path="images/capturing_precise_transcripts_step_1.png" />
</Frame>

When a user interrupts the AI agent mid-conversation, rather than logging the full transcript generated by Large Language Models (LLMs), Bolna intelligently computes the actual transcript by filtering out incomplete or overridden responses. This enhances clarity, ensuring that only the final, meaningful exchange is stored, processed and used for the conversations.

## How It Works

Bolna AI’s interruption handling system functions through a three-step process:

* **Detection of Interruptions**: The system continuously monitors speech input to detect when the user starts speaking while the Voice agent is still speaking.

* **Contextual Computation**: Whenever an interruption is detected, Bolna AI determines whether the user’s input should overrides the Voice agent's response.

* **Final Transcript Adjustment**: Bolna then reconstructs the conversation transcript to exclude everything after the interruption, ensuring that only the final & meaningful parts of the dialogue are retained, processed and used for further processing.

## Example

| Without precise transcript generation                                                                              | Using precise transcript generation                                                                                    |
| ------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------- |
| **Assistant:** "Hello, Thank you for calling Wayne Enterprises. How can we help you today?"                        | **Assistant:** "Hello, Thank you for calling Wayne Enterprises. How can we help you today?"                            |
| **User:** "hello"                                                                                                  | **User:** "hello"                                                                                                      |
| **Assistant:** "Hello! How can I assist you today?"                                                                | **Assistant:** "Hello! How can I ~~assist you today?~~"                                                                |
| **User:** "yeah where are you calling from"                                                                        | **User:** "yeah where are you calling from"                                                                            |
| **Assistant:** "I'm here to support you regarding your recent order from Wayne Enterprises. How can I assist you?" | **Assistant:** "I'm here to support you regarding your recent order ~~from Wayne Enterprises. How can I assist you?~~" |
| **User:** "yeah i'm facing an issue with the item i purchased"                                                     | **User:** "yeah i'm facing an issue with the item i purchased"                                                         |
| ...                                                                                                                | ...                                                                                                                    |

<Note>
  In the above example, the strikethrough text is only for representation purposes. In practice, you'll see only the transcripts till the interruptions if the `precise transcript generation` is `enabled`.
</Note>

## Conclusion

Bolna AI’s interruption handling feature ensures that conversation transcripts reflect actual user intent rather than an unfiltered log of AI responses. By dynamically computing the actual transcript, this feature enhances the efficiency of voice AI applications, making conversations more human-like and structured.
