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.8.0.tar.gz (6.6 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.8.0-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: llama_index_utils_workflow-0.8.0.tar.gz
  • Upload date:
  • Size: 6.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","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.8.0.tar.gz
Algorithm Hash digest
SHA256 5b3a8a22c33e2558b23729e6417390c6aa93b05e090525659e87e9111673e5fa
MD5 179ddd40b8f276caf8bdc6e6aa60d6c1
BLAKE2b-256 1b75c8bd49416278aec83103fc0ae38c6addfc24503cedec1960d29457f8d115

See more details on using hashes here.

File details

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

File metadata

  • Download URL: llama_index_utils_workflow-0.8.0-py3-none-any.whl
  • Upload date:
  • Size: 7.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","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.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b769f79d6cf95299b68a32af97f1384008a72fc60fc257bdae12318d1aff1976
MD5 2b6c1a6ba5a19df63efb2079b31c2187
BLAKE2b-256 f31d6748ae66be9eb284071f1cf61be72411c4f2aea571df678d859230f837ab

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