Skip to content

Commit

Permalink
moved patient intake and example runner (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
chadbailey59 authored Mar 8, 2024
1 parent 0db8a51 commit 824df8c
Show file tree
Hide file tree
Showing 14 changed files with 16 additions and 13 deletions.
2 changes: 1 addition & 1 deletion src/examples/foundational/01-say-one-thing.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
2 changes: 1 addition & 1 deletion src/examples/foundational/02-llm-say-one-thing.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
2 changes: 1 addition & 1 deletion src/examples/foundational/03-still-frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/examples/foundational/04-utterance-and-speech.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
2 changes: 1 addition & 1 deletion src/examples/foundational/05-sync-speech-and-image.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
2 changes: 1 addition & 1 deletion src/examples/foundational/06-listen-and-respond.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
2 changes: 1 addition & 1 deletion src/examples/foundational/06a-image-sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
2 changes: 1 addition & 1 deletion src/examples/foundational/08-bots-arguing.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
2 changes: 1 addition & 1 deletion src/examples/foundational/10-wake-word.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {}
Expand Down
2 changes: 1 addition & 1 deletion src/examples/foundational/11-sound-effects.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
2 changes: 1 addition & 1 deletion src/examples/foundational/13-whisper-transcription.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
2 changes: 1 addition & 1 deletion src/examples/internal/11a-dial-out.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,17 @@
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
from dailyai.services.open_ai_services import OpenAILLMService
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

Expand Down
File renamed without changes.

0 comments on commit 824df8c

Please sign in to comment.