Compare commits
18 Commits
mb/update-
...
mb/use-new
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b28c2b9a58 | ||
|
|
250dec2371 | ||
|
|
49435cd115 | ||
|
|
65daac9853 | ||
|
|
26743f40a0 | ||
|
|
bd91a31a40 | ||
|
|
242b277413 | ||
|
|
c71e97dd08 | ||
|
|
c6e2bfe601 | ||
|
|
f61bbd3d3d | ||
|
|
c74fede862 | ||
|
|
ff7e0ff27d | ||
|
|
7253077bb7 | ||
|
|
df211fb5a3 | ||
|
|
ae6698429f | ||
|
|
b7e415a659 | ||
|
|
2cdc42adf6 | ||
|
|
988d986e22 |
@@ -250,7 +250,6 @@ def setup(app):
|
||||
|
||||
excludes = [
|
||||
str(project_root / "src/pipecat/pipeline/to_be_updated"),
|
||||
str(project_root / "src/pipecat/examples"),
|
||||
str(project_root / "src/pipecat/tests"),
|
||||
"**/test_*.py",
|
||||
"**/tests/*.py",
|
||||
|
||||
@@ -201,6 +201,6 @@ async def run_example(transport: BaseTransport, _: argparse.Namespace, handle_si
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from pipecat.examples.run import main
|
||||
from pipecat.runner.local import main
|
||||
|
||||
main(run_example, transport_params=transport_params)
|
||||
|
||||
@@ -244,6 +244,6 @@ async def run_example(transport: BaseTransport, _: argparse.Namespace, handle_si
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from pipecat.examples.run import main
|
||||
from pipecat.runner.local import main
|
||||
|
||||
main(run_example, transport_params=transport_params)
|
||||
|
||||
@@ -55,6 +55,6 @@ async def run_example(transport: BaseTransport, _: argparse.Namespace, handle_si
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from pipecat.examples.run import main
|
||||
from pipecat.runner.local import main
|
||||
|
||||
main(run_example, transport_params=transport_params)
|
||||
|
||||
@@ -56,6 +56,6 @@ async def run_example(transport: BaseTransport, _: argparse.Namespace, handle_si
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from pipecat.examples.run import main
|
||||
from pipecat.runner.local import main
|
||||
|
||||
main(run_example, transport_params=transport_params)
|
||||
|
||||
@@ -53,6 +53,6 @@ async def run_example(transport: BaseTransport, _: argparse.Namespace, handle_si
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from pipecat.examples.run import main
|
||||
from pipecat.runner.local import main
|
||||
|
||||
main(run_example, transport_params=transport_params)
|
||||
|
||||
@@ -50,6 +50,6 @@ async def run_example(transport: BaseTransport, _: argparse.Namespace, handle_si
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from pipecat.examples.run import main
|
||||
from pipecat.runner.local import main
|
||||
|
||||
main(run_example, transport_params=transport_params)
|
||||
|
||||
@@ -63,6 +63,6 @@ async def run_example(transport: BaseTransport, _: argparse.Namespace, handle_si
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from pipecat.examples.run import main
|
||||
from pipecat.runner.local import main
|
||||
|
||||
main(run_example, transport_params=transport_params)
|
||||
|
||||
@@ -68,6 +68,6 @@ async def run_example(transport: BaseTransport, _: argparse.Namespace, handle_si
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from pipecat.examples.run import main
|
||||
from pipecat.runner.local import main
|
||||
|
||||
main(run_example, transport_params=transport_params)
|
||||
|
||||
@@ -71,6 +71,6 @@ async def run_example(transport: BaseTransport, _: argparse.Namespace, handle_si
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from pipecat.examples.run import main
|
||||
from pipecat.runner.local import main
|
||||
|
||||
main(run_example, transport_params=transport_params)
|
||||
|
||||
@@ -174,6 +174,6 @@ async def run_example(transport: BaseTransport, _: argparse.Namespace, handle_si
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from pipecat.examples.run import main
|
||||
from pipecat.runner.local import main
|
||||
|
||||
main(run_example, transport_params=transport_params)
|
||||
|
||||
@@ -137,6 +137,6 @@ async def run_example(transport: BaseTransport, _: argparse.Namespace, handle_si
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from pipecat.examples.run import main
|
||||
from pipecat.runner.local import main
|
||||
|
||||
main(run_example, transport_params=transport_params)
|
||||
|
||||
@@ -154,6 +154,6 @@ async def run_example(transport: BaseTransport, _: argparse.Namespace, handle_si
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from pipecat.examples.run import main
|
||||
from pipecat.runner.local import main
|
||||
|
||||
main(run_example, transport_params=transport_params)
|
||||
|
||||
@@ -107,6 +107,6 @@ async def run_example(transport: BaseTransport, _: argparse.Namespace, handle_si
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from pipecat.examples.run import main
|
||||
from pipecat.runner.local import main
|
||||
|
||||
main(run_example, transport_params=transport_params)
|
||||
|
||||
@@ -106,6 +106,6 @@ async def run_example(transport: BaseTransport, _: argparse.Namespace, handle_si
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from pipecat.examples.run import main
|
||||
from pipecat.runner.local import main
|
||||
|
||||
main(run_example, transport_params=transport_params)
|
||||
|
||||
@@ -148,6 +148,6 @@ async def run_example(transport: BaseTransport, _: argparse.Namespace, handle_si
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from pipecat.examples.run import main
|
||||
from pipecat.runner.local import main
|
||||
|
||||
main(run_example, transport_params=transport_params)
|
||||
|
||||
@@ -104,6 +104,6 @@ async def run_example(transport: BaseTransport, _: argparse.Namespace, handle_si
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from pipecat.examples.run import main
|
||||
from pipecat.runner.local import main
|
||||
|
||||
main(run_example, transport_params=transport_params)
|
||||
|
||||
@@ -139,6 +139,6 @@ async def run_example(transport: BaseTransport, _: argparse.Namespace, handle_si
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from pipecat.examples.run import main
|
||||
from pipecat.runner.local import main
|
||||
|
||||
main(run_example, transport_params=transport_params)
|
||||
|
||||
@@ -118,6 +118,6 @@ async def run_example(transport: BaseTransport, _: argparse.Namespace, handle_si
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from pipecat.examples.run import main
|
||||
from pipecat.runner.local import main
|
||||
|
||||
main(run_example, transport_params=transport_params)
|
||||
|
||||
@@ -104,6 +104,6 @@ async def run_example(transport: BaseTransport, _: argparse.Namespace, handle_si
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from pipecat.examples.run import main
|
||||
from pipecat.runner.local import main
|
||||
|
||||
main(run_example, transport_params=transport_params)
|
||||
|
||||
@@ -111,6 +111,6 @@ async def run_example(transport: BaseTransport, _: argparse.Namespace, handle_si
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from pipecat.examples.run import main
|
||||
from pipecat.runner.local import main
|
||||
|
||||
main(run_example, transport_params=transport_params)
|
||||
|
||||
@@ -107,6 +107,6 @@ async def run_example(transport: BaseTransport, _: argparse.Namespace, handle_si
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from pipecat.examples.run import main
|
||||
from pipecat.runner.local import main
|
||||
|
||||
main(run_example, transport_params=transport_params)
|
||||
|
||||
@@ -107,6 +107,6 @@ async def run_example(transport: BaseTransport, _: argparse.Namespace, handle_si
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from pipecat.examples.run import main
|
||||
from pipecat.runner.local import main
|
||||
|
||||
main(run_example, transport_params=transport_params)
|
||||
|
||||
@@ -109,6 +109,6 @@ async def run_example(transport: BaseTransport, _: argparse.Namespace, handle_si
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from pipecat.examples.run import main
|
||||
from pipecat.runner.local import main
|
||||
|
||||
main(run_example, transport_params=transport_params)
|
||||
|
||||
@@ -113,6 +113,6 @@ async def run_example(transport: BaseTransport, _: argparse.Namespace, handle_si
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from pipecat.examples.run import main
|
||||
from pipecat.runner.local import main
|
||||
|
||||
main(run_example, transport_params=transport_params)
|
||||
|
||||
@@ -108,6 +108,6 @@ async def run_example(transport: BaseTransport, _: argparse.Namespace, handle_si
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from pipecat.examples.run import main
|
||||
from pipecat.runner.local import main
|
||||
|
||||
main(run_example, transport_params=transport_params)
|
||||
|
||||
@@ -112,6 +112,6 @@ async def run_example(transport: BaseTransport, _: argparse.Namespace, handle_si
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from pipecat.examples.run import main
|
||||
from pipecat.runner.local import main
|
||||
|
||||
main(run_example, transport_params=transport_params)
|
||||
|
||||
@@ -110,6 +110,6 @@ async def run_example(transport: BaseTransport, _: argparse.Namespace, handle_si
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from pipecat.examples.run import main
|
||||
from pipecat.runner.local import main
|
||||
|
||||
main(run_example, transport_params=transport_params)
|
||||
|
||||
@@ -114,6 +114,6 @@ async def run_example(transport: BaseTransport, _: argparse.Namespace, handle_si
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from pipecat.examples.run import main
|
||||
from pipecat.runner.local import main
|
||||
|
||||
main(run_example, transport_params=transport_params)
|
||||
|
||||
@@ -103,6 +103,6 @@ async def run_example(transport: BaseTransport, _: argparse.Namespace, handle_si
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from pipecat.examples.run import main
|
||||
from pipecat.runner.local import main
|
||||
|
||||
main(run_example, transport_params=transport_params)
|
||||
|
||||
@@ -108,6 +108,6 @@ async def run_example(transport: BaseTransport, _: argparse.Namespace, handle_si
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from pipecat.examples.run import main
|
||||
from pipecat.runner.local import main
|
||||
|
||||
main(run_example, transport_params=transport_params)
|
||||
|
||||
@@ -110,6 +110,6 @@ async def run_example(transport: BaseTransport, _: argparse.Namespace, handle_si
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from pipecat.examples.run import main
|
||||
from pipecat.runner.local import main
|
||||
|
||||
main(run_example, transport_params=transport_params)
|
||||
|
||||
@@ -116,6 +116,6 @@ async def run_example(transport: BaseTransport, _: argparse.Namespace, handle_si
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from pipecat.examples.run import main
|
||||
from pipecat.runner.local import main
|
||||
|
||||
main(run_example, transport_params=transport_params)
|
||||
|
||||
@@ -109,6 +109,6 @@ async def run_example(transport: BaseTransport, _: argparse.Namespace, handle_si
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from pipecat.examples.run import main
|
||||
from pipecat.runner.local import main
|
||||
|
||||
main(run_example, transport_params=transport_params)
|
||||
|
||||
@@ -107,6 +107,6 @@ async def run_example(transport: BaseTransport, _: argparse.Namespace, handle_si
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from pipecat.examples.run import main
|
||||
from pipecat.runner.local import main
|
||||
|
||||
main(run_example, transport_params=transport_params)
|
||||
|
||||
@@ -112,6 +112,6 @@ async def run_example(transport: BaseTransport, _: argparse.Namespace, handle_si
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from pipecat.examples.run import main
|
||||
from pipecat.runner.local import main
|
||||
|
||||
main(run_example, transport_params=transport_params)
|
||||
|
||||
@@ -106,6 +106,6 @@ async def run_example(transport: BaseTransport, _: argparse.Namespace, handle_si
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from pipecat.examples.run import main
|
||||
from pipecat.runner.local import main
|
||||
|
||||
main(run_example, transport_params=transport_params)
|
||||
|
||||
@@ -103,6 +103,6 @@ async def run_example(transport: BaseTransport, _: argparse.Namespace, handle_si
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from pipecat.examples.run import main
|
||||
from pipecat.runner.local import main
|
||||
|
||||
main(run_example, transport_params=transport_params)
|
||||
|
||||
@@ -284,6 +284,6 @@ async def run_example(transport: BaseTransport, _: argparse.Namespace, handle_si
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from pipecat.examples.run import main
|
||||
from pipecat.runner.local import main
|
||||
|
||||
main(run_example, transport_params=transport_params)
|
||||
|
||||
@@ -107,6 +107,6 @@ async def run_example(transport: BaseTransport, _: argparse.Namespace, handle_si
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from pipecat.examples.run import main
|
||||
from pipecat.runner.local import main
|
||||
|
||||
main(run_example, transport_params=transport_params)
|
||||
|
||||
@@ -97,6 +97,6 @@ async def run_example(transport: BaseTransport, _: argparse.Namespace, handle_si
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from pipecat.examples.run import main
|
||||
from pipecat.runner.local import main
|
||||
|
||||
main(run_example, transport_params=transport_params)
|
||||
|
||||
@@ -111,6 +111,6 @@ async def run_example(transport: BaseTransport, _: argparse.Namespace, handle_si
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from pipecat.examples.run import main
|
||||
from pipecat.runner.local import main
|
||||
|
||||
main(run_example, transport_params=transport_params)
|
||||
|
||||
@@ -106,6 +106,6 @@ async def run_example(transport: BaseTransport, _: argparse.Namespace, handle_si
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from pipecat.examples.run import main
|
||||
from pipecat.runner.local import main
|
||||
|
||||
main(run_example, transport_params=transport_params)
|
||||
|
||||
@@ -109,6 +109,6 @@ async def run_example(transport: BaseTransport, _: argparse.Namespace, handle_si
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from pipecat.examples.run import main
|
||||
from pipecat.runner.local import main
|
||||
|
||||
main(run_example, transport_params=transport_params)
|
||||
|
||||
@@ -113,6 +113,6 @@ async def run_example(transport: BaseTransport, _: argparse.Namespace, handle_si
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from pipecat.examples.run import main
|
||||
from pipecat.runner.local import main
|
||||
|
||||
main(run_example, transport_params=transport_params)
|
||||
|
||||
@@ -112,6 +112,6 @@ async def run_example(transport: BaseTransport, _: argparse.Namespace, handle_si
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from pipecat.examples.run import main
|
||||
from pipecat.runner.local import main
|
||||
|
||||
main(run_example, transport_params=transport_params)
|
||||
|
||||
@@ -96,6 +96,6 @@ async def run_example(transport: BaseTransport, _: argparse.Namespace, handle_si
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from pipecat.examples.run import main
|
||||
from pipecat.runner.local import main
|
||||
|
||||
main(run_example, transport_params=transport_params)
|
||||
|
||||
@@ -11,7 +11,6 @@ import tkinter as tk
|
||||
from dotenv import load_dotenv
|
||||
from loguru import logger
|
||||
|
||||
from pipecat.examples.run import maybe_capture_participant_camera
|
||||
from pipecat.frames.frames import (
|
||||
Frame,
|
||||
InputAudioRawFrame,
|
||||
@@ -23,6 +22,7 @@ from pipecat.pipeline.pipeline import Pipeline
|
||||
from pipecat.pipeline.runner import PipelineRunner
|
||||
from pipecat.pipeline.task import PipelineParams, PipelineTask
|
||||
from pipecat.processors.frame_processor import FrameDirection, FrameProcessor
|
||||
from pipecat.runner.utils import maybe_capture_participant_camera
|
||||
from pipecat.transports.base_transport import BaseTransport, TransportParams
|
||||
from pipecat.transports.local.tk import TkLocalTransport, TkTransportParams
|
||||
from pipecat.transports.services.daily import DailyParams
|
||||
@@ -121,6 +121,6 @@ async def run_example(transport: BaseTransport, _: argparse.Namespace, handle_si
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from pipecat.examples.run import main
|
||||
from pipecat.runner.local import main
|
||||
|
||||
main(run_example, transport_params=transport_params)
|
||||
|
||||
@@ -110,6 +110,6 @@ async def run_example(transport: BaseTransport, _: argparse.Namespace, handle_si
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from pipecat.examples.run import main
|
||||
from pipecat.runner.local import main
|
||||
|
||||
main(run_example, transport_params=transport_params)
|
||||
|
||||
@@ -162,6 +162,6 @@ async def run_example(transport: BaseTransport, _: argparse.Namespace, handle_si
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from pipecat.examples.run import main
|
||||
from pipecat.runner.local import main
|
||||
|
||||
main(run_example, transport_params=transport_params)
|
||||
|
||||
@@ -12,7 +12,6 @@ from dotenv import load_dotenv
|
||||
from loguru import logger
|
||||
|
||||
from pipecat.audio.vad.silero import SileroVADAnalyzer
|
||||
from pipecat.examples.run import get_transport_client_id, maybe_capture_participant_camera
|
||||
from pipecat.frames.frames import Frame, TextFrame, UserImageRequestFrame
|
||||
from pipecat.pipeline.pipeline import Pipeline
|
||||
from pipecat.pipeline.runner import PipelineRunner
|
||||
@@ -20,6 +19,7 @@ from pipecat.pipeline.task import PipelineTask
|
||||
from pipecat.processors.aggregators.user_response import UserResponseAggregator
|
||||
from pipecat.processors.aggregators.vision_image_frame import VisionImageFrameAggregator
|
||||
from pipecat.processors.frame_processor import FrameDirection, FrameProcessor
|
||||
from pipecat.runner.utils import get_transport_client_id, maybe_capture_participant_camera
|
||||
from pipecat.services.cartesia.tts import CartesiaTTSService
|
||||
from pipecat.services.deepgram.stt import DeepgramSTTService
|
||||
from pipecat.services.moondream.vision import MoondreamService
|
||||
@@ -125,6 +125,6 @@ async def run_example(transport: BaseTransport, _: argparse.Namespace, handle_si
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from pipecat.examples.run import main
|
||||
from pipecat.runner.local import main
|
||||
|
||||
main(run_example, transport_params=transport_params)
|
||||
|
||||
@@ -12,7 +12,6 @@ from dotenv import load_dotenv
|
||||
from loguru import logger
|
||||
|
||||
from pipecat.audio.vad.silero import SileroVADAnalyzer
|
||||
from pipecat.examples.run import get_transport_client_id, maybe_capture_participant_camera
|
||||
from pipecat.frames.frames import Frame, TextFrame, UserImageRequestFrame
|
||||
from pipecat.pipeline.pipeline import Pipeline
|
||||
from pipecat.pipeline.runner import PipelineRunner
|
||||
@@ -20,6 +19,7 @@ from pipecat.pipeline.task import PipelineParams, PipelineTask
|
||||
from pipecat.processors.aggregators.user_response import UserResponseAggregator
|
||||
from pipecat.processors.aggregators.vision_image_frame import VisionImageFrameAggregator
|
||||
from pipecat.processors.frame_processor import FrameDirection, FrameProcessor
|
||||
from pipecat.runner.utils import get_transport_client_id, maybe_capture_participant_camera
|
||||
from pipecat.services.cartesia.tts import CartesiaTTSService
|
||||
from pipecat.services.deepgram.stt import DeepgramSTTService
|
||||
from pipecat.services.google.llm import GoogleLLMService
|
||||
@@ -131,6 +131,6 @@ async def run_example(transport: BaseTransport, _: argparse.Namespace, handle_si
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from pipecat.examples.run import main
|
||||
from pipecat.runner.local import main
|
||||
|
||||
main(run_example, transport_params=transport_params)
|
||||
|
||||
@@ -12,7 +12,6 @@ from dotenv import load_dotenv
|
||||
from loguru import logger
|
||||
|
||||
from pipecat.audio.vad.silero import SileroVADAnalyzer
|
||||
from pipecat.examples.run import get_transport_client_id, maybe_capture_participant_camera
|
||||
from pipecat.frames.frames import Frame, TextFrame, UserImageRequestFrame
|
||||
from pipecat.pipeline.pipeline import Pipeline
|
||||
from pipecat.pipeline.runner import PipelineRunner
|
||||
@@ -20,6 +19,7 @@ from pipecat.pipeline.task import PipelineParams, PipelineTask
|
||||
from pipecat.processors.aggregators.user_response import UserResponseAggregator
|
||||
from pipecat.processors.aggregators.vision_image_frame import VisionImageFrameAggregator
|
||||
from pipecat.processors.frame_processor import FrameDirection, FrameProcessor
|
||||
from pipecat.runner.utils import get_transport_client_id, maybe_capture_participant_camera
|
||||
from pipecat.services.cartesia.tts import CartesiaTTSService
|
||||
from pipecat.services.deepgram.stt import DeepgramSTTService
|
||||
from pipecat.services.openai.llm import OpenAILLMService
|
||||
@@ -131,6 +131,6 @@ async def run_example(transport: BaseTransport, _: argparse.Namespace, handle_si
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from pipecat.examples.run import main
|
||||
from pipecat.runner.local import main
|
||||
|
||||
main(run_example, transport_params=transport_params)
|
||||
|
||||
@@ -12,7 +12,6 @@ from dotenv import load_dotenv
|
||||
from loguru import logger
|
||||
|
||||
from pipecat.audio.vad.silero import SileroVADAnalyzer
|
||||
from pipecat.examples.run import get_transport_client_id, maybe_capture_participant_camera
|
||||
from pipecat.frames.frames import Frame, TextFrame, UserImageRequestFrame
|
||||
from pipecat.pipeline.pipeline import Pipeline
|
||||
from pipecat.pipeline.runner import PipelineRunner
|
||||
@@ -20,6 +19,7 @@ from pipecat.pipeline.task import PipelineParams, PipelineTask
|
||||
from pipecat.processors.aggregators.user_response import UserResponseAggregator
|
||||
from pipecat.processors.aggregators.vision_image_frame import VisionImageFrameAggregator
|
||||
from pipecat.processors.frame_processor import FrameDirection, FrameProcessor
|
||||
from pipecat.runner.utils import get_transport_client_id, maybe_capture_participant_camera
|
||||
from pipecat.services.anthropic.llm import AnthropicLLMService
|
||||
from pipecat.services.cartesia.tts import CartesiaTTSService
|
||||
from pipecat.services.deepgram.stt import DeepgramSTTService
|
||||
@@ -131,6 +131,6 @@ async def run_example(transport: BaseTransport, _: argparse.Namespace, handle_si
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from pipecat.examples.run import main
|
||||
from pipecat.runner.local import main
|
||||
|
||||
main(run_example, transport_params=transport_params)
|
||||
|
||||
@@ -72,6 +72,6 @@ async def run_example(transport: BaseTransport, _: argparse.Namespace, handle_si
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from pipecat.examples.run import main
|
||||
from pipecat.runner.local import main
|
||||
|
||||
main(run_example, transport_params=transport_params)
|
||||
|
||||
@@ -66,6 +66,6 @@ async def run_example(transport: BaseTransport, _: argparse.Namespace, handle_si
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from pipecat.examples.run import main
|
||||
from pipecat.runner.local import main
|
||||
|
||||
main(run_example, transport_params=transport_params)
|
||||
|
||||
@@ -66,6 +66,6 @@ async def run_example(transport: BaseTransport, _: argparse.Namespace, handle_si
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from pipecat.examples.run import main
|
||||
from pipecat.runner.local import main
|
||||
|
||||
main(run_example, transport_params=transport_params)
|
||||
|
||||
@@ -87,6 +87,6 @@ async def run_example(transport: BaseTransport, _: argparse.Namespace, handle_si
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from pipecat.examples.run import main
|
||||
from pipecat.runner.local import main
|
||||
|
||||
main(run_example, transport_params=transport_params)
|
||||
|
||||
@@ -65,6 +65,6 @@ async def run_example(transport: BaseTransport, _: argparse.Namespace, handle_si
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from pipecat.examples.run import main
|
||||
from pipecat.runner.local import main
|
||||
|
||||
main(run_example, transport_params=transport_params)
|
||||
|
||||
@@ -99,6 +99,6 @@ async def run_example(transport: BaseTransport, _: argparse.Namespace, handle_si
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from pipecat.examples.run import main
|
||||
from pipecat.runner.local import main
|
||||
|
||||
main(run_example, transport_params=transport_params)
|
||||
|
||||
@@ -66,6 +66,6 @@ async def run_example(transport: BaseTransport, _: argparse.Namespace, handle_si
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from pipecat.examples.run import main
|
||||
from pipecat.runner.local import main
|
||||
|
||||
main(run_example, transport_params=transport_params)
|
||||
|
||||
@@ -103,6 +103,6 @@ async def run_example(transport: BaseTransport, _: argparse.Namespace, handle_si
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from pipecat.examples.run import main
|
||||
from pipecat.runner.local import main
|
||||
|
||||
main(run_example, transport_params=transport_params)
|
||||
|
||||
@@ -84,6 +84,6 @@ async def run_example(transport: BaseTransport, _: argparse.Namespace, handle_si
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from pipecat.examples.run import main
|
||||
from pipecat.runner.local import main
|
||||
|
||||
main(run_example, transport_params=transport_params)
|
||||
|
||||
@@ -76,6 +76,6 @@ async def run_example(transport: BaseTransport, _: argparse.Namespace, handle_si
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from pipecat.examples.run import main
|
||||
from pipecat.runner.local import main
|
||||
|
||||
main(run_example, transport_params=transport_params)
|
||||
|
||||
@@ -156,6 +156,6 @@ async def run_example(transport: BaseTransport, _: argparse.Namespace, handle_si
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from pipecat.examples.run import main
|
||||
from pipecat.runner.local import main
|
||||
|
||||
main(run_example, transport_params=transport_params)
|
||||
|
||||
@@ -149,6 +149,6 @@ async def run_example(transport: BaseTransport, _: argparse.Namespace, handle_si
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from pipecat.examples.run import main
|
||||
from pipecat.runner.local import main
|
||||
|
||||
main(run_example, transport_params=transport_params)
|
||||
|
||||
@@ -14,11 +14,11 @@ from loguru import logger
|
||||
from pipecat.adapters.schemas.function_schema import FunctionSchema
|
||||
from pipecat.adapters.schemas.tools_schema import ToolsSchema
|
||||
from pipecat.audio.vad.silero import SileroVADAnalyzer
|
||||
from pipecat.examples.run import get_transport_client_id, maybe_capture_participant_camera
|
||||
from pipecat.pipeline.pipeline import Pipeline
|
||||
from pipecat.pipeline.runner import PipelineRunner
|
||||
from pipecat.pipeline.task import PipelineParams, PipelineTask
|
||||
from pipecat.processors.aggregators.openai_llm_context import OpenAILLMContext
|
||||
from pipecat.runner.utils import get_transport_client_id, maybe_capture_participant_camera
|
||||
from pipecat.services.anthropic.llm import AnthropicLLMService
|
||||
from pipecat.services.cartesia.tts import CartesiaTTSService
|
||||
from pipecat.services.deepgram.stt import DeepgramSTTService
|
||||
@@ -200,6 +200,6 @@ If you need to use a tool, simply use the tool. Do not tell the user the tool yo
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from pipecat.examples.run import main
|
||||
from pipecat.runner.local import main
|
||||
|
||||
main(run_example, transport_params=transport_params)
|
||||
|
||||
@@ -141,6 +141,6 @@ async def run_example(transport: BaseTransport, _: argparse.Namespace, handle_si
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from pipecat.examples.run import main
|
||||
from pipecat.runner.local import main
|
||||
|
||||
main(run_example, transport_params=transport_params)
|
||||
|
||||
@@ -14,11 +14,11 @@ from loguru import logger
|
||||
from pipecat.adapters.schemas.function_schema import FunctionSchema
|
||||
from pipecat.adapters.schemas.tools_schema import ToolsSchema
|
||||
from pipecat.audio.vad.silero import SileroVADAnalyzer
|
||||
from pipecat.examples.run import get_transport_client_id, maybe_capture_participant_camera
|
||||
from pipecat.pipeline.pipeline import Pipeline
|
||||
from pipecat.pipeline.runner import PipelineRunner
|
||||
from pipecat.pipeline.task import PipelineParams, PipelineTask
|
||||
from pipecat.processors.aggregators.openai_llm_context import OpenAILLMContext
|
||||
from pipecat.runner.utils import get_transport_client_id, maybe_capture_participant_camera
|
||||
from pipecat.services.cartesia.tts import CartesiaTTSService
|
||||
from pipecat.services.deepgram.stt import DeepgramSTTService
|
||||
from pipecat.services.llm_service import FunctionCallParams
|
||||
@@ -189,6 +189,6 @@ indicate you should use the get_image tool are:
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from pipecat.examples.run import main
|
||||
from pipecat.runner.local import main
|
||||
|
||||
main(run_example, transport_params=transport_params)
|
||||
|
||||
@@ -14,12 +14,12 @@ from loguru import logger
|
||||
from pipecat.adapters.schemas.function_schema import FunctionSchema
|
||||
from pipecat.adapters.schemas.tools_schema import ToolsSchema
|
||||
from pipecat.audio.vad.silero import SileroVADAnalyzer
|
||||
from pipecat.examples.run import get_transport_client_id, maybe_capture_participant_camera
|
||||
from pipecat.frames.frames import TTSSpeakFrame
|
||||
from pipecat.pipeline.pipeline import Pipeline
|
||||
from pipecat.pipeline.runner import PipelineRunner
|
||||
from pipecat.pipeline.task import PipelineParams, PipelineTask
|
||||
from pipecat.processors.aggregators.openai_llm_context import OpenAILLMContext
|
||||
from pipecat.runner.utils import get_transport_client_id, maybe_capture_participant_camera
|
||||
from pipecat.services.cartesia.tts import CartesiaTTSService
|
||||
from pipecat.services.deepgram.stt import DeepgramSTTService
|
||||
from pipecat.services.google.llm import GoogleLLMService
|
||||
@@ -211,6 +211,6 @@ indicate you should use the get_image tool are:
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from pipecat.examples.run import main
|
||||
from pipecat.runner.local import main
|
||||
|
||||
main(run_example, transport_params=transport_params)
|
||||
|
||||
@@ -143,6 +143,6 @@ async def run_example(transport: BaseTransport, _: argparse.Namespace, handle_si
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from pipecat.examples.run import main
|
||||
from pipecat.runner.local import main
|
||||
|
||||
main(run_example, transport_params=transport_params)
|
||||
|
||||
@@ -133,6 +133,6 @@ async def run_example(transport: BaseTransport, _: argparse.Namespace, handle_si
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from pipecat.examples.run import main
|
||||
from pipecat.runner.local import main
|
||||
|
||||
main(run_example, transport_params=transport_params)
|
||||
|
||||
@@ -142,6 +142,6 @@ async def run_example(transport: BaseTransport, _: argparse.Namespace, handle_si
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from pipecat.examples.run import main
|
||||
from pipecat.runner.local import main
|
||||
|
||||
main(run_example, transport_params=transport_params)
|
||||
|
||||
@@ -141,6 +141,6 @@ async def run_example(transport: BaseTransport, _: argparse.Namespace, handle_si
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from pipecat.examples.run import main
|
||||
from pipecat.runner.local import main
|
||||
|
||||
main(run_example, transport_params=transport_params)
|
||||
|
||||
@@ -139,6 +139,6 @@ async def run_example(transport: BaseTransport, _: argparse.Namespace, handle_si
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from pipecat.examples.run import main
|
||||
from pipecat.runner.local import main
|
||||
|
||||
main(run_example, transport_params=transport_params)
|
||||
|
||||
@@ -148,6 +148,6 @@ Start by asking me for my location. Then, use 'get_weather_current' to give me a
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from pipecat.examples.run import main
|
||||
from pipecat.runner.local import main
|
||||
|
||||
main(run_example, transport_params=transport_params)
|
||||
|
||||
@@ -148,6 +148,6 @@ Start by asking me for my location. Then, use 'get_weather_current' to give me a
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from pipecat.examples.run import main
|
||||
from pipecat.runner.local import main
|
||||
|
||||
main(run_example, transport_params=transport_params)
|
||||
|
||||
@@ -142,6 +142,6 @@ async def run_example(transport: BaseTransport, _: argparse.Namespace, handle_si
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from pipecat.examples.run import main
|
||||
from pipecat.runner.local import main
|
||||
|
||||
main(run_example, transport_params=transport_params)
|
||||
|
||||
@@ -112,6 +112,6 @@ async def run_example(transport: BaseTransport, _: argparse.Namespace, handle_si
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from pipecat.examples.run import main
|
||||
from pipecat.runner.local import main
|
||||
|
||||
main(run_example, transport_params=transport_params)
|
||||
|
||||
@@ -138,6 +138,6 @@ async def run_example(transport: BaseTransport, _: argparse.Namespace, handle_si
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from pipecat.examples.run import main
|
||||
from pipecat.runner.local import main
|
||||
|
||||
main(run_example, transport_params=transport_params)
|
||||
|
||||
@@ -144,6 +144,6 @@ async def run_example(transport: BaseTransport, _: argparse.Namespace, handle_si
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from pipecat.examples.run import main
|
||||
from pipecat.runner.local import main
|
||||
|
||||
main(run_example, transport_params=transport_params)
|
||||
|
||||
@@ -140,6 +140,6 @@ async def run_example(transport: BaseTransport, _: argparse.Namespace, handle_si
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from pipecat.examples.run import main
|
||||
from pipecat.runner.local import main
|
||||
|
||||
main(run_example, transport_params=transport_params)
|
||||
|
||||
@@ -157,6 +157,6 @@ async def run_example(transport: BaseTransport, _: argparse.Namespace, handle_si
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from pipecat.examples.run import main
|
||||
from pipecat.runner.local import main
|
||||
|
||||
main(run_example, transport_params=transport_params)
|
||||
|
||||
@@ -147,6 +147,6 @@ async def run_example(transport: BaseTransport, _: argparse.Namespace, handle_si
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from pipecat.examples.run import main
|
||||
from pipecat.runner.local import main
|
||||
|
||||
main(run_example, transport_params=transport_params)
|
||||
|
||||
@@ -141,6 +141,6 @@ async def run_example(transport: BaseTransport, _: argparse.Namespace, handle_si
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from pipecat.examples.run import main
|
||||
from pipecat.runner.local import main
|
||||
|
||||
main(run_example, transport_params=transport_params)
|
||||
|
||||
@@ -157,6 +157,6 @@ async def run_example(transport: BaseTransport, _: argparse.Namespace, handle_si
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from pipecat.examples.run import main
|
||||
from pipecat.runner.local import main
|
||||
|
||||
main(run_example, transport_params=transport_params)
|
||||
|
||||
@@ -178,6 +178,6 @@ async def run_example(transport: BaseTransport, _: argparse.Namespace, handle_si
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from pipecat.examples.run import main
|
||||
from pipecat.runner.local import main
|
||||
|
||||
main(run_example, transport_params=transport_params)
|
||||
|
||||
@@ -166,6 +166,6 @@ async def run_example(transport: BaseTransport, _: argparse.Namespace, handle_si
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from pipecat.examples.run import main
|
||||
from pipecat.runner.local import main
|
||||
|
||||
main(run_example, transport_params=transport_params)
|
||||
|
||||
@@ -143,6 +143,6 @@ async def run_example(transport: BaseTransport, _: argparse.Namespace, handle_si
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from pipecat.examples.run import main
|
||||
from pipecat.runner.local import main
|
||||
|
||||
main(run_example, transport_params=transport_params)
|
||||
|
||||
@@ -140,6 +140,6 @@ async def run_example(transport: BaseTransport, _: argparse.Namespace, handle_si
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from pipecat.examples.run import main
|
||||
from pipecat.runner.local import main
|
||||
|
||||
main(run_example, transport_params=transport_params)
|
||||
|
||||
@@ -66,7 +66,7 @@ async def run_example(transport: BaseTransport, args: argparse.Namespace, handle
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from pipecat.examples.run import main
|
||||
from pipecat.runner.local import main
|
||||
|
||||
parser = argparse.ArgumentParser(description="Pipecat Bot Runner")
|
||||
parser.add_argument("-i", "--input", type=str, required=True, help="Input video file")
|
||||
|
||||
@@ -62,6 +62,6 @@ async def run_example(transport: BaseTransport, _: argparse.Namespace, handle_si
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from pipecat.examples.run import main
|
||||
from pipecat.runner.local import main
|
||||
|
||||
main(run_example, transport_params=transport_params)
|
||||
|
||||
@@ -217,6 +217,6 @@ Remember, your responses should be short. Just one or two sentences, usually."""
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from pipecat.examples.run import main
|
||||
from pipecat.runner.local import main
|
||||
|
||||
main(run_example, transport_params=transport_params)
|
||||
|
||||
@@ -201,6 +201,6 @@ Remember, your responses should be short. Just one or two sentences, usually."""
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from pipecat.examples.run import main
|
||||
from pipecat.runner.local import main
|
||||
|
||||
main(run_example, transport_params=transport_params)
|
||||
|
||||
@@ -245,6 +245,6 @@ async def run_example(transport: BaseTransport, _: argparse.Namespace, handle_si
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from pipecat.examples.run import main
|
||||
from pipecat.runner.local import main
|
||||
|
||||
main(run_example, transport_params=transport_params)
|
||||
|
||||
@@ -255,6 +255,6 @@ Remember, your responses should be short. Just one or two sentences, usually."""
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from pipecat.examples.run import main
|
||||
from pipecat.runner.local import main
|
||||
|
||||
main(run_example, transport_params=transport_params)
|
||||
|
||||
@@ -244,6 +244,6 @@ async def run_example(transport: BaseTransport, _: argparse.Namespace, handle_si
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from pipecat.examples.run import main
|
||||
from pipecat.runner.local import main
|
||||
|
||||
main(run_example, transport_params=transport_params)
|
||||
|
||||
@@ -15,13 +15,13 @@ from loguru import logger
|
||||
|
||||
from pipecat.audio.vad.silero import SileroVADAnalyzer
|
||||
from pipecat.audio.vad.vad_analyzer import VADParams
|
||||
from pipecat.examples.run import get_transport_client_id, maybe_capture_participant_camera
|
||||
from pipecat.pipeline.pipeline import Pipeline
|
||||
from pipecat.pipeline.runner import PipelineRunner
|
||||
from pipecat.pipeline.task import PipelineParams, PipelineTask
|
||||
from pipecat.processors.aggregators.openai_llm_context import (
|
||||
OpenAILLMContext,
|
||||
)
|
||||
from pipecat.runner.utils import get_transport_client_id, maybe_capture_participant_camera
|
||||
from pipecat.services.cartesia.tts import CartesiaTTSService
|
||||
from pipecat.services.deepgram.stt import DeepgramSTTService
|
||||
from pipecat.services.google.llm import GoogleLLMService
|
||||
@@ -303,6 +303,6 @@ async def run_example(transport: BaseTransport, _: argparse.Namespace, handle_si
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from pipecat.examples.run import main
|
||||
from pipecat.runner.local import main
|
||||
|
||||
main(run_example, transport_params=transport_params)
|
||||
|
||||
@@ -268,6 +268,6 @@ async def run_example(transport: BaseTransport, _: argparse.Namespace, handle_si
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from pipecat.examples.run import main
|
||||
from pipecat.runner.local import main
|
||||
|
||||
main(run_example, transport_params=transport_params)
|
||||
|
||||
@@ -124,6 +124,6 @@ async def run_example(transport: BaseTransport, _: argparse.Namespace, handle_si
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from pipecat.examples.run import main
|
||||
from pipecat.runner.local import main
|
||||
|
||||
main(run_example, transport_params=transport_params)
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user