@box/box-ai-content-answers 0.106.1 → 0.107.0
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.
|
@@ -38,7 +38,7 @@ const n = e({
|
|
|
38
38
|
},
|
|
39
39
|
inlineErrorText: {
|
|
40
40
|
id: "boxAI.contentAnswers.inlineErrorText",
|
|
41
|
-
defaultMessage: "
|
|
41
|
+
defaultMessage: "Box AI is having trouble generating a response right now. Please try again."
|
|
42
42
|
},
|
|
43
43
|
inlineRateLimitingErrorText: {
|
|
44
44
|
id: "boxAI.contentAnswers.inlineRateLimitingErrorText",
|
package/i18n/en-US.js
CHANGED
|
@@ -22,7 +22,7 @@ export default {
|
|
|
22
22
|
"boxAI.contentAnswers.disabledTooltipPermissionsLoading": "Checking permissions...",
|
|
23
23
|
"boxAI.contentAnswers.hasQuestionsTooltip": "Return to Box AI",
|
|
24
24
|
"boxAI.contentAnswers.inlineAgentNotFoundErrorText": "The selected agent is unavailable. Switching to the default agent.",
|
|
25
|
-
"boxAI.contentAnswers.inlineErrorText": "
|
|
25
|
+
"boxAI.contentAnswers.inlineErrorText": "Box AI is having trouble generating a response right now. Please try again.",
|
|
26
26
|
"boxAI.contentAnswers.inlineNoContentErrorText": "Relevant content cannot be found. Please try again later or ask a different question.",
|
|
27
27
|
"boxAI.contentAnswers.inlinePreconditionFailedErrorText": "Additional time is needed to process this {type}, please try again later.",
|
|
28
28
|
"boxAI.contentAnswers.inlineRateLimitingErrorText": "Box AI currently has limited capacity (we're working to expand bandwidth). Please try again in a few minutes.",
|
package/i18n/en-US.properties
CHANGED
|
@@ -45,7 +45,7 @@ boxAI.contentAnswers.hasQuestionsTooltip = Return to Box AI
|
|
|
45
45
|
# Content Answers error message when the answer fails due to an invalid agent
|
|
46
46
|
boxAI.contentAnswers.inlineAgentNotFoundErrorText = The selected agent is unavailable. Switching to the default agent.
|
|
47
47
|
# Content Answers error message when the service fails
|
|
48
|
-
boxAI.contentAnswers.inlineErrorText =
|
|
48
|
+
boxAI.contentAnswers.inlineErrorText = Box AI is having trouble generating a response right now. Please try again.
|
|
49
49
|
# Content Answers error message when the service returns 204 (no content)
|
|
50
50
|
boxAI.contentAnswers.inlineNoContentErrorText = Relevant content cannot be found. Please try again later or ask a different question.
|
|
51
51
|
# Content Answers error message when the AI service has not yet processed the file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
[{"id":"boxAI.contentAnswers.basedOn","description":"Label for the references used for generating the answer from the AI service","defaultMessage":"Based on:"},{"id":"boxAI.contentAnswers.cardTooltipButton","description":"Text for button to open citation reference in a new tab","defaultMessage":"Open document"},{"id":"boxAI.contentAnswers.cardTooltipTitle","description":"Title of citation card tooltip in answer references section","defaultMessage":"From document:"},{"id":"boxAI.contentAnswers.cardTooltipTitleWithDocumentName","description":"Title of citation card tooltip in answer references section with document title","defaultMessage":"From \"{title}\":"},{"id":"boxAI.textInputWithCopyButton.copyButtonSuccessText","description":"Text for copy button in input with copy button indicating copy success","defaultMessage":"Copied"},{"id":"boxAI.contentAnswers.copyToClipboard","description":"Copy to clipboard tooltip","defaultMessage":"Copy to Clipboard"},{"id":"boxAI.contentAnswers.copyToClipboardSucceeded","description":"Notification displayed to the user when the answer has been successfully copied to the clipboard","defaultMessage":"Copied to your clipboard"},{"id":"boxAI.contentAnswers.inlineNoContentErrorText","description":"Content Answers error message when the service returns 204 (no content)","defaultMessage":"Relevant content cannot be found. Please try again later or ask a different question."},{"id":"boxAI.contentAnswers.inlineAgentNotFoundErrorText","description":"Content Answers error message when the answer fails due to an invalid agent","defaultMessage":"The selected agent is unavailable. Switching to the default agent."},{"id":"boxAI.contentAnswers.inlineErrorText","description":"Content Answers error message when the service fails","defaultMessage":"
|
|
1
|
+
[{"id":"boxAI.contentAnswers.basedOn","description":"Label for the references used for generating the answer from the AI service","defaultMessage":"Based on:"},{"id":"boxAI.contentAnswers.cardTooltipButton","description":"Text for button to open citation reference in a new tab","defaultMessage":"Open document"},{"id":"boxAI.contentAnswers.cardTooltipTitle","description":"Title of citation card tooltip in answer references section","defaultMessage":"From document:"},{"id":"boxAI.contentAnswers.cardTooltipTitleWithDocumentName","description":"Title of citation card tooltip in answer references section with document title","defaultMessage":"From \"{title}\":"},{"id":"boxAI.textInputWithCopyButton.copyButtonSuccessText","description":"Text for copy button in input with copy button indicating copy success","defaultMessage":"Copied"},{"id":"boxAI.contentAnswers.copyToClipboard","description":"Copy to clipboard tooltip","defaultMessage":"Copy to Clipboard"},{"id":"boxAI.contentAnswers.copyToClipboardSucceeded","description":"Notification displayed to the user when the answer has been successfully copied to the clipboard","defaultMessage":"Copied to your clipboard"},{"id":"boxAI.contentAnswers.inlineNoContentErrorText","description":"Content Answers error message when the service returns 204 (no content)","defaultMessage":"Relevant content cannot be found. Please try again later or ask a different question."},{"id":"boxAI.contentAnswers.inlineAgentNotFoundErrorText","description":"Content Answers error message when the answer fails due to an invalid agent","defaultMessage":"The selected agent is unavailable. Switching to the default agent."},{"id":"boxAI.contentAnswers.inlineErrorText","description":"Content Answers error message when the service fails","defaultMessage":"Box AI is having trouble generating a response right now. Please try again."},{"id":"boxAI.contentAnswers.inlineRateLimitingErrorText","description":"Content Answers error message when the service fails due to rate limiting","defaultMessage":"Box AI currently has limited capacity (we're working to expand bandwidth). Please try again in a few minutes."},{"id":"boxAI.contentAnswers.inlinePreconditionFailedErrorText","description":"Content Answers error message when the AI service has not yet processed the file","defaultMessage":"Additional time is needed to process this {type}, please try again later."},{"id":"boxAI.contentAnswers.loadingAnswer","description":"Aria label to show while waiting for an answer","defaultMessage":"Loading Answer..."},{"id":"boxAI.contentAnswers.noReferences","description":"Loading message if there are no citations for an answer","defaultMessage":"Response based on general document analysis"},{"id":"boxAI.contentAnswers.referenceAriaLabel","description":"ARIA label designed for screen readers to enhance clarity during the reading of citations, minimizing confusion.","defaultMessage":"Reference {number}"},{"id":"boxAI.contentAnswers.responseInterruptedError","description":"Error message to be displayed within an answer during streaming mode if the answer was interrupted due to a lack of tokens.","defaultMessage":"Response Interrupted"},{"id":"boxAI.contentAnswers.responseFailedError","description":"Error message to be displayed within an answer during streaming mode if there was another error, such as network errors.","defaultMessage":"Response Failed"},{"id":"boxAI.contentAnswers.responseStoppedError","description":"Error message to be displayed within an answer during streaming mode if the answer was stopped using the Stop Response button.","defaultMessage":"Response Stopped"},{"id":"boxAI.contentAnswers.thumbsUpAriaLabel","description":"Aria label for thumbs up icon","defaultMessage":"Helpful"},{"id":"boxAI.contentAnswers.thumbsDownAriaLabel","description":"Aria label for thumbs down icon","defaultMessage":"Not helpful"}]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@box/box-ai-content-answers",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.107.0",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@box/blueprint-web": "^7.8.0",
|
|
6
6
|
"@box/blueprint-web-assets": "^4.35.0",
|
|
@@ -16,10 +16,10 @@
|
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
18
|
"@box/babel-plugin-target-attributes": "1.3.0",
|
|
19
|
-
"@box/blueprint-web": "^9.18.
|
|
19
|
+
"@box/blueprint-web": "^9.18.11",
|
|
20
20
|
"@box/blueprint-web-assets": "^4.36.0",
|
|
21
|
-
"@box/box-ai-agent-selector": "^0.32.
|
|
22
|
-
"@box/item-icon": "^0.9.
|
|
21
|
+
"@box/box-ai-agent-selector": "^0.32.2",
|
|
22
|
+
"@box/item-icon": "^0.9.93",
|
|
23
23
|
"@box/storybook-utils": "^0.8.3",
|
|
24
24
|
"@testing-library/react": "^15.0.6",
|
|
25
25
|
"react": "^18.3.0",
|
|
@@ -57,5 +57,5 @@
|
|
|
57
57
|
"**/*.css"
|
|
58
58
|
],
|
|
59
59
|
"license": "SEE LICENSE IN LICENSE",
|
|
60
|
-
"gitHead": "
|
|
60
|
+
"gitHead": "bbe0bea2497250a17f24425c1e8354b72ac174dd"
|
|
61
61
|
}
|