Giter Club home page Giter Club logo

Comments (3)

chjinche avatar chjinche commented on May 24, 2024

Hi @cedricvidal, both endpoint_name and deployment_name support manual input, so you can fill yourself and then can run. Here is my try:

1709782168(1)

The error you're seeing is just auto listing failure, this is because the tool 'Open Model LLM' depends tightly on azure resources, which means you need to deploy the endpoint/deployments in azure portal in advance. To use them in local, you may need to configure azure config first to enable call azure api to get back the endpoints list. Here are detailed steps:

1.Complete the prerequisites mentioned in the tool doc and make sure you deployed the model.
2.Install azure dependencies.
pip install azure-ai-ml
3.Login to azure and set ws triple as default

az login
az account set --subscription <subscription_id>
az configure --defaults group=<resource_group_name> workspace=<workspace_name>

After above setting, you may see the error disappear. For more details about how to connect azure from local, you could see the doc .

Involved the tool contributor @prakharg-msft @dans-msft, could you please add specific instructions of "how to use this tool in local" to 'Open Model LLM' tool doc?

from promptflow.

cedricvidal avatar cedricvidal commented on May 24, 2024

Thank you @chjinche for the clarification. Indeed, I had run the first two commands but I wasn't aware about the 3rd. Running the following as suggested solved the problem.

az configure --defaults group=<resource_group_name> workspace=<workspace_name>

In addition to adding to the doc, you might want to make it clearer in the Visual editor what the problem is and how to solve it. Or to automatically ask the user to select a default group and workspace if those are not already selected. It would make for an easier experience.

from promptflow.

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.