Update foundational examples with script dependencies

This commit is contained in:
Mark Backman
2025-08-03 15:30:56 -04:00
parent 2b1a7b840d
commit a550be329c
149 changed files with 834 additions and 75 deletions

View File

@@ -4,7 +4,12 @@
# SPDX-License-Identifier: BSD 2-Clause License
#
import argparse
# /// script
# dependencies = [
# "pipecat-ai[daily,webrtc,websocket,runner,silero,google,cartesia]>=0.0.77",
# ]
# ///
import asyncio
import os
import time
@@ -44,6 +49,8 @@ from pipecat.processors.aggregators.openai_llm_context import (
)
from pipecat.processors.filters.function_filter import FunctionFilter
from pipecat.processors.frame_processor import FrameDirection, FrameProcessor
from pipecat.runner.types import RunnerArguments
from pipecat.runner.utils import create_transport
from pipecat.services.cartesia.tts import CartesiaTTSService
from pipecat.services.google.llm import GoogleLLMContext, GoogleLLMService
from pipecat.sync.base_notifier import BaseNotifier