Skip to content

Commit

Permalink
Update flow framework additional fields in previous_node_inputs (open…
Browse files Browse the repository at this point in the history
…search-project#8233)

* update: flow framework previous node inputs

Signed-off-by: yuye-aws <[email protected]>

* update typo

Signed-off-by: yuye-aws <[email protected]>

* update model id step input types

Signed-off-by: yuye-aws <[email protected]>

* update create_tool note

Signed-off-by: yuye-aws <[email protected]>

* reduce redundant step types

Signed-off-by: yuye-aws <[email protected]>

* Update _automating-configurations/workflow-steps.md

Co-authored-by: Daniel Widdis <[email protected]>
Signed-off-by: yuye-aws <[email protected]>

* optimize doc

Signed-off-by: yuye-aws <[email protected]>

* Update _automating-configurations/workflow-steps.md

Co-authored-by: kolchfa-aws <[email protected]>
Signed-off-by: yuye-aws <[email protected]>

* Update _automating-configurations/workflow-steps.md

Co-authored-by: kolchfa-aws <[email protected]>
Signed-off-by: yuye-aws <[email protected]>

* Update _automating-configurations/workflow-steps.md

Co-authored-by: kolchfa-aws <[email protected]>
Signed-off-by: yuye-aws <[email protected]>

* Update _automating-configurations/workflow-steps.md

Co-authored-by: Nathan Bower <[email protected]>
Signed-off-by: yuye-aws <[email protected]>

* Update _automating-configurations/workflow-steps.md

Co-authored-by: Nathan Bower <[email protected]>
Signed-off-by: yuye-aws <[email protected]>

* Update _automating-configurations/workflow-steps.md

Co-authored-by: Nathan Bower <[email protected]>
Signed-off-by: yuye-aws <[email protected]>

---------

Signed-off-by: yuye-aws <[email protected]>
Co-authored-by: Daniel Widdis <[email protected]>
Co-authored-by: kolchfa-aws <[email protected]>
Co-authored-by: Nathan Bower <[email protected]>
Signed-off-by: Noah Staveley <[email protected]>
  • Loading branch information
4 people authored and noahstaveley committed Sep 23, 2024
1 parent a64cea0 commit a70e732
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions _automating-configurations/workflow-steps.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,11 @@ You can include the following additional fields in the `user_inputs` field if th

You can include the following additional fields in the `previous_node_inputs` field when indicated.

|Field |Data type |Description |
|--- |--- |--- |
|`model_id` |String |The `model_id` is used as an input for several steps. As a special case for the Register Agent step type, if an `llm.model_id` field is not present in the `user_inputs` and not present in `previous_node_inputs`, the `model_id` field from the previous node may be used as a backup for the model ID. |
| Field |Data type | Description |
|-----------------|--- |------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `model_id` |String | The `model_id` is used as an input for several steps. As a special case for the `register_agent` step type, if an `llm.model_id` field is not present in the `user_inputs` and not present in `previous_node_inputs`, then the `model_id` field from the previous node may be used as a backup for the model ID. The `model_id` will also be included in the `parameters` input of the `create_tool` step for the `MLModelTool`. |
| `agent_id` |String | The `agent_id` is used as an input for several steps. The `agent_id` will also be included in the `parameters` input of the `create_tool` step for the `AgentTool`. |
| `connector_id` |String | The `connector_id` is used as an input for several steps. The `connector_id` will also be included in the `parameters` input of the `create_tool` step for the `ConnectorTool`. |

## Example workflow steps

Expand Down

0 comments on commit a70e732

Please sign in to comment.