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.5.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.3.5-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for llama_index_utils_workflow-0.3.5.tar.gz
Algorithm Hash digest
SHA256 70ccd4ebd6d1b430abae6ac0e588c05b68ae9832d6bfeaa917eaf391c539bc53
MD5 c74b05a2dd6b7d5555fdc13672bc73c1
BLAKE2b-256 93647a524ceea0630c9c18a09d78ad4cf614b21c5d5df149b3e37f9ff07fc3c5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for llama_index_utils_workflow-0.3.5-py3-none-any.whl
Algorithm Hash digest
SHA256 2cf1dc101cc4d098c01d6e55f8dd9e475e2fe8e8ec5069cee12b9ab7a03d9f0a
MD5 16902075366f891a27fd7eb69347cb39
BLAKE2b-256 471cd2907f28c0b15956178a127c5cb550b68cd3965b7adc55c798dee1e70dd4

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