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

Offen
#36 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
290
Forks
152
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

> 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.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.