From f86c3da5c3f068bd073a5957ef7462ac35ac662d Mon Sep 17 00:00:00 2001 From: digitallysavvy Date: Sat, 28 Sep 2024 13:21:02 -0400 Subject: [PATCH] code updates --- shared/open-ai-integration/quickstart.mdx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/shared/open-ai-integration/quickstart.mdx b/shared/open-ai-integration/quickstart.mdx index bbea06a86..c7d810a87 100644 --- a/shared/open-ai-integration/quickstart.mdx +++ b/shared/open-ai-integration/quickstart.mdx @@ -166,7 +166,7 @@ from realtimeapi.client import RealtimeApiClient from realtimeapi.util import SAMPLE_RATE, CHANNELS from agora_realtime_ai_api.rtc import Channel, ChatMessage, RtcEngine, RtcOptions -from .parse_args import parse_args_realtimekit +from parse_args import parse_args_realtimekit logger = logging.getLogger(__name__) @@ -452,7 +452,7 @@ The `setup_and_run_agent` method connects to an Agora channel using `RtcEngine`, The constructor for `RealtimeKitAgent` sets up the OpenAI client, optional tools, and Agora channel to manage real-time audio communication. In `agent.py`, add the following code after the `setup_and_run_agent` method: ```python -@classmethod + @classmethod async def entry_point( cls, *, @@ -942,7 +942,7 @@ from realtimeapi.client import RealtimeApiClient from realtimeapi.util import SAMPLE_RATE, CHANNELS from agora_realtime_ai_api.rtc import Channel, ChatMessage, RtcEngine, RtcOptions -from .parse_args import parse_args_realtimekit +from parse_args import parse_args_realtimekit logger = logging.getLogger(__name__)