Skip to content

CreateSolutionVersion

Source: src/AWS/Personalize/CreateSolutionVersion.ts

Runtime binding for personalize:CreateSolutionVersion — Trains a new model (solution version) for an existing solution — the retraining step of the MLOps loop, typically run on a schedule after fresh data is imported. Provide the implementation with Effect.provide(AWS.Personalize.CreateSolutionVersionHttp).

// init
const createSolutionVersion = yield* Personalize.CreateSolutionVersion();
const { solutionVersionArn } = yield* createSolutionVersion({
solutionArn,
trainingMode: "UPDATE",
});