Comments (6)
from promptflow.
Thanks @ZhiliangWu, we will have a look about it.
But basically, azure-cosmos
released 4.0.0
in 2020, it's not a common practice to do backward compatibility support for such old version.
from promptflow.
Hello @ZhiliangWu, did a few investigations about it.
- Seems like even use latest
azure-cosmos
version (4.6.0
), many azure-cli's basic functions still could work. (Such as az login, list/create resource group, create vm) You still could use it for some cases. - From 3.x to 4.x,
azure-cosmos
introduced many breaking changes for interface, it needs a lot of effort to support 3.x version. azure-cosmos
released4.0.0
in 2020, it's a rather old version.
So, we don't plan to do compatibility support as you ask, please contact azure-cli
about upgrading their dependency.
from promptflow.
Hello @ZhiliangWu, there is one workaround for your situation.
You may install azure-cli
by pipx install azure-cli
.
Then you don't need to add it in your poetry environment but also could use az
commands in it.
Basically, pipx installs applications in an isolated environment and makes them globally available.
You may find more details here:
https://github.com/pypa/pipx#how-is-it-different-from-pip
from promptflow.
@huaiyan Yes, that's a possible workaround if there is really no plan to update azure-cli
being compatible with promptflow
. The disadvantage is that we have to manually pinning the azure-cli
version through pipx
commands instead of managed and resolved by poetry
centrally.
from promptflow.
Hi, we're sending this friendly reminder because we haven't heard back from you in 30 days. We need more information about this issue to help address it. Please be sure to give us your input. If we don't hear back from you within 7 days of this comment, the issue will be automatically closed. Thank you!
from promptflow.
Related Issues (20)
- [BUG] [VSCode Extension] HOT 2
- How can I save global variables using Promptflow HOT 2
- [BUG] Types for promptflow-evals evaluator classes HOT 2
- [Feature Request] Add docstrings for constructors
- [Feature Request] Provide example of evaluator_config for evaluate HOT 4
- [Feature Request] Allow Path objects for evaluate data and output_path parameters HOT 2
- [Feature Request] Allow the data parameter of evaluate to take a list HOT 4
- [Feature Request] Allow the target function in evaluate to be a local function HOT 4
- [Feature Request] Improve compatibility between PromptFlow and Python modules with relative imports HOT 7
- [BUG] can not build docker image
- [BUG] API KEY is not extracted from environment variables during connection creation with promptflow 1.10.1 HOT 4
- Add Support for Image Generation with AzureOpenAI HOT 1
- [BUG] Fallback to DefaultAzureCredential isn't compatible with AzureDeveloperCliCredential HOT 1
- [BUG] UnicodeEncodeError during evaluation HOT 5
- [BUG] pf connection create complains that creating an AI connection can't be done from PromptFlow HOT 7
- [BUG] Serving UI doesn't return flow result HOT 9
- [BUG] prompty-quickstart.ipynb run evaluation not working due to RuntimeError HOT 2
- [Feature Request] JSON formatted Logs
- chat pdf viewer code release? HOT 2
- [BUG] AI Search connection in `mlindex_content` not detected HOT 8
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.