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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for llama_index_utils_workflow-0.4.0.tar.gz
Algorithm Hash digest
SHA256 e53f8b7e0bd236681a2273051b523d63ccad9258670553da7312a89710ba2fcb
MD5 d87d5a2aa6f3b042e81ac0282748c554
BLAKE2b-256 87607d37c54540d8c9d28e4355ff08b7add0074d24e7a6ae4cb75b09678413c8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for llama_index_utils_workflow-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9448aaa3881e33951276a7b1c2f8cf839e777d98e96d8981c49d20f0086797f7
MD5 5ca405b5e525f06c75e03e1c9e6156c6
BLAKE2b-256 19ce6f2583540d9eb176cde44aa0b668c9268a0427cfbc74e957ed6fa42a249e

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