Azure-Samples / Azure-Samples/rag-data-openai-python-promptflow
prompt flow service: wrong version (1.11.0) in requirements.txt. Service has been updated to 1.15.0
- 主要言語
- Python
- スター
- 290
- フォーク
- 152
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
> 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.
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
tutorial/copilot_flow/requirements.txt を開き、固定されている promptflow[azure] と promptflow のバージョンを確認します。Issue で報告されているサービスバージョン 1.15.0 と比較し、その後、要件が互換性のあるバージョンをインストールし、不一致の警告が出なくなったことを確認するために、チュートリアルのパッケージインストール手順に従います。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- tooling
- issue の種類
- バグ
- 難易度
- 1/5
- 見積もり時間
- 1時間未満
- 活発さ
- 停滞
- 明瞭さ
- 明確に書かれている
- 初心者へのやさしさ
- 35/100