Allow you to create your own prompt flow runtime base images
Project description
Prompt flow image bundle
This bundle package provides a way to use your own base images to build and run prompt flow runtime, and build high-quality LLM apps with prompt flow package.
Example usage:
# choose your base image, for example AzureML base images
FROM mcr.microsoft.com/azureml/openmpi4.1.0-cuda11.8-cudnn8-ubuntu22.04:latest
# install bundle package
RUN pip install -U promptflow-image-bundle[azure]
# install other requirements if needed
# RUN pip install -r requirements.txt
# expose prompt flow runtime service port
EXPOSE 8080
# start prompt flow runtime service
CMD ["start_promptflow"]
Currently, we only support Ubuntu
and Debian
based images, and have verified both AzureML base images
and popular images like ubuntu:22.04
, debian:11
, python:3.10
, continuumio/miniconda3:23.3.1-0
, nginx:stable
, etc.
If your base images doesn't have Python or Conda, you need to install it in you docker file as a prerequisite.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for promptflow_image_bundle-0.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b69352fb41d9b56b736f2bc84b8becf1a9bcae9bc01d0982418f34020257535 |
|
MD5 | 9a5d179b5a75a382a2d9d1d25e1629be |
|
BLAKE2b-256 | 5cadf0077333690899ec4cb72b911205ffece4c2876e379117e0af0246bb866f |