diff --git a/src/examples/foundational/01-say-one-thing.py b/src/examples/foundational/01-say-one-thing.py index eb78810cf..051702f54 100644 --- a/src/examples/foundational/01-say-one-thing.py +++ b/src/examples/foundational/01-say-one-thing.py @@ -6,7 +6,7 @@ from dailyai.services.elevenlabs_ai_service import ElevenLabsTTSService from dailyai.services.playht_ai_service import PlayHTAIService -from examples.foundational.support.runner import configure +from examples.support.runner import configure async def main(room_url): diff --git a/src/examples/foundational/02-llm-say-one-thing.py b/src/examples/foundational/02-llm-say-one-thing.py index a97b63fe6..5c4e27eb0 100644 --- a/src/examples/foundational/02-llm-say-one-thing.py +++ b/src/examples/foundational/02-llm-say-one-thing.py @@ -9,7 +9,7 @@ from dailyai.services.elevenlabs_ai_service import ElevenLabsTTSService from dailyai.services.deepgram_ai_services import DeepgramTTSService from dailyai.services.open_ai_services import OpenAILLMService -from examples.foundational.support.runner import configure +from examples.support.runner import configure async def main(room_url): diff --git a/src/examples/foundational/03-still-frame.py b/src/examples/foundational/03-still-frame.py index cdafe5132..f2b3ecced 100644 --- a/src/examples/foundational/03-still-frame.py +++ b/src/examples/foundational/03-still-frame.py @@ -8,7 +8,7 @@ from dailyai.services.open_ai_services import OpenAIImageGenService from dailyai.services.azure_ai_services import AzureImageGenServiceREST -from examples.foundational.support.runner import configure +from examples.support.runner import configure local_joined = False participant_joined = False diff --git a/src/examples/foundational/04-utterance-and-speech.py b/src/examples/foundational/04-utterance-and-speech.py index 242a5c21c..f7021aef0 100644 --- a/src/examples/foundational/04-utterance-and-speech.py +++ b/src/examples/foundational/04-utterance-and-speech.py @@ -9,7 +9,7 @@ from dailyai.pipeline.frames import EndFrame, LLMMessagesQueueFrame from dailyai.services.elevenlabs_ai_service import ElevenLabsTTSService -from examples.foundational.support.runner import configure +from examples.support.runner import configure async def main(room_url: str): diff --git a/src/examples/foundational/05-sync-speech-and-image.py b/src/examples/foundational/05-sync-speech-and-image.py index cb72642d1..63fa7da9c 100644 --- a/src/examples/foundational/05-sync-speech-and-image.py +++ b/src/examples/foundational/05-sync-speech-and-image.py @@ -12,7 +12,7 @@ from dailyai.services.fal_ai_services import FalImageGenService from dailyai.services.open_ai_services import OpenAIImageGenService -from examples.foundational.support.runner import configure +from examples.support.runner import configure async def main(room_url): diff --git a/src/examples/foundational/06-listen-and-respond.py b/src/examples/foundational/06-listen-and-respond.py index 90fcfb396..1f10918f0 100644 --- a/src/examples/foundational/06-listen-and-respond.py +++ b/src/examples/foundational/06-listen-and-respond.py @@ -6,7 +6,7 @@ from dailyai.services.azure_ai_services import AzureLLMService, AzureTTSService from dailyai.services.ai_services import FrameLogger from dailyai.pipeline.aggregators import LLMAssistantContextAggregator, LLMUserContextAggregator -from examples.foundational.support.runner import configure +from examples.support.runner import configure async def main(room_url: str, token): diff --git a/src/examples/foundational/06a-image-sync.py b/src/examples/foundational/06a-image-sync.py index 71ac74310..a68308285 100644 --- a/src/examples/foundational/06a-image-sync.py +++ b/src/examples/foundational/06a-image-sync.py @@ -16,7 +16,7 @@ from dailyai.pipeline.aggregators import LLMAssistantContextAggregator, LLMUserContextAggregator from dailyai.services.fal_ai_services import FalImageGenService -from examples.foundational.support.runner import configure +from examples.support.runner import configure class ImageSyncAggregator(AIService): diff --git a/src/examples/foundational/08-bots-arguing.py b/src/examples/foundational/08-bots-arguing.py index fea687bde..2d7fa9073 100644 --- a/src/examples/foundational/08-bots-arguing.py +++ b/src/examples/foundational/08-bots-arguing.py @@ -8,7 +8,7 @@ from dailyai.services.fal_ai_services import FalImageGenService from dailyai.pipeline.frames import AudioFrame, ImageFrame -from examples.foundational.support.runner import configure +from examples.support.runner import configure async def main(room_url: str): diff --git a/src/examples/foundational/10-wake-word.py b/src/examples/foundational/10-wake-word.py index 8ace28e48..e5e164ef4 100644 --- a/src/examples/foundational/10-wake-word.py +++ b/src/examples/foundational/10-wake-word.py @@ -19,7 +19,7 @@ ) from dailyai.services.ai_services import AIService -from examples.foundational.support.runner import configure +from examples.support.runner import configure sprites = {} diff --git a/src/examples/foundational/11-sound-effects.py b/src/examples/foundational/11-sound-effects.py index d8e7b27a3..16655c54b 100644 --- a/src/examples/foundational/11-sound-effects.py +++ b/src/examples/foundational/11-sound-effects.py @@ -12,7 +12,7 @@ from dailyai.pipeline.frames import Frame, AudioFrame, LLMResponseEndFrame, LLMMessagesQueueFrame from typing import AsyncGenerator -from examples.foundational.support.runner import configure +from examples.support.runner import configure logging.basicConfig(format=f"%(levelno)s %(asctime)s %(message)s") # or whatever logger = logging.getLogger("dailyai") diff --git a/src/examples/foundational/13-whisper-transcription.py b/src/examples/foundational/13-whisper-transcription.py index 726616c5f..ade121f6c 100644 --- a/src/examples/foundational/13-whisper-transcription.py +++ b/src/examples/foundational/13-whisper-transcription.py @@ -3,7 +3,7 @@ from dailyai.services.daily_transport_service import DailyTransportService from dailyai.services.whisper_ai_services import WhisperSTTService -from examples.foundational.support.runner import configure +from examples.support.runner import configure async def main(room_url: str): diff --git a/src/examples/internal/11a-dial-out.py b/src/examples/internal/11a-dial-out.py index e72b90fcb..9cdad8f84 100644 --- a/src/examples/internal/11a-dial-out.py +++ b/src/examples/internal/11a-dial-out.py @@ -10,7 +10,7 @@ from dailyai.pipeline.frames import Frame, AudioFrame, LLMResponseEndFrame, LLMMessagesQueueFrame from typing import AsyncGenerator -from examples.foundational.support.runner import configure +from examples.support.runner import configure sounds = {} sound_files = [ diff --git a/src/examples/foundational/14-patient-intake.py b/src/examples/starter-apps/patient-intake.py similarity index 99% rename from src/examples/foundational/14-patient-intake.py rename to src/examples/starter-apps/patient-intake.py index ec2c70f74..713af084f 100644 --- a/src/examples/foundational/14-patient-intake.py +++ b/src/examples/starter-apps/patient-intake.py @@ -8,6 +8,9 @@ from typing import AsyncGenerator from PIL import Image +import sys +print('\n'.join(sys.path)) + from dailyai.pipeline.pipeline import Pipeline from dailyai.services.daily_transport_service import DailyTransportService from dailyai.services.azure_ai_services import AzureLLMService, AzureTTSService @@ -15,7 +18,7 @@ from dailyai.services.deepgram_ai_services import DeepgramTTSService from dailyai.services.elevenlabs_ai_service import ElevenLabsTTSService from dailyai.pipeline.aggregators import LLMAssistantContextAggregator, LLMContextAggregator, LLMUserContextAggregator, UserResponseAggregator, LLMResponseAggregator -from support.runner import configure +from examples.support.runner import configure from dailyai.pipeline.frames import LLMMessagesQueueFrame, TranscriptionQueueFrame, Frame, TextFrame, LLMFunctionCallFrame, LLMFunctionStartFrame, LLMResponseEndFrame, StartFrame, AudioFrame, SpriteFrame, ImageFrame from dailyai.services.ai_services import FrameLogger, AIService diff --git a/src/examples/foundational/support/runner.py b/src/examples/support/runner.py similarity index 100% rename from src/examples/foundational/support/runner.py rename to src/examples/support/runner.py