Core Concepts
Transcripts
Transcripts provide interactions logs
Transcripts are a way to provide a detailed log of the interaction between the AI and the user. This is useful for debugging, post processing and for auditing purposes.
To access the intractions transcript history you can fetch a interaction session.
See the Get Session API for more information.
An Interaction transcript history would something look like this:
Accessing Transcript During Interaction
You can also access the transcript during the interaction from the client by using the listening for the transcript
event.
This can be useful for displaying the transcript to the user as it is being generated or for other real-time processing.
That should log the transcript to the console as it is being generated, which would look something like this: