diff --git a/docs/docs/Components/components-processing.mdx b/docs/docs/Components/components-processing.mdx index 87b536d1e245..1017cbac7513 100644 --- a/docs/docs/Components/components-processing.mdx +++ b/docs/docs/Components/components-processing.mdx @@ -15,6 +15,7 @@ They have many uses, including: * Feed instructions and context to your LLMs and agents with the [**Prompt Template** component](#prompt-template). * Extract content from larger chunks of data with a [**Parser** component](#parser). * Filter data with natural language with the [**Smart Transform** component](#smart-transform). +* Create structured data dynamically with the [**Dynamic Create Data** component](#dynamic-create-data). * Perform advanced JSON queries with the [**Data Operations** component](#data-operations) using `jq` expressions. * Save data to your local machine with the [**Write File** component](#save-file). * Transform data into a different data type with the [**Type Convert** component](#type-convert) to pass it between incompatible components. @@ -417,6 +418,48 @@ The output is a `DataFrame` containing all columns from the original `DataFrame` +## Dynamic Create Data + +The **Dynamic Create Data** component creates a [`Data`](/data-types#data) object or [`Message`](/data-types#message) with configurable fields. +Define the table in the **Input Configuration** field, and the component creates corresponding input or output handles in the component. + +### Use the Dynamic Create Data component in a flow + +The following example demonstrates how to use a **Dynamic Create Data** component to create a structured `Data` or `Message` object from multiple sources. + +1. Add the **Dynamic Create Data** component to your flow. + +2. To define your data's fields, in the **Input Configuration** field, click