You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sends an AI request to supported Large Language Models (LLMs) and extracts metadata in form of key-value pairs
52
+
Sends an AI request to supported Large Language Models (LLMs) and extracts metadata in form of key-value pairs. This is intended for direct use, not by AI agents.
53
53
54
54
```
55
55
USAGE
@@ -79,7 +79,8 @@ FLAGS
79
79
--save-to-file-path=<value> Override default file path to save report
80
80
81
81
DESCRIPTION
82
-
Sends an AI request to supported Large Language Models (LLMs) and extracts metadata in form of key-value pairs
82
+
Sends an AI request to supported Large Language Models (LLMs) and extracts metadata in form of key-value pairs. This
Sends an AI request to supported Large Language Models (LLMs) and returns extracted metadata as a set of key-value pairs. For this request, you either need a metadata template or a list of fields you want to extract. Input is either a metadata template or a list of fields to ensure the structure.
95
+
Sends an AI request to supported Large Language Models (LLMs) and returns extracted metadata as a set of key-value pairs. For this request, you either need a metadata template or a list of fields you want to extract. Input is either a metadata template or a list of fields to ensure the structure. This is intended for direct use, not by AI agents.
95
96
96
97
```
97
98
USAGE
@@ -124,7 +125,7 @@ FLAGS
124
125
DESCRIPTION
125
126
Sends an AI request to supported Large Language Models (LLMs) and returns extracted metadata as a set of key-value
126
127
pairs. For this request, you either need a metadata template or a list of fields you want to extract. Input is either
127
-
a metadata template or a list of fields to ensure the structure.
128
+
a metadata template or a list of fields to ensure the structure. This is intended for direct use, not by AI agents.
128
129
129
130
EXAMPLES
130
131
$ box ai:extract-structured --items="id=12345,type=file" --fields "key=hobby,type=multiSelect,description=Person hobby,prompt=What is your hobby?,displayName=Hobby,options=Guitar;Books"
Sends an AI request to supported LLMs and returns an answer specifically focused on the creation of new text.
140
+
Sends an AI request to supported LLMs and returns an answer specifically focused on the creation of new text. This is intended for direct use, not by AI agents.
140
141
141
142
```
142
143
USAGE
@@ -165,7 +166,8 @@ FLAGS
165
166
--save-to-file-path=<value> Override default file path to save report
166
167
167
168
DESCRIPTION
168
-
Sends an AI request to supported LLMs and returns an answer specifically focused on the creation of new text.
169
+
Sends an AI request to supported LLMs and returns an answer specifically focused on the creation of new text. This is
170
+
intended for direct use, not by AI agents.
169
171
170
172
EXAMPLES
171
173
$ box ai:text-gen --dialogue-history=prompt="What is the status of this document?",answer="It is in review",created-at="2024-07-09T11:29:46.835Z" --items=id=12345,type=file --prompt="What is the status of this document?"
Copy file name to clipboardExpand all lines: package.json
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
{
2
2
"name": "@box/cli",
3
-
"description": "Official command line interface for the Box API. New here? Run 'box login -d' to sign in with your Box account in seconds. Already set up? Run 'box help' to explore all available commands.",
3
+
"description": "Official command line interface for the Box API.",
4
4
"keywords": [
5
5
"box",
6
6
"cli",
@@ -88,6 +88,7 @@
88
88
"/src"
89
89
],
90
90
"oclif": {
91
+
"description": "Official command line interface for the Box API. New here? Run 'box login -d' to sign in with your Box account in seconds. Already set up? Run 'box help' to explore all available commands.",
Copy file name to clipboardExpand all lines: src/commands/ai/extract-structured.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -41,7 +41,7 @@ class AiExtractStructuredCommand extends BoxCommand {
41
41
}
42
42
43
43
AiExtractStructuredCommand.description=
44
-
'Sends an AI request to supported Large Language Models (LLMs) and returns extracted metadata as a set of key-value pairs. For this request, you either need a metadata template or a list of fields you want to extract. Input is either a metadata template or a list of fields to ensure the structure.';
44
+
'Sends an AI request to supported Large Language Models (LLMs) and returns extracted metadata as a set of key-value pairs. For this request, you either need a metadata template or a list of fields you want to extract. Input is either a metadata template or a list of fields to ensure the structure. This is intended for direct use, not by AI agents.';
45
45
AiExtractStructuredCommand.examples=[
46
46
'box ai:extract-structured --items="id=12345,type=file" --fields "key=hobby,type=multiSelect,description=Person hobby,prompt=What is your hobby?,displayName=Hobby,options=Guitar;Books"',
47
47
'box ai:extract-structured --items="id=12345,type=file" --metadata-template="type=metadata_template,scope=enterprise,template_key=test" --ai-agent \'{"type":"ai_agent_extract_structured","basic_text":{"model":"azure__openai__gpt_4o_mini","prompt_template":"Answer using the provided content"}}\'',
Copy file name to clipboardExpand all lines: src/commands/ai/extract.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,7 @@ class AiExtractCommand extends BoxCommand {
27
27
}
28
28
29
29
AiExtractCommand.description=
30
-
'Sends an AI request to supported Large Language Models (LLMs) and extracts metadata in form of key-value pairs';
30
+
'Sends an AI request to supported Large Language Models (LLMs) and extracts metadata in form of key-value pairs. This is intended for direct use, not by AI agents.';
Copy file name to clipboardExpand all lines: src/commands/ai/text-gen.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@ class AiTextGenCommand extends BoxCommand {
26
26
}
27
27
28
28
AiTextGenCommand.description=
29
-
'Sends an AI request to supported LLMs and returns an answer specifically focused on the creation of new text.';
29
+
'Sends an AI request to supported LLMs and returns an answer specifically focused on the creation of new text. This is intended for direct use, not by AI agents.';
30
30
AiTextGenCommand.examples=[
31
31
'box ai:text-gen --dialogue-history=prompt="What is the status of this document?",answer="It is in review",created-at="2024-07-09T11:29:46.835Z" --items=id=12345,type=file --prompt="What is the status of this document?"',
0 commit comments