fraud or not_fraud. The decision-model walkthrough covers typed probability outputs.
Before you begin
Connect your coding agent and select a separate tutorial project. You do not need an application repository or a previously trained decision model. This workflow includes training and benchmark inference, which can incur provider costs. Your agent explains the proposed model and expected cost before launch. The agent carries the workflow through preparation, training and benchmarking, bringing back decisions that need your input. You do not need a separate request for each stage.What happens next
- Prepare examples. The agent turns transaction details into user messages and the supplied labels into assistant responses. It keeps
is_fraudout of the input, retains the preparation, and separates training, development and held-out data. - Define the comparison. It prepares held-out inputs with separate reference labels and proposes checks for valid output labels and classification correctness. You review the evaluation criteria before they are used.
- Fine-tune a model. It selects a compatible language model, checks the training setup and expected cost, and follows the accepted run through development validation.
- Benchmark the result. It compares generated responses from the base and fine-tuned models on the same held-out examples using the same checks.
Check the result
At the end, the agent should show:- The completed training run, selected base model and exact data versions used.
- Base-model and fine-tuned responses alongside the held-out reference labels.
- Classification results, including missed fraud and legitimate transactions flagged as fraud.
- Invalid responses, missing results and the number of examples scored for each model.
- Whether the fine-tuned model improved on the base model, with representative mistakes and limitations.