Skip to main content

llama-index utils for workflows

Project description

LlamaIndex Utils: Workflow

Utilities for LlamaIndex workflows, including visualization tools.

pip install llama-index-utils-workflow

Features

  • Workflow visualization with draw_all_possible_flows()
  • Latest execution visualization with draw_most_recent_execution()
  • Label truncation support for better readability with long event names

Usage

from llama_index.utils.workflow import draw_all_possible_flows

# Basic workflow visualization
draw_all_possible_flows(my_workflow, "workflow.html")

# With label truncation for long event names (v0.4.0+)
draw_all_possible_flows(my_workflow, "workflow.html", max_label_length=15)

# Latest execution visualization
handler = my_workflow.run()
await handler
draw_most_recent_execution(handler, "workflow.html")

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

llama_index_utils_workflow-0.5.1.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

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

llama_index_utils_workflow-0.5.1-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

Details for the file llama_index_utils_workflow-0.5.1.tar.gz.

File metadata

  • Download URL: llama_index_utils_workflow-0.5.1.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.10 {"installer":{"name":"uv","version":"0.9.10"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for llama_index_utils_workflow-0.5.1.tar.gz
Algorithm Hash digest
SHA256 323b0b80a7e8df988dffc83e6310007e4934eda33c243cfcceafd718bfd9a81a
MD5 6e8c3328379125a4f57abccd727d870a
BLAKE2b-256 0758326b81f0fc43d37f5bc96c593bb7674970e7b999a45a01b74d4bf26e9491

See more details on using hashes here.

File details

Details for the file llama_index_utils_workflow-0.5.1-py3-none-any.whl.

File metadata

  • Download URL: llama_index_utils_workflow-0.5.1-py3-none-any.whl
  • Upload date:
  • Size: 6.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.10 {"installer":{"name":"uv","version":"0.9.10"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for llama_index_utils_workflow-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9e403ea96ffebc1e9aa0ce6b8191609992ce25813d4b514e7bc1f09bd9f3428b
MD5 1d0506ad0c58f53b8b99af04dee1babf
BLAKE2b-256 19021b5df23bf1e7df2816e176f43fb0403d224f6a544508246003d106fc8535

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