Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

code updates #1590

Merged
merged 1 commit into from
Sep 29, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions shared/open-ai-integration/quickstart.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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__)

Expand Down Expand Up @@ -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,
*,
Expand Down Expand Up @@ -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__)

Expand Down
Loading