INNER CODE UNIT · TypeScript
genDescriptionScore
google-marketing-solutions/feedgen · src/app.ts:528
let genDescriptionScore = -1;
let genDescriptionEvaluation = 'No Evaluation';
let genDescriptionApproval = true;
if (getConfigSheetValue(CONFIG.userSettings.feed.generateDescriptions)) {
const response = fetchDescriptionGenerationData(
dataObj,
genTitle,
getConfigSheetValue(CONFIG.userSettings.feed.imageUnderstanding)
? imageUrl
: null
);
genDescription = response.description;
genDescriptionScore = response.score;
genDescriptionEvaluation = response.evaluation;
genDescriptionApproval =
genDescriptionScore >=
parseFloat(