Skip to content

Assistant walkthroughs

Two longer examples that use the repository's synthetic sample data. For shorter prompts and the flows they built, see Prompt examples.

Join two datasets

On an empty canvas, select the left dataset, then the optional Right input for a Join. Both must belong to the flow's project, and the right input appears only when both datasets are CSV files.

With a tool-calling model, describe the join in your own words. The assistant chooses the key from the columns and builds the rest of the flow.

With a model that has no tool calling, Ciaren uses a fixed Join plan:

  • Both CSVs need one same-named key of the same type within the first 64 columns of each input, and no other overlapping column names.
  • Open Data shared with provider and choose Include column names in this request if the question refers to specific fields.
  • Review the two filenames, versions, key, join mode and left/right wiring before applying.

A guided Join can keep matching rows (inner) or retain all left rows (left), add one boolean equality flag on a text column, sort ascending by one input column and write a CSV. For the repository's examples/orders-audit, choose orders on the left and catalog on the right. Ask to keep all orders by SKU, mark ready_to_fulfill when catalog_status equals active, and sort by order_id. The flag uses the built-in Conditional Column.

Duplicate keys can multiply rows. With null keys on both sides, pandas can match the nulls while Polars leaves them unmatched.

Recover a missing order

The flow assistant highlights a Join and previews its repair, then shows the saved change and its reversal in Activity

  1. Order 104 has no matching SKU in the catalog. An inner Join drops that order even though the run succeeds. In Build, ask to keep every order, including those without a catalog match.
  2. Inspect the highlighted Join / Merge. The proposal changes inner to left and keeps the key and both inputs. Choose Apply and save when the preview matches your intent. Use Run separately to regenerate the CSV.
  3. Open Activity, expand Show details on the saved change and select Preview reversal. The inverse shows left → inner. Confirm reversal adds an entry and preserves a later, unrelated sort edit. The next run uses the restored Join.

Diagnose is for runs that failed. When the latest run succeeded but rows are missing, describe the repair in Build as above. The recording uses the packaged editor, the synthetic orders audit and a simulated provider response. The canvas, validation, saves and history use the real application.

Train a shipping cost model from three CSVs

With the ML extension enabled, Build can generate a fixed regression plan from three CSVs: two inner joins followed by a seeded train/test split, linear regression, held-out prediction, evaluation and a metrics CSV. It works with any provider, including models without tool calling, and starts on an empty canvas. The first CSV supplies the numeric target, and each lookup contributes one numeric predictor. Identifiers used for joining cannot be training features or targets. With a tool-calling model you can also describe a different training flow in your own words.

  1. Upload orders.csv, customers.csv and catalog.csv from the shipping regression example into the same project. Create a blank flow there.
  2. Open Assistant → Build. Choose orders under Input dataset, customers under Right input and catalog under Second lookup. Select shipping_cost as the Regression target.
  3. Open Data shared with provider and allow column names for this request. Ask: Join orders to customers and catalog. Predict shipping cost from distance and weight with linear regression. Evaluate on held-out orders. Choose Create proposal.
  4. Check both Join keys (customer_id, then sku), the features (distance_km, weight_kg) and the target. Check that Split's train port feeds the regressor while test and the fitted model feed Predict. Choose Apply and save after review.
  5. Choose Run. Select File Output → Download output. This synthetic example keeps 80 orders, trains on 64 and evaluates 16. The reference run has mean absolute error of about 0.27 currency units and R² of 0.997.

Requirements and caveats

  • Each lookup must have exactly one compatible key in common with the first CSV, and the lookups must have distinct column names from each other.
  • Ciaren checks the saved profile for a unique, non-null key across the whole lookup. A sampled profile cannot establish uniqueness.
  • Both joins keep matched rows. The run needs at least 13 matching orders with usable numeric targets. The provider receives no rows or key values, so the proposal cannot establish how many orders match. Review the run counts when using your own data.
  • The split uses seed 42 and holds out 20% of matched rows. Only the training branch fits the model.
  • Choose features available at prediction time. Repeated measurements or historical forecasts can need a grouped or time-based split in a manually built flow.
  • The three selected dataset versions and the flow revision are checked again before saving.

What the provider and MLflow receive

By default the LLM receives only the request and temporary join, target and predictor references. Opting in shares column names for that turn. When a lookup has multiple numeric candidates, Ciaren requires the opt-in to distinguish them. The model cannot choose a tracking endpoint, model URI, arbitrary hyperparameters or executable code.

On Run, the existing training node logs the fitted model and up to five rows of feature values to the installation's configured MLflow store. That store can be remote.