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

Abierto
#36 1 comentario 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Python
Estrellas
290
Forks
152
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

Abre tutorial/copilot_flow/requirements.txt e inspecciona las versiones fijadas de promptflow[azure] y promptflow. Compáralas con la versión del servicio 1.15.0 indicada en el issue y, a continuación, sigue los pasos de instalación de paquetes del tutorial para confirmar que los requisitos instalan versiones compatibles y ya no producen la advertencia de incompatibilidad.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
python
Área
tooling
Tipo de issue
Error
Dificultad
1/5
Tiempo estimado
Menos de una hora
Estado de actividad
Estancado
Claridad
Bien especificado
Aptitud para principiantes
35/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.