> For the complete documentation index, see [llms.txt](https://docs.bdb.ai/data-science-lab-4/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.bdb.ai/data-science-lab-4/repo-sync-project/tabs-for-a-data-science-lab-project/tabs-for-pyspark-environment/notebook/notebook-page/cells-for-.ipynb-files/using-an-assist-cell.md).

# Using an Assist Cell

BDB Assist is designed to be a transparent and explainable AI assistant. Our notebook system guarantees that every AI recommendation transforms into transparent and replicable outcomes, enabling data teams to place unprecedented trust in AI.

Some of the key features of the BDB Assist are as listed below:

1. ***Generate Code Automatically:*** Starting from scratch is no longer a hurdle with BDB Assist code generation capability. Simply provide your prompts, questions, or instructions, and watch as an entire notebook— including code, SQL queries, and text — materializes before your eyes.
2. ***Explain the code:*** BDB Assist doesn't let complex pieces of code baffle you anymore with concise, easy-to-understand explanations.
3. ***Debug & Edit the code*****:** BDB Assist helps you to revise or refactor your code, pinpoints the issue, and provides an immediate fix.

Steps to use an Assist cell:

* Navigate to a ipynb file.
* Add a code cell using the Pre Cell icon.
* Click on the ***Assist*** option.
* The Assist cell gets inserted below.

<figure><img src="/files/ECk4kC7exUXkJWNT2A6E" 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="/files/o5grCJNVOdG2xCymnatr" 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="/files/fwn67M0WzXhkNo7NWQwq" 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="/files/7CaWM0v2It3zx2k0yiyL" alt=""><figcaption></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 %}
