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.11.0.tar.gz (8.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.11.0-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: llama_index_utils_workflow-0.11.0.tar.gz
  • Upload date:
  • Size: 8.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","subcommand":["publish"]},"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.11.0.tar.gz
Algorithm Hash digest
SHA256 6063e8c5868933ec69ed4962a06acec562b183b6382fc7b670261e382a95558d
MD5 8e2a8b6e74cc1bcaa77f2217cd3333f6
BLAKE2b-256 f233ab6c5fa2b83ee8ee0ffaf87357a461b11421ac3da5db773969becff08d17

See more details on using hashes here.

File details

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

File metadata

  • Download URL: llama_index_utils_workflow-0.11.0-py3-none-any.whl
  • Upload date:
  • Size: 9.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","subcommand":["publish"]},"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.11.0-py3-none-any.whl
Algorithm Hash digest
SHA256 deec9c1f03ba40ac4c636f338df2bf6b97a3f31a91b9c09925ede1b672341823
MD5 628e10736748f484f594c51ed7838d7f
BLAKE2b-256 2617b50e4f50f52faa4fafc4c707cb1cfaa41f411e8dc17be3d4e6ecf9c32df0

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