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__)