Skip to main content

Hello World

Hello World is usually used as the first function when using a new framework.

Prerequisities

Make sure you have the Naptha SDK installed.

Modules Used

The Hello World single-node workflow is made up of the following component, which you can find on the Naptha HuggingFace:

Run

You can run the Hello World flow from the SDK using the following command:

# usage: naptha run <module_name> <module args>
naptha run hello_world -p "param1=world param2=naptha"

This will run the task on one node, whichever you have set as the NODE_URL in the .env file of the Naptha SDK.