> For the complete documentation index, see [llms.txt](https://docs.bdb.ai/data-science-lab-5/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-5/data-science-notebook/.ipynb-file-cells/using-an-assist-cell.md).

# Using an Assist Cell

This section focuses on the BDB Assist functionality provided inside the Data Science Notebook infrastructure.

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. 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 Notebook.
* Click on the ***Assist*** option.
* The Assist cell gets inserted below.

<figure><img src="https://3817372244-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fz33KQNYQvBTgQKJBgwTz%2Fuploads%2FbCCjmUZeJaAH9If2ayXf%2Fimage.png?alt=media&amp;token=98af4e0c-a9ac-45e5-be80-f9c125f97d16" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://3817372244-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fz33KQNYQvBTgQKJBgwTz%2Fuploads%2FcUgG3z7YWzXbyaOIMbsV%2Fimage.png?alt=media&amp;token=4b94fddd-c618-4b7b-8c22-cf965bd0277c" 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://3817372244-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fz33KQNYQvBTgQKJBgwTz%2Fuploads%2FxIFxeKRResMQVcg300Gl%2Fimage.png?alt=media&amp;token=9dcdb715-e701-4d4e-ad85-d32bf7b9ff27" alt=""><figcaption></figcaption></figure>

* The Bar plot gets generated below the code cell.

<figure><img src="https://3817372244-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fz33KQNYQvBTgQKJBgwTz%2Fuploads%2FgVBREa4uQl2DWkfJcjKe%2Fimage.png?alt=media&amp;token=19e7c74e-cc23-4e03-b0be-e80d47d57dac" alt=""><figcaption></figcaption></figure>
