microsoft / microsoft/rag-experiment-accelerator

PromptFlow pipeline runs on outdated, fixed version of the code

Open
#404 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Python
Stars
311
Forks
111
PR merge metrics
No merged PRs in 30d

Description

PromptFlow pipeline runs on a hardcoded, statically built Python wheel. See the Dockerfile and
the wheel committed directly to the repo.

This effectively means that no new features and bug fixes are available in the PromptFlow pipeline since December 13.

Attempt to build and update the image used on PromptFlow also does not work, since the codebase now runs on Python 3.11 (see https://github.com/microsoft/rag-experiment-accelerator/pull/2740), but the base image for the PromptFlow pipeline (mcr.microsoft.com/azureml/promptflow/promptflow-runtime:20231207.v2) only supports Python 3.9

In this bugfix, an approach should be implemented to automatically build a new version of the rag-experiment-accelerator library, rather than hardcoding a fixed version.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with promptflow/rag-experiment-accelerator/custom_environment/Dockerfile and inspect the committed rag_experiment_accelerator-0.9-py3-none-any.whl. Check how the PromptFlow runtime image is built and how its Python 3.9 constraint interacts with the codebase's Python 3.11 requirement. Done means the PromptFlow image automatically receives a current library build rather than the fixed committed wheel, with the image build working.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, docker, python
Domain
build-system, cloud, devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.