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
Copy file name to clipboardExpand all lines: docs/ai.md
+7-4Lines changed: 7 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -134,10 +134,13 @@ A response including the answer from the LLM.
134
134
## Extract metadata (structured)
135
135
136
136
Sends an AI request to supported Large Language Models (LLMs) and returns extracted metadata as a set of key-value pairs.
137
-
For this request, you either need a metadata template or a list of fields you want to extract.
138
-
Input is **either** a metadata template or a list of fields to ensure the structure.
139
-
To learn more about creating templates, see [Creating metadata templates in the Admin Console](https://support.box.com/hc/en-us/articles/360044194033-Customizing-Metadata-Templates)
140
-
or use the [metadata template API](g://metadata/templates/create). This endpoint also supports [Enhanced Extract Agent](g://box-ai/ai-tutorials/extract-metadata-structured/#enhanced-extract-agent).
137
+
138
+
To define the extraction structure, provide either a metadata template or a list of fields. To learn more about creating templates, see [Creating metadata templates in the Admin Console](https://support.box.com/hc/en-us/articles/360044194033-Customizing-Metadata-Templates)
139
+
or use the [metadata template API](g://metadata/templates/create).
140
+
141
+
This endpoint also supports [Enhanced Extract Agent](g://box-ai/ai-tutorials/extract-metadata-structured/#enhanced-extract-agent).
142
+
143
+
For information about supported file formats and languages, see the [Extract metadata from file (structured)](g://box-ai/ai-tutorials/extract-metadata-structured) API guide.
141
144
142
145
This operation is performed by calling function `createAiExtractStructured`.
0 commit comments