-
Notifications
You must be signed in to change notification settings - Fork 172
Open
Labels
Description
I am trying to use RealtimeAgent with Azure OpenAI .
const agent = new RealtimeAgent({
name: "Voice Agent",
model: new OpenAIChatCompletionsModel({
client,
model: process.env.AZURE_OPENAI_DEPLOYMENT || "gpt-4o-realtime-preview",
}),
instructions:
"You are a voice agent that can answer questions and help with tasks.",
handoffs: [weatherAgent],
});
What is the right way to call Azure OpenAI ? i am able to get the empirical tokens.