akshata29 / entaoai

Chat and Ask on your own data. Accelerator to quickly upload your own enterprise data and use OpenAI services to chat to that uploaded data and ask questions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Deploying with azd up is not creating full resources

Mshz2 opened this issue · comments

Hi, thanks for sharing your project with us. I tried to clone, and deploy the project by following commands of azd init, azd up. And I can access my app main page. But I noticed not all resources are fully deployed. For instance if I open main.bicep and go end of line, we see:
image

Which means only app service plan, app service, function app, cognitive search, two storage accounts, and Azure openai services are created. Is there anyway that I could make sure all resources are fully deployed?

Best

Hello @Mshz2 in the current state I am not supporting or have update the deployment using azd. Instead the recommended approach is as described in "Getting Started" section on using "Deploy to Azure" button for infrastructure deployment and using the Github Actions to deploy the code for both App and Azure Functions. Let me know if you run into any issues there.

Dear @akshata29, thanks for the feedback. I have followed the Deploy to Azure botton, and all services and resources are deployed, unfortunately except a resource called chatpdfcustomfunc/default.

image

{"code":"BadRequest","message":"Encountered an error (InternalServerError) from host runtime.","details":[{"message":"Encountered an error (InternalServerError) from host runtime."},{"code":"BadRequest"},{}]}

I read your suggestion in other tickets that says to redeploy, but I keep getting deployment failed because of exisiting resources. like Parameter with name SQLVISUAL_URL already exists.
image

I looked at azuredeploy.json, actually there was duplicate of

{
  "name": "SQLVISUAL_URL",
  "value": "[concat('https://', variables('funcAppName'), '.azurewebsites.net/api/SqlVisual?code=', listkeys(concat(resourceId('Microsoft.Web/sites', variables('funcAppName')), '/host/default'), '2018-11-01').functionKeys.default)]" 
 },

issue solved by deletion of duplicated one.