Merge pull request #1182 from pipecat-ai/mb/28c-optional-db

Update 28c option to output to log line only by default
This commit is contained in:
Mark Backman
2025-02-09 07:52:21 -05:00
committed by GitHub

View File

@@ -156,8 +156,11 @@ async def main():
# Create transcript processor and handler
transcript = TranscriptProcessor()
transcript_handler = TranscriptHandler(output_db="example.db") # Output to log only
# Select a TranscriptHandler output method
# Uncomment out only one of the following lines:
transcript_handler = TranscriptHandler() # Output to log only
# transcript_handler = TranscriptHandler(output_file="transcript.txt") # Output to file and log
# transcript_handler = TranscriptHandler(output_db="example.db") # Output to SQLite DB and log
pipeline = Pipeline(
[