@box/box-ai-content-answers 0.71.3 → 0.72.1

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.
@@ -1,31 +1,31 @@
1
- const i = (e) => ({
1
+ const a = (t) => ({
2
2
  ask: {
3
3
  type: "ai_agent_ask",
4
4
  longText: {
5
- model: e
5
+ model: t
6
6
  },
7
7
  longTextMulti: {
8
- model: e
8
+ model: t
9
9
  },
10
10
  basicText: {
11
- model: e
11
+ model: t
12
12
  },
13
13
  basicTextMulti: {
14
- model: e
14
+ model: t
15
15
  }
16
16
  }
17
- }), t = (e, _ = null, n = !1) => ({
17
+ }), e = (t, _ = null, n = !1) => ({
18
18
  id: _,
19
- name: e,
20
- config: _ ? i(_) : null,
19
+ name: t,
20
+ config: _ ? a(_) : null,
21
21
  isDefault: n,
22
22
  isEnterpriseDefault: n,
23
23
  isSelected: n
24
- }), a = [t("Box (default)", null, !0), t("Box (gpt-3.5-turbo)", "azure__openai__gpt_3_5_turbo_16k"), t("Box (gpt-4o)", "openai__gpt_4o_2024_05_13"), t("Box (gemini 1.5 flash", "google__gemini_1_5_flash_001"), t("Box (gemini 1.5 pro)", "google__gemini_1_5_pro_001"), t("Box (claude 3 sonnet)", "aws__claude_3_sonnet"), t("Box (claude 3.5 sonnet)", "aws__claude_3_5_sonnet"), t("Box (claude 3 haiku)", "aws__claude_3_haiku"), t("Box (titan text lite)", "aws__titan_text_lite"), t("Box (titan text express)", "aws__titan_text_express")], o = {
25
- agents: a,
26
- selectedAgent: a.find((e) => e.isSelected)
24
+ }), i = [e("Box (default)", null, !0), e("Box (gpt-3.5-turbo)", "azure__openai__gpt_3_5_turbo_16k"), e("Box (gpt-4o)", "openai__gpt_4o_2024_05_13"), e("Box (gemini 1.5 flash", "google__gemini_1_5_flash_001"), e("Box (gemini 1.5 pro)", "google__gemini_1_5_pro_001"), e("Box (gemini 2.0 flash)", "google__gemini_2_0_flash_exp"), e("Box (claude 3 sonnet)", "aws__claude_3_sonnet"), e("Box (claude 3.5 sonnet)", "aws__claude_3_5_sonnet"), e("Box (claude 3 haiku)", "aws__claude_3_haiku"), e("Box (titan text lite)", "aws__titan_text_lite"), e("Box (titan text express)", "aws__titan_text_express")], o = {
25
+ agents: i,
26
+ selectedAgent: i.find((t) => t.isSelected)
27
27
  };
28
28
  export {
29
- a as agentList,
29
+ i as agentList,
30
30
  o as agentState
31
31
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@box/box-ai-content-answers",
3
- "version": "0.71.3",
3
+ "version": "0.72.1",
4
4
  "peerDependencies": {
5
5
  "@box/blueprint-web": "^7.8.0",
6
6
  "@box/blueprint-web-assets": "^4.16.0",
@@ -14,9 +14,9 @@
14
14
  "remarkable": "^2.0.1"
15
15
  },
16
16
  "devDependencies": {
17
- "@box/blueprint-web": "^9.3.0",
17
+ "@box/blueprint-web": "^9.3.1",
18
18
  "@box/blueprint-web-assets": "^4.30.1",
19
- "@box/box-ai-agent-selector": "^0.17.11",
19
+ "@box/box-ai-agent-selector": "^0.17.12",
20
20
  "@box/storybook-utils": "^0.8.0",
21
21
  "@testing-library/react": "^15.0.6",
22
22
  "react": "^18.3.0",
@@ -54,5 +54,5 @@
54
54
  "**/*.css"
55
55
  ],
56
56
  "license": "SEE LICENSE IN LICENSE",
57
- "gitHead": "443177ffa309257fcee35e12328a2d4e94b5ee39"
57
+ "gitHead": "3ca9db9ebc750eda29f3a1c71326fedd318dde5c"
58
58
  }