Skip to content

prompt flow service: wrong version (1.11.0) in requirements.txt. Service has been updated to 1.15.0 #36

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
bmerkle opened this issue Sep 3, 2024 · 1 comment

Comments

@bmerkle
Copy link

bmerkle commented Sep 3, 2024

Please provide us with the following information:

This issue is for a: (mark with an x)

- [x] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

follow the instructions https://learn.microsoft.com/en-us/azure/ai-studio/tutorials/copilot-sdk-evaluate-deploy
download python packages
cd C:\work\Azure-Samples\rag-data-openai-python-promptflow\tutorial\copilot_flow
pip install -r requirements.txt

this installs promptflow[azure] and promptflow in version 1.11.0, however the service is already at 1.15.0

Any log messages given by the failure

(.venv) PS C:\work\Azure-Samples\rag-data-openai-python-promptflow\tutorial> python evaluate.py
[2024-09-03 15:38:12 +0200][promptflow._sdk._orchestrator.run_submitter][INFO] - Upload run to cloud: True
[2024-09-03 15:38:16 +0200][promptflow][WARNING] - Prompt flow service is running on port 23333, but the version is not the same as local sdk version 1.11.0. The service version is 1.15.0.
Starting prompt flow service...
[2024-09-03 15:38:30 +0200][promptflow][WARNING] - Prompt flow service is running on port 23333, but the version is not the same as local sdk version 1.11.0. The service version is 1.15.0.
[2024-09-03 15:38:30 +0200][promptflow][WARNING] - Prompt flow service is not healthy. Kindly reminder: If you have previously upgraded the prompt flow package , please double-confirm that you have run 'pf service stop' to stop the prompt flowservice before proceeding with the upgrade. Otherwise, you may encounter unexpected environmental issues or inconsistencies between the version of running prompt flow service and the local prompt flow version. Alternatively, you can use the 'pf upgrade' command to proceed with the upgrade process for the prompt flow package.
[2024-09-03 15:38:30 +0200][promptflow][WARNING] - Prompt flow service is running on port 23333, but the version is not the same as local sdk version 1.11.0. The service version is 1.15.0.
[2024-09-03 15:38:30 +0200][promptflow][WARNING] - Prompt flow service is not healthy, please check the logs for more details; traces might not be exported correctly.
T

Expected/desired behavior

update requirements.txt to use 1.15.0 (or do not specify version number)
or update manually
pip install promptflow[azure]==1.15.0
pip install promptflow==1.15.0

OS and Version?

Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)

Versions

Mention any other details that might be useful


Thanks! We'll be in touch soon.

bmerkle added a commit to bmerkle/rag-data-openai-python-promptflow that referenced this issue Sep 3, 2024
@bmerkle
Copy link
Author

bmerkle commented Oct 4, 2024

Hello @chanezon @codebytes @erikstmartin @sethjuarez

I have found a bug in the "rag-data-openai-python-promptflow" sample and created also a PR which fixes the issue.

Could you please have a look at it, and merge it into main ?
Could you please also have a look at my other bugreports in the "rag-data-openai-python-promptflow" and assign it to the relevant persons ? There should also be already PR for the issue reports, so it is only necessary to review them. I can also enhance them if necessary.

Sorry to mail to several people but for me it is unclear who takes a look at issues report and PR.

kind regards,
Bernhard

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant