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
--metadata-template=<value> The metadata template containing the fields to extract.
118
121
--no-color Turn off colors for logging
@@ -126,7 +129,7 @@ DESCRIPTION
126
129
EXAMPLES
127
130
$ 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"
128
131
129
-
$ 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","basicText":{"llmEndpointParams":{"type":"openai_params","frequencyPenalty": 1.5,"presencePenalty": 1.5,"stop": "<|im_end|>","temperature": 0,"topP": 1},"model":"azure__openai__gpt_4o_mini","numTokensForCompletion": 8400,"promptTemplate": "It is, consider these travel options and answer the.","systemMessage": "You are a helpful travel assistant specialized in budget travel"}}}'
132
+
$ 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"}}'
| JWT | Server-to-server automation | No |`box configure:environments:add /path/to/config.json`|
29
+
| CCG | Server-to-server automation (no keypair) | No |`box configure:environments:add /path/to/config.json --ccg-auth`|
30
+
22
31
### Developer Token
23
32
24
33
A developer token is a token that you can generate directly from the [Box Developer Console][dev-console]. It provides a quick way to test API calls without setting up a full authentication flow.
Copy file name to clipboardExpand all lines: docs/login.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ Login options:
8
8
(1) Official Box CLI App
9
9
No app setup needed. Use --default-box-app (-d) to skip the prompt.
10
10
11
-
(2) Your own Platform OAuth app
11
+
(2) Your own Platform OAuth App
12
12
Enter your Client ID and Client Secret when prompted. Use --platform-app to skip the prompt.
13
13
14
14
Quickstart: run "box login -d" to sign in immediately. A browser window will open for authorization. Once access is granted, the environment is created and set as default — you can start running commands right away.
@@ -70,7 +70,7 @@ DESCRIPTION
70
70
(1) Official Box CLI App
71
71
No app setup needed. Use --default-box-app (-d) to skip the prompt.
72
72
73
-
(2) Your own Platform OAuth app
73
+
(2) Your own Platform OAuth App
74
74
Enter your Client ID and Client Secret when prompted. Use --platform-app to skip the prompt.
75
75
76
76
Quickstart: run "box login -d" to sign in immediately. A browser window will open for authorization. Once access is
0 commit comments