Skip to main content

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


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

promptflow_image_bundle-0.1.0-py3-none-any.whl (7.3 MB view details)

Uploaded Python 3

File details

Details for the file promptflow_image_bundle-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for promptflow_image_bundle-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bfc89df8d2c1c368e6da0eb01179c33cba9bedcf3d2d1f8b2677f17e7617ea44
MD5 220ba77ee8a0ad7726b202462aed06c3
BLAKE2b-256 f067ff3465e7ef969d37d3482d0c6d3f02d86fbfde5022f692bc29f1f53a49f6

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page