Skip to content

PredictQApp

Source: src/AWS/QApps/PredictQApp.ts

Runtime binding for qapps:PredictQApp.

Generates a Q App definition from a natural-language problem statement or a Q Business conversation. Provide the implementation with Effect.provide(AWS.QApps.PredictQAppHttp).

// init — bind the operation to the Q App
const predictQApp = yield* AWS.QApps.PredictQApp(app);
// runtime
const predicted = yield* predictQApp({
options: {
problemStatement: "Summarize meeting notes into action items",
},
});
console.log(predicted.app.title);