Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions 6-Box_agents_and_AI_APIs.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
"source": [
"# Box Agents with Box AI\n",
"\n",
"In this notebook, we will learn how to use the Enhanced Extract Agent with the Box AI API `/extract_structured` endpoint to extract information from a single file in Box. In the last example, we used a Box Metadata Template. In this example, we will define the fields we want directly inline in the API call itself. We will extract this data from a stock purchas agreement.\n",
"In this notebook, we will learn how to use the Enhanced Extract Agent with the Box AI API `/extract_structured` endpoint to extract information from a single file in Box. In the last example, we used a Box Metadata Template. In this example, we will define the fields we want directly inline in the API call itself. We will extract this data from a stock purchase agreement.\n",
"\n",
"We will also show you how to call a Box AI Studio agent from the Box AI API `/ask` endpoint from a single file. For this, we will analyze a due dilligence document.\n",
"We will also show you how to call a Box AI Studio agent from the Box AI API `/ask` endpoint from a single file. For this, we will analyze a due diligence document.\n",
"\n",
"## Prequisites\n",
"\n",
Expand Down Expand Up @@ -95,7 +95,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"File Name: Legal Due Dilligence Documents.docx,File ID: 1965333529583\n",
"File Name: Legal Due Diligence Documents.docx,File ID: 1965333529583\n",
"File Name: STOCK PURCHASE AGREEMENT.docx,File ID: 1965327798264\n"
]
}
Expand Down Expand Up @@ -255,7 +255,7 @@
" prompt,\n",
" [\n",
" AiItemAsk(\n",
" id=file_ids[\"Legal Due Dilligence Documents.docx\"],\n",
" id=file_ids[\"Legal Due Diligence Documents.docx\"],\n",
" type=AiItemAskTypeField.FILE,\n",
" )\n",
" ]\n",
Expand Down Expand Up @@ -339,7 +339,7 @@
" prompt,\n",
" [\n",
" AiItemAsk(\n",
" id=file_ids[\"Legal Due Dilligence Documents.docx\"],\n",
" id=file_ids[\"Legal Due Diligence Documents.docx\"],\n",
" type=AiItemAskTypeField.FILE,\n",
" )\n",
" ],\n",
Expand Down Expand Up @@ -563,7 +563,7 @@
" prompt,\n",
" [\n",
" AiItemAsk(\n",
" id=file_ids[\"Legal Due Dilligence Documents.docx\"],\n",
" id=file_ids[\"Legal Due Diligence Documents.docx\"],\n",
" type=AiItemAskTypeField.FILE,\n",
" )\n",
" ],\n",
Expand Down