# Test Drive Scenario

There are a couple of steps to complete in Fabric before kicking off the scenario. &#x20;

#### Step 1: Add a Lakehouse

i.  Log in to Microsoft Fabric: Go to [app.fabric.microsoft](https://app.fabric.microsoft.com/). &#x20;

ii. [Create a Lakehouse](https://fabricdocs.osmos.io/adding-data-into-a-lakehouse) folder and name it SalesOps

<figure><img src="/files/q6jQa7P8yaR4RW6Os0ZC" alt=""><figcaption></figcaption></figure>

iii. Create a Destination Table(s)\*

a. Below is a sample Lakehouse table schema for this scenario. The SQL script is run in a notebook, which will generate your table. Note that there are various methods for creating a schema.  &#x20;

{% hint style="info" %}
\*You can also instruct the Engineer to create tables for you.&#x20;
{% endhint %}

For help with[ creating a table.](https://learn.microsoft.com/en-us/fabric/data-engineering/create-lakehouse)&#x20;

```
%%sql
CREATE TABLE Sales_Orders_Daily (
Company STRING,
Order_Date DATE,
Order_No STRING,
Warehouse_ID STRING,
Part_Classification STRING,
Part_Name STRING,
Qty INT,
Price STRING,
Address STRING,
City STRING,
State STRING,
ZipCode STRING,
Phone STRING,
Notes STRING
) USING DELTA; 
```

#### Step 2: Add Data

i. [Upload your Source data files to the SalesOps folder in your Lakehouse](https://fabricdocs.osmos.io/adding-data-into-a-lakehouse)

a. Below are files: one source file and one table for lookups and joins.

{% file src="/files/upJFxyiGMzm6LKVocDL3" %}

{% file src="/files/HM8lZSO2rcVGaCLf0ZNI" %}

### AI Data Engineer Test Drive Scenario

1. [Add a new AI Data Engineer](/ai-data-agents-on-microsoft-fabric/ai-data-wrangler/ai-data-engineer/create-an-ai-data-engineer.md)
2. [Add Resource(s) and Instructions](/ai-data-agents-on-microsoft-fabric/ai-data-wrangler/ai-data-engineer/instruct-the-notebook.md)

{% tabs %}
{% tab title="Manually Provided Instructions" %}
\# Destination Table or Tables:

Sales\_Orders\_Daily

\# Source files:

All files in "SalesOps" folder. You may need to join data from the sales order file and the warehouse file.

\# Ingestion instructions:

1. If the Order Date field is blank, set the date to 01/01/1900
2. Remove $ from the Price.
3. Extract or Infer City, State, and Zip Code from Address
4. Phone number should be in (XXX) XXX-XXXX US Phone number format. You can skip the country code
5. Assign the Warehouse ID by joining on Part Description from Sample Orders and the Warehouse Part List.
6. Part Classification can only take one of these two values. Figure out how to map any values in the source to one of these five values.\
   Product\
   Service
   {% endtab %}
   {% endtabs %}

&#x20;3\. Select [Generate Notebook](/ai-data-agents-on-microsoft-fabric/ai-data-wrangler/ai-data-engineer/generate-notebook.md)

4. Select [Go to Notebook](/ai-data-agents-on-microsoft-fabric/ai-data-wrangler/ai-data-engineer/generate-notebook.md) to review the ready-to-run Python notebook based on your configuration instructions, source files, and destination schemas.  &#x20;
5. Run the Notebook to write the data to the destination schema.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://agenticdocs.osmos.io/ai-data-agents-on-microsoft-fabric/ai-data-wrangler/ai-data-engineer/test-drive-scenario.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
