Coder Social home page Coder Social logo

Comments (5)

kazrael2119 avatar kazrael2119 commented on August 18, 2024 1

will check

from azure-sdk-for-js.

kazrael2119 avatar kazrael2119 commented on August 18, 2024

Hi @polinaouk ,
Here is the swagger example provided by the service team, we can see all the endpoints from response are created with location, I will try to test whether we can create the endpoint with service name

And you said "It works fine if I do it manually in azure portal." I don't know the steps to create any open ai resources as I have no permission to do that. You can give some screenshot of the endpoint creation in portal. I will ask @MaryGao whether we need add "Service Atthention" label to make service team aware this issue.

from azure-sdk-for-js.

polinaouk avatar polinaouk commented on August 18, 2024

Hello @kazrael2119
Thank you for your response.
I see your point about the swagger. It is just quite unexpected behaviour as all other services in Azure which expose endpoints for example like App service, they create endpoints based on service name.

Additionally, why then is it different through Azure portal? Would really appreciate more clarity on this please.

Please find attached the prt screens below with portal experience:
image

image

from azure-sdk-for-js.

kazrael2119 avatar kazrael2119 commented on August 18, 2024

@polinaouk
In sdk code there's a optional parameter name customSubDomainName
So could you try to use the following code to create a account?

const account: Account = {
                kind:  "OpenAI",
                location: "swedencentral",
                sku: { name: "S0" },
                properties:{
                    customSubDomainName:""
                }
            };

            const openAiAccount = await cognitiveServicesManagementClient.accounts.beginCreateAndWait(
                "myFakeRGName",
                "testMondayoai",
                account,
            );

from azure-sdk-for-js.

polinaouk avatar polinaouk commented on August 18, 2024

@kazrael2119 thank you so much for your help! it worked

from azure-sdk-for-js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.