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.4.tar.gz (6.4 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.4-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for llama_index_utils_workflow-0.3.4.tar.gz
Algorithm Hash digest
SHA256 fc6993ceb12051c0b53a7b2c0f7eb3393c1e3c97642a91fc89c96adfa69590b9
MD5 a6812846c557326c153a25524d8359b1
BLAKE2b-256 3d6951a57c74cb0e403402638c05fe0eb91990ad0e677fe9ab3a0dd1ec0c5ea6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for llama_index_utils_workflow-0.3.4-py3-none-any.whl
Algorithm Hash digest
SHA256 0d50e5662e50b00c8e0b3d05b435e3b904df1c32db4f7d6e66a62e84888aa722
MD5 c08070879919e32906e853e9cead8ba0
BLAKE2b-256 ff63e6e2cc93a9917a20e41f0602b93405c35239e35829c241a871034ff81bdc

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