Hi Intikhab Hussain,
When using the Azure Voice Live API outside of Azure AI Foundry, the voice session does not automatically connect to the agent runtime or its knowledge sources. This is why testing within AI Foundry works as expected, but your custom application does not leverage the agent’s knowledge. To fix this, you need to explicitly bind the Voice Live API session to the agent by creating a session through the Agent Runtime API and passing the agentId
and, if required, a threadId
. This ensures that the voice session is routed through the agent runtime, enabling it to access the same knowledge sources that are available in the Foundry environment. Without this binding, the Voice Live API will only interact with the base model and will not include the agent’s knowledge.