diff --git a/2-Document_QnA_with_ask.ipynb b/2-Document_QnA_with_ask.ipynb index 79c9efe..83e74a3 100644 --- a/2-Document_QnA_with_ask.ipynb +++ b/2-Document_QnA_with_ask.ipynb @@ -9,7 +9,7 @@ "\n", "In this notebook, we will learn how to use the Box AI API `/ask` endpoint to ask questions from a single file in Box. Specifically, we will have access to a PDF file containing federal policy information for the US Parole Commission.\n", "\n", - "## Prequisites\n", + "## Prerequisites\n", "\n", "You must have completed the Setup notebook first. This will create all of the Box objects, folders, and files that you need, and will have created an environment file to help you get started and import all the libraries you will need.\n", "\n", diff --git a/3-Hub_QnA_with_ask.ipynb b/3-Hub_QnA_with_ask.ipynb index 1d40730..7fd6dbe 100644 --- a/3-Hub_QnA_with_ask.ipynb +++ b/3-Hub_QnA_with_ask.ipynb @@ -9,7 +9,7 @@ "\n", "In this notebook, we will learn how to use the Box AI API `/ask` endpoint with a Box Hub to ask questions across a curated list of files in Box. Specifically, we will have access to a a series of documents related to a clinical drug trial. \n", "\n", - "## Prequisites\n", + "## Prerequisites\n", "\n", "You must have completed the Setup notebook first. This will create all of the Box objects, folders, and files that you need, and will have created an environment file to help you get started and import all the libraries you will need.\n", "\n", diff --git a/4-Flexible_extraction_with_extract copy.ipynb b/4-Flexible_extraction_with_extract copy.ipynb index 98634f4..d74bc4a 100644 --- a/4-Flexible_extraction_with_extract copy.ipynb +++ b/4-Flexible_extraction_with_extract copy.ipynb @@ -9,7 +9,7 @@ "\n", "In this notebook, we will learn how to use the Box AI API `/extract` endpoint to extract key/value pairs from a single file in Box. In this exercise, we will be using a PDF containing a W-2 form.\n", "\n", - "## Prequisites\n", + "## Prerequisites\n", "\n", "You must have completed the Setup notebook first. This will create all of the Box objects, folders, and files that you need, and will have created an environment file to help you get started and import all the libraries you will need.\n", "\n", @@ -121,7 +121,7 @@ "\n", "ai_response = client.ai.create_ai_extract(\n", " prompt,\n", - " [AiItemBase(id=file.id)],\n", + " [AiItemBase(id=file_id)],\n", ")\n", "\n", "print (ai_response.answer)" diff --git a/5-Structured_extraction_with_extract_structured copy.ipynb b/5-Structured_extraction_with_extract_structured copy.ipynb index db4525e..987afea 100644 --- a/5-Structured_extraction_with_extract_structured copy.ipynb +++ b/5-Structured_extraction_with_extract_structured copy.ipynb @@ -9,7 +9,7 @@ "\n", "In this notebook, we will learn how to use the Box AI API `/extract_structured` endpoint to extract key/value pairs from files in Box based on a pre-configured Box Metadata template. The files we will be using are 5 invoices. \n", "\n", - "## Prequisites\n", + "## Prerequisites\n", "\n", "You must have completed the Setup notebook first. This will create all of the Box objects, folders, and files that you need, and will have created an environment file to help you get started and import all the libraries you will need.\n", "\n", diff --git a/6-Box_agents_and_AI_APIs.ipynb b/6-Box_agents_and_AI_APIs.ipynb index 9423e37..254acb5 100644 --- a/6-Box_agents_and_AI_APIs.ipynb +++ b/6-Box_agents_and_AI_APIs.ipynb @@ -11,7 +11,7 @@ "\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", "\n", - "## Prequisites\n", + "## Prerequisites\n", "\n", "You must have completed the Setup notebook first. This will create all of the Box objects, folders, and files that you need, and will have created an environment file to help you get started and import all the libraries you will need.\n", "\n",