# Using an Assist Cell

Steps to use an Assist cell:

* Navigate to a Notebook.
* Click on the ***Assist*** option.
* The Assist cell gets inserted below.

<figure><img src="https://4082649235-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1QeOywZjV1cHo55cMW8u%2Fuploads%2F7ZiH6Reypug3KExY1WG5%2Fimage.png?alt=media&#x26;token=9891e5d1-1409-4e25-8f44-6156f5cb28d2" alt=""><figcaption></figcaption></figure>

* Type a prompt in the Assist cell.
* Click the ***Send*** icon.
* The response based on your prompt gets generated below.

<figure><img src="https://content.gitbook.com/content/1QeOywZjV1cHo55cMW8u/blobs/us4TstHtkksEhVWTBN67/image.png" alt=""><figcaption></figcaption></figure>

* Since the generated result in this case is a code. Add a new code cell and copy the generated code in it.
* Run the code cell.

<figure><img src="https://content.gitbook.com/content/1QeOywZjV1cHo55cMW8u/blobs/6cuO7yEWaYzgoYtMhoQI/image.png" alt=""><figcaption><p><em><strong>Running the generated code</strong></em></p></figcaption></figure>

* The Bar plot gets generated below the code cell.

<figure><img src="https://4082649235-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1QeOywZjV1cHo55cMW8u%2Fuploads%2FZhyoskrGqDAYuVF5P1fR%2Fimage.png?alt=media&#x26;token=3325aa6a-00ba-4b3e-8766-2296ded401d4" alt=""><figcaption><p><em><strong>Bar chart based on the Assist generated code</strong></em></p></figcaption></figure>

{% hint style="info" %}
*<mark style="color:green;">Please Note:</mark> Refer the* [***Data Science Lab Quick Start Flow***](https://docs.bdb.ai/data-science-lab-4/data-science-lab-quick-start-flow) *page to get an overview of the **Data Science Lab** module in nutshell.*&#x20;
{% endhint %}


---

# 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://docs.bdb.ai/data-science-lab-4/project/tabs-for-a-data-science-lab-project/tabs-for-pyspark-environment/notebook/notebook-page/notebook-cells/using-an-assist-cell.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.
