INNER CODE UNIT · TypeScript
res
google-marketing-solutions/feedgen · src/app.ts:698
const res = Util.executeWithRetry(CONFIG.vertexAi.maxRetries, () => {
const response = VertexHelper.getInstance(
vertexAiGcpProjectId,
vertexAiLanguageModelId,
{
temperature: Number(
getConfigSheetValue(
CONFIG.userSettings.title.modelParameters.temperature
)
),
maxOutputTokens: Number(
getConfigSheetValue(
CONFIG.userSettings.title.modelParameters.maxOutputTokens
)
),
topK: Number(
getConfigSheetValue(CONFIG.userSettings.title.modelParameters.topK)
),