> For the complete documentation index, see [llms.txt](https://docs.bdb.ai/bdb-documentation/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/bdb-documentation/data-science-lab/various-tabs-to-work-with/notebook/notebook-page/notebook-cells.md).

# Notebook Cells

{% hint style="success" %}
*Check out this walk-through on Notebook cells.*
{% endhint %}

![Types of Notebook cells](/files/zfx5HL8CRcUAqUJo4Gmk)

A Notebook under the DS Lab plugin is a collection of cells. Cells that contain either explanatory text (Markdown) or executable code and its output. Click a cell to select it.

You can add new cells by using the [**+Code**](/bdb-documentation/data-science-lab/various-tabs-to-work-with/notebook/notebook-page/notebook-cells/using-a-code-cell.md) and [**+Markdown**](/bdb-documentation/data-science-lab/various-tabs-to-work-with/notebook/notebook-page/notebook-cells/using-a-markdown-cell.md) options given at the bottom of the cell.&#x20;

![](/files/JTUvdRRGLJWZSBFrC20U)

{% hint style="info" %} <mark style="color:green;">Please Note</mark>: *The Notebook cells options are also provided in the* [*<mark style="color:blue;">**Notebook Task Bar**</mark>*](/bdb-documentation/data-science-lab/various-tabs-to-work-with/notebook/notebook-page/notebook-task-bar.md) *under the **Code** tab.*

![](/files/n1kWT63gqihr8r7UgqHj)

{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.bdb.ai/bdb-documentation/data-science-lab/various-tabs-to-work-with/notebook/notebook-page/notebook-cells.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
