> ## Documentation Index
> Fetch the complete documentation index at: https://botmesh.afaya.com.co/llms.txt
> Use this file to discover all available pages before exploring further.

# transcriptToText()

> Function exported by @botmesh/core/testing.

```ts theme={null}
function transcriptToText(transcript): string;
```

Defined in: [testing/transcripts/format.ts:268](https://github.com/andresayac/botmesh/blob/main/packages/core/src/testing/transcripts/format.ts#L268)

Readable rendering of a transcript, one turn per line: `user-1> hola`,
`bot< Your name?`, `bot< [buttons] Elige` (non-text kinds are tagged),
`user-1> (button) a` (interactions). Lines carry a `[chatId]` prefix when the
transcript spans several chats.

## Parameters

| Parameter | Type |
| - | - |
| `transcript` | [`Transcript`](https://botmesh.afaya.com.co/api/core/interfaces/Transcript) |

## Returns

`string`


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.