diff --git a/docs/Examples/BabyAGI.md b/docs/Examples/BabyAGI.md index fa511734..558b85e2 100644 --- a/docs/Examples/BabyAGI.md +++ b/docs/Examples/BabyAGI.md @@ -30,15 +30,15 @@ The BabyAGI multi-node workflow is made up of the following components, which yo You can run the BabyAGI flow from the SDK using the following command: ```bash -naptha run babyagi -p "objective='Research the history of football'" --worker_nodes "http://node.naptha.ai:7001,http://node1.naptha.ai:7001" +naptha run babyagi -p "objective='Research the history of football'" --worker_node_urls "http://node.naptha.ai:7001,http://node1.naptha.ai:7001" ``` ### Configuration Breakdown: - `objective`: Your desired research or task objective -- `worker_nodes`: Comma-separated list of worker node URLs +- `worker_node_urls`: Comma-separated list of worker node URLs This runs the flow across three nodes in total - one orchestrator node (whichever you have set as the ```NODE_URL``` in the .env file of the Naptha SDK), -and two worker nodes (that you have set using the ```--worker_nodes``` flag). +and two worker nodes (that you have set using the ```--worker_node_urls``` flag). :::tip Start with simple objectives to understand the workflow, then gradually increase complexity as you become familiar with the system. diff --git a/docs/Examples/MultiplayerChat.md b/docs/Examples/MultiplayerChat.md index b24614d4..70da51a0 100644 --- a/docs/Examples/MultiplayerChat.md +++ b/docs/Examples/MultiplayerChat.md @@ -23,16 +23,16 @@ This multi-agent, multi-node workflow is made of the following components, which You can run it using the Naptha SDK with the following command: ```bash -naptha run multiagent_chat -p "prompt='I would like to count up to ten, one number at a time. ill start. one.'" --worker_nodes "http://node.naptha.ai:7001,http://node1.naptha.ai:7001" +naptha run multiagent_chat -p "prompt='I would like to count up to ten, one number at a time. ill start. one.'" --worker_node_urls "http://node.naptha.ai:7001,http://node1.naptha.ai:7001" ``` ### Configuration Breakdown: - `prompt`: Your initial message to start the conversation -- `worker_nodes`: Comma-separated list of worker node URLs +- `worker_node_urls`: Comma-separated list of worker node URLs :::note Node Distribution This runs the flow across three nodes in total - one orchestrator node (whichever you have set as the ```NODE_URL``` in the .env file of the Naptha SDK), -and two worker nodes (that you have set using the ```--worker_nodes``` flag). +and two worker nodes (that you have set using the ```--worker_node_urls``` flag). ::: ## Example Conversation Starters diff --git a/docs/NapthaModules/2-orchestrators.md b/docs/NapthaModules/2-orchestrators.md index c0889ab1..f2ff7b7a 100644 --- a/docs/NapthaModules/2-orchestrators.md +++ b/docs/NapthaModules/2-orchestrators.md @@ -46,7 +46,7 @@ Under the hood, `call_orchestrator_func` makes a call to the orchestrator node v You can deploy an orchestrator via CLI using: ```bash -naptha create orchestrator:multiagent_chat --orchestrator_node "https://node.naptha.ai" --worker_nodes "https://node.naptha.ai:7001,https://node1.naptha.ai:7001" --environment_node "https://node.naptha.ai:7001" +naptha create orchestrator:multiagent_chat --orchestrator_node "https://node.naptha.ai" --worker_node_urls "https://node.naptha.ai:7001,https://node1.naptha.ai:7001" --environment_node "https://node.naptha.ai:7001" ``` You can call an orchestrator module via CLI using: