Skip to main content

A comprehensive toolkit for streamlined development, testing, and deployment of prompt.

Project description

UltraFlow

提示词工程开发、测试、部署一站式工具.

开发测试

代码 clone 到本地, 进入项目创建 venv 虚拟环境, 需要 >=3.9 的 Python 解释器, 比如我的命令

/opt/miniconda3/envs/py39/bin/python -m venv .venv
source .venv/bin/activate
pip install -U pip setuptools wheel
pip install -e .

项目规划

  • uf init 初始化一个提示词工程项目, 配置 connection, apikey
  • uf new 创建一个提示词模版, 即 prompty 文件
  • uf run <xxx.prompty>, 启动 web ui 交互式对话界面, 支持多轮对话, 展示 request/response 详情
  • uf run <xxx.prompty> --data <xxx.json> 批量测试, 支持多线程
  • uf serve 以 API 方式启动微服务
  • uf dag 可视化一个复杂任务

项目原则

  • 约定优于配置
  • 支持代码引用和命令行工具两种方式
  • 记录好日志, 方便评估、回溯

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ultraflow-0.1.2.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ultraflow-0.1.2-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file ultraflow-0.1.2.tar.gz.

File metadata

  • Download URL: ultraflow-0.1.2.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.25.4 CPython/3.9.19 Darwin/20.6.0

File hashes

Hashes for ultraflow-0.1.2.tar.gz
Algorithm Hash digest
SHA256 c504012b2ac38afe47bb79043dbc3b529df7e7e202c1a45f563b610c8774cb7e
MD5 397aae75335c019f1387b53ac0480091
BLAKE2b-256 bf615779d645ff176c43ca0debbceefefb3a1246dec8b8d2d7cfaf72cf4b3cb7

See more details on using hashes here.

File details

Details for the file ultraflow-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: ultraflow-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 5.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.25.4 CPython/3.9.19 Darwin/20.6.0

File hashes

Hashes for ultraflow-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 cf84999c81d0e3e7d475bda2f5c9a79cd27efed230e79b8e70f1899a0b3a3cb3
MD5 ef285af8319a90a828efe7f3d0630892
BLAKE2b-256 06de5ef4982fd44230b72e139257c3b766780ce4f7076ed31f7b81619ab1a452

See more details on using hashes here.

Supported by

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