@yoast/ai-insights-client 1.4.93 → 1.4.94

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7714,7 +7714,7 @@ var JA = function() {
7714
7714
  description: "Edit or approve the queries generated from your input."
7715
7715
  }, {
7716
7716
  title: "3. RUN ANALYSIS",
7717
- description: "Run your queries through relevant AI models to see how your brand shows up."
7717
+ description: "Run your queries through relevant AI platforms to see how your brand shows up."
7718
7718
  }].map(function(n, r, i) {
7719
7719
  return /* @__PURE__ */ P("div", { className: "yst-relative yst-flex yst-flex-col yst-items-stretch", children: [
7720
7720
  /* @__PURE__ */ P("div", { className: "yst-flex yst-flex-row yst-items-center yst-justify-stretch yst-gap-6", children: [
@@ -7869,7 +7869,7 @@ var ks = function(e) {
7869
7869
  ) })
7870
7870
  ] })
7871
7871
  ] }) }),
7872
- g && /* @__PURE__ */ p(en, { variant: "info", children: "The selected AI model returned no brand sentiment data for your queries. This can happen with some queries or models." }),
7872
+ g && /* @__PURE__ */ p(en, { variant: "info", children: "The selected AI platform returned no brand sentiment data for your queries. This can happen with some queries or platforms." }),
7873
7873
  !!y && /* @__PURE__ */ P("div", { className: "yst-space-y-2", children: [
7874
7874
  /* @__PURE__ */ p(lt, { as: "h5", size: "5", children: "Positive keywords" }),
7875
7875
  /* @__PURE__ */ p(yf, { keywords: y, badgeClassName: "yst-bg-green-100 yst-text-green-800" })
@@ -8265,7 +8265,7 @@ var pa = Es(vf || (vf = O3(["md:yst-hidden yst-mr-2 yst-font-medium yst-text-sla
8265
8265
  /* @__PURE__ */ p("p", { children: "This table highlights the most important sources where your brand was cited." }),
8266
8266
  /* @__PURE__ */ p(Cs, { score: A == null || (i = A.total) === null || i === void 0 ? void 0 : i.value, suffix: "citations", delta: A == null || (a = A.total) === null || a === void 0 || (a = a.previous) === null || a === void 0 ? void 0 : a.difference, deltaSuffix: "since last analysis", isLoading: O, hideTotal: !0 })
8267
8267
  ] }),
8268
- (A == null || (s = A.list) === null || s === void 0 ? void 0 : s.length) === 0 && !O && !E ? /* @__PURE__ */ p(en, { children: "The selected AI model returned no citations for your queries. This can happen with some queries or models." }) : /* @__PURE__ */ P(Re, { children: [
8268
+ (A == null || (s = A.list) === null || s === void 0 ? void 0 : s.length) === 0 && !O && !E ? /* @__PURE__ */ p(en, { children: "The selected AI platform returned no citations for your queries. This can happen with some queries or platforms." }) : /* @__PURE__ */ P(Re, { children: [
8269
8269
  /* @__PURE__ */ P("div", { children: [
8270
8270
  l && /* @__PURE__ */ p(
8271
8271
  mo,
@@ -8423,7 +8423,7 @@ var Cf = function(e) {
8423
8423
  ),
8424
8424
  /* @__PURE__ */ p("p", { children: "Brands with the most mentions for your prompts." })
8425
8425
  ] }),
8426
- !h && !f && (!y || y.length === 0) ? /* @__PURE__ */ p(en, { variant: "info", children: "The selected AI model returned no brands for your queries. This can happen with some queries or models." }) : /* @__PURE__ */ P(oe, { variant: "minimal", children: [
8426
+ !h && !f && (!y || y.length === 0) ? /* @__PURE__ */ p(en, { variant: "info", children: "The selected AI platform returned no brands for your queries. This can happen with some queries or platforms." }) : /* @__PURE__ */ P(oe, { variant: "minimal", children: [
8427
8427
  /* @__PURE__ */ p(oe.Head, { children: /* @__PURE__ */ P(oe.Row, { children: [
8428
8428
  /* @__PURE__ */ p(oe.Cell, { className: "yst-w-20 yst-font-semibold", children: "Rank" }),
8429
8429
  /* @__PURE__ */ p(oe.Cell, { className: "yst-font-semibold", children: "Brand" }),
@@ -10488,11 +10488,13 @@ var Pl = Es(_f || (_f = gC(["yst-flex-1 yst-space-y-2"]))), vC = function(e) {
10488
10488
  }), J = function(we) {
10489
10489
  switch (we) {
10490
10490
  case "openai":
10491
- return "OpenAI";
10491
+ return "ChatGPT";
10492
10492
  case "perplexity":
10493
- return "Perplexity";
10493
+ return "Perplexity AI";
10494
10494
  case "anthropic":
10495
10495
  return "Anthropic";
10496
+ case "gemini":
10497
+ return "Gemini";
10496
10498
  default:
10497
10499
  return we || "Unknown";
10498
10500
  }
@@ -10503,7 +10505,7 @@ var Pl = Es(_f || (_f = gC(["yst-flex-1 yst-space-y-2"]))), vC = function(e) {
10503
10505
  };
10504
10506
  })) || [{
10505
10507
  value: "",
10506
- label: "Default model"
10508
+ label: "Default AI platform"
10507
10509
  }], mt = I != null && I.some(function(ve) {
10508
10510
  return String(ve.id) === String(c);
10509
10511
  }) ? c : I && I.length > 0 ? I[0].id : "latest", pt = Ya(u, {
@@ -10654,20 +10656,20 @@ var Pl = Es(_f || (_f = gC(["yst-flex-1 yst-space-y-2"]))), vC = function(e) {
10654
10656
  }, isLoading: F, disabled: F || !I || I.length < 1, id: "analysis-date" })
10655
10657
  ] }),
10656
10658
  /* @__PURE__ */ P(Pl, { children: [
10657
- /* @__PURE__ */ p(pl, { htmlFor: "ai-tool", children: "AI model" }),
10659
+ /* @__PURE__ */ p(pl, { htmlFor: "ai-tool", children: "AI platform" }),
10658
10660
  /* @__PURE__ */ p(mo, { onChange: function(ve) {
10659
10661
  Object.values(PA).includes(ve) ? f(ve) : console.error("Invalid AI provider selected:", ve);
10660
10662
  }, id: "ai-tool", value: d, options: _ || F ? [{
10661
10663
  value: d,
10662
10664
  label: "Loading..."
10663
- }] : tt, disabled: _ || F || // ai model list array
10665
+ }] : tt, disabled: _ || F || // ai platform list array
10664
10666
  [{}].length < 2 })
10665
10667
  ] })
10666
10668
  ] })
10667
10669
  ] }) }),
10668
10670
  /* @__PURE__ */ P("div", { className: "ystaii-alerts yst-space-y-4", children: [
10669
10671
  Ke && /* @__PURE__ */ p(en, { children: /* @__PURE__ */ P("div", { className: "yst-flex yst-w-full", children: [
10670
- /* @__PURE__ */ p("div", { className: "yst-max-w-xl yst-space-y-4", children: /* @__PURE__ */ p("p", { className: "yst-mb-0", children: "Note: This content was generated by an AI model (see dropdown above) and may contain errors. Please review before acting on it." }) }),
10672
+ /* @__PURE__ */ p("div", { className: "yst-max-w-xl yst-space-y-4", children: /* @__PURE__ */ p("p", { className: "yst-mb-0", children: "Note: This content was generated by an AI platform (see dropdown above) and may contain errors. Please review before acting on it." }) }),
10671
10673
  /* @__PURE__ */ p("div", { className: "yst-ml-auto", children: /* @__PURE__ */ p(jn, { onClick: ge, variant: "default", children: /* @__PURE__ */ p(c0, {}) }) })
10672
10674
  ] }) }),
10673
10675
  Ve !== Jn.completed && xe && /* @__PURE__ */ p(en, { className: "md:yst-col-span-2", variant: Ne, children: xe }),
@@ -28180,12 +28182,12 @@ var mc = [{
28180
28182
  path: "/setup",
28181
28183
  id: 1,
28182
28184
  title: "Brand & location info",
28183
- description: "Enter a few basic details about your brand so we can generate relevant queries people might use in AI models like ChatGPT. This helps us analyze how visible your brand is in their responses."
28185
+ description: "Enter a few basic details about your brand so we can generate relevant queries people might use in AI platforms like ChatGPT. This helps us analyze how visible your brand is in their responses."
28184
28186
  }, {
28185
28187
  path: "/setup/:brandId/queries",
28186
28188
  id: 2,
28187
28189
  title: "Queries",
28188
- description: "Review the queries we've generated from your brand info. These are phrases people might type into AI models that could trigger your brand to appear."
28190
+ description: "Review the queries we've generated from your brand info. These are phrases people might type into AI platforms that could trigger your brand to appear."
28189
28191
  }, {
28190
28192
  path: "/setup/:brandId/analysis",
28191
28193
  id: 3,