Skip to content

Commit

Permalink
Merge pull request #168 from pipecat-ai/transcription-logging
Browse files Browse the repository at this point in the history
transports(daily): add transcription logging
  • Loading branch information
aconchillo authored May 23, 2024
2 parents 5d9a962 + 674b8bb commit fd13d3c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/pipecat/transports/services/daily.py
Original file line number Diff line number Diff line change
Expand Up @@ -700,6 +700,7 @@ def _on_transcription_message(self, participant_id, message):
is_final = message["rawResponse"]["is_final"]
if is_final:
frame = TranscriptionFrame(text, participant_id, timestamp)
logger.debug(f"Transcription (from: {participant_id}): [{text}]")
else:
frame = InterimTranscriptionFrame(text, participant_id, timestamp)

Expand Down

0 comments on commit fd13d3c

Please sign in to comment.