> For the complete documentation index, see [llms.txt](https://docs-v3.activeloop.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs-v3.activeloop.ai/v3.0.0/how-it-works.md).

# How Deep Lake Works

- [Data Layout](https://docs-v3.activeloop.ai/v3.0.0/how-it-works/data-layout.md): Understanding the data layout in Deep Lake
- [Tensor Relationships](https://docs-v3.activeloop.ai/v3.0.0/how-it-works/tensor-relationships.md): Understanding the correct data layout for successful visualization.
- [Visualizer Integration](https://docs-v3.activeloop.ai/v3.0.0/how-it-works/visualizer-integration.md): How to embed our visualizer in your application.
- [Shuffling in ds.pytorch()](https://docs-v3.activeloop.ai/v3.0.0/how-it-works/shuffling-in-ds.pytorch.md): Understanding data shuffling in Deep Lake's pytorch dataloader
- [Storage Synchronization](https://docs-v3.activeloop.ai/v3.0.0/how-it-works/storage-synchronization.md): Synchronizing data with long-term storage and achieving optimal performance using Deep Lake.
- [How to Contribute](https://docs-v3.activeloop.ai/v3.0.0/how-it-works/how-to-contribute.md): Guidelines for open source enthusiasts to contribute to our open-source data format.


---

# 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-v3.activeloop.ai/v3.0.0/how-it-works.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.
