Comments (3)
Hi @cedricvidal, both endpoint_name
and deployment_name
support manual input, so you can fill yourself and then can run. Here is my try:
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.
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)
- [BUG] Cannot use load_flow in AzureML prompt flow HOT 1
- [BUG] DECENT DOCUMENTATIONS HOT 2
- Consider upgrading cryptography up to 42.0.5 HOT 1
- [Contribution Request] Remove text-davinci-003 model usage in example HOT 1
- [Feature Request] Track runs in self deployed MLFlow server HOT 1
- [BUG] [VSCode Extension] HOT 1
- [BUG] - promptflow executor raises KeyError in _update_operation_context HOT 3
- Need http/https/socks proxy to requests openai API HOT 3
- [Feature Request] Support directly specifying the input data of a flow in Web UI for batch run instead of specifying it through an additional evaluate flow. HOT 1
- Move towards the LLM OpenTelemetry convention
- [Feature Request] Get the input count and the success/fail count of a node in a batch run by python code HOT 4
- [BUG] broken flow_file when use default working_dir in Flow.from_yaml()
- Fix pagination of all list APIs when applying before only
- Recursive flows HOT 5
- [BUG] Error in View output page HOT 3
- Execute multi-LLM promptflow with local runtime, flow execution failure - low timeout/retry settings HOT 2
- [BUG] Issue in Batch Run Settings HOT 14
- Fix docs cli example to give the promised run details table output HOT 1
- [BUG] EvaluationRun Failed HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from promptflow.