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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for llama_index_utils_workflow-0.4.1.tar.gz
Algorithm Hash digest
SHA256 09401a91059be39dda5d6eca76c5e321430fb83c2b0673e0a43b5e2ecfda99bb
MD5 a04e6128783cb63579ef74e57f23538c
BLAKE2b-256 cab063c02aca71de0bcf94a0b3e810e9d17a97db8bc2b82ca5c6b383fb490e49

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for llama_index_utils_workflow-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1d914c69228cb647c833431f31cf0afc12bbe1967cbe77c248b00754e98828c3
MD5 d17f3c991602ff167790e7b81343f2b0
BLAKE2b-256 94f7b4a2627f9613e79a63f66f16b19d7bd44a0d4d665f535b7e4f8bda4e56c2

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