Hi Bart Bachniak,
It seems that the error you are encountering is related to missing dependencies in your Docker image for Promptflow. The ModuleNotFoundError
indicates that the promptflow.tools
module is not found, which suggests that the required dependencies are not properly installed in your Docker environment.
To resolve this issue, ensure that your requirements.txt
file includes all necessary dependencies for the LLM nodes, especially those that are part of the promptflow.tools
package. Since you mentioned that you added all dependencies from the conda virtual environment as a temporary fix, it would be beneficial to identify the specific dependencies required for the LLM nodes and include only those in your requirements.txt
.
Additionally, you may want to verify that the version of Promptflow you are using is compatible with the syntax and modules you are implementing in your flow. If the LLM nodes are using deprecated syntax, consider updating them to the latest version of the Promptflow library that supports the new syntax.
I hope these helps you. Thank you!