question

AnishGupta-7692 avatar image
0 Votes"
AnishGupta-7692 asked AnishGupta-7692 commented

Bot Service unable to call API that's deployed as a private endpoint

I have deployed a bot using the Bot Service, LUIS and QnA Maker. One of the requirements of this bot is to call an API and process its response. But since the API is deployed as a private endpoint, the bot is unable to access it and get the response. One of the solutions I have come across is to integrate the Bot Service with the VNet. Since the bot is tied with other services like LUIS, QnA Maker, I am not sure if all services need to be integrated with the VNet. Has anyone faced similar issue and was able to resolve it?

azure-virtual-networkazure-cognitive-services
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

ramr-msft avatar image
0 Votes"
ramr-msft answered AnishGupta-7692 commented

@AnishGupta-7692 Thanks for the question. Can you please share the bot that you are trying. We have forwarded to the product team to confirm on the API that's deployed as a private endpoint.

Here is the link to Build an enterprise-grade conversational bot: https://docs.microsoft.com/en-us/azure/architecture/reference-architectures/ai/conversational-bot

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@ramr-msft Thanks for your response. I have designed the bot using the bot framework composer tool and deployed it on Azure using the publishing profile option. Do you want to know the bot's name? I am not sure if I would be able to share specific details over this platform.
I am trying to query an API (deployed as a private endpoint. Accessible within the company network) inside the bot. When the bot is running locally on my system that's connected to the company network, it is able to query that API. But once it's deployed on the cloud, the bot is unable to call the API since the bot is not deployed inside the network.
The bot is linked with LUIS, QnA Maker services making it very difficult for the networking team to figure out the infrastructure around its deployment.

0 Votes 0 ·