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.0.tar.gz (6.8 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.0-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for llama_index_utils_workflow-0.5.0.tar.gz
Algorithm Hash digest
SHA256 0d1d85fc6f6c229a8d7d09f7341221663bebd47c587c2d524ae732c274bddc33
MD5 f1a1db65f25dda8c0d43970ca65b3143
BLAKE2b-256 93b1627d6ed715ba3abab65e058bcc3a7a5924f9e818276f8e8c980a4fe74808

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for llama_index_utils_workflow-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 80418fc0fd8fe419331fb496ef44bde367af6e60382f21f4fc54a0454d8d9588
MD5 2c4b1e74c0ed4f9b1aeb603d7450dcdd
BLAKE2b-256 5f7e498a934a31384c1f6588443c68ae91367aa0d4399c7c5b8853b4232f7402

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