I am deploying the Azure "Vector-Search-AI-Assistant" github code Using open AI service but facing multiple issues

Jay Prakash Vishvakarma 0 Reputation points
2024-05-23T08:11:20.41+00:00

GithubURL: https://github.com/Azure/Vector-Search-AI-Assistant/issues

After github url I am following mentioned document in the github which we are deploying using azure container apps . I have faced the issues mentioned below.

ERRORS:

User's image

1.This is the first Issue I got and I tried to resolve this by replacing the / into - but getting multiple new issuesUser's image

2.The issue comes after resolving the first issue

ERROR: error executing step command 'provision': deployment failed: error deploying infrastructure: deploying to subscription: Deployment Error Details: InvalidTemplate: Deployment template validation failed: 'The template resource 'kv-73sevvsljywq4-openai-apikey' for type 'Microsoft.KeyVault/vaults/secrets' at line '1' and column '776' has incorrect segment lengths. A nested resource type must have identical number of segments as its resource name. A root resource type must have segment length one greater than its resource name. Please see https://aka.ms/arm-syntax-resources for usage details.'.

We are stuck here so please provide me solution
Can you please help me out to resolve the template validation error by verifying the code once again

Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
2,441 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. AshokPeddakotla-MSFT 29,816 Reputation points
    2024-05-23T10:47:29.4266667+00:00

    Jay Prakash Vishvakarma Greetings!

    It is possible that the resource is defined incorrectly in the ARM template, which is causing the issue.

    You may need to review the ARM template and ensure that the resource is defined correctly with the correct segment lengths. Try changing the name kv-73sevvsljywq4-openai-apikey without "/" and try to avoid long names.

    Did you check https://aka.ms/arm-syntax-resources already?

    I would suggest you raise an issue on the same repo with complete details for further assistance.

    Thanks for your understanding.

    0 comments No comments