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
result = await my_workflow.run()
draw_most_recent_execution(my_workflow, "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.3.3.tar.gz (4.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.3.3-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for llama_index_utils_workflow-0.3.3.tar.gz
Algorithm Hash digest
SHA256 27a41f5d99427a01a539626d5cb1d979c25f3bfbeddb661ae071b6847d8132b0
MD5 1761ec891da65dcf8472318fc495a28a
BLAKE2b-256 0a9fc0d6dd9b63ae3dd93940b82bf87efd6322ef5e0fe6654e2f3d073ef3e7a9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for llama_index_utils_workflow-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 68441a16f3a06136bd8c1c0172685f198f7f3dd68b66d3c834b3ff40da8b8bdb
MD5 7611b29603f27275c70f3afa7dc5b5f7
BLAKE2b-256 4c61ec7dae0bb62ebe38902c51dcbf3cd2e0fdc6e05f055ad9c385b8a2154f7d

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