> For the complete documentation index, see [llms.txt](https://academy.dnanexus.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://academy.dnanexus.com/mlaccelerator/automlassistant/storage-architecture-and-file-specification.md). Agents can also search and read this documentation through its [MCP server](https://academy.dnanexus.com/~gitbook/mcp).

# Storage Architecture & File Specification

The following section outlines the directory structure and file types within the user project. The root folder of these files and folders are at /automl.

> ⚠️ Note: The /automl directory stores conversation logs and artifacts that define your session history. While these files are accessible, users should treat this directory as read-only and avoid modifying its contents to ensure data integrity and proper functionality of AutoML Assistant.

## Data Cache (Vector & Graph Stores)

* **Cached Data Index (cache/weaviate/)**
  * Type: Tarball / Dataset
  * Description: Compressed Weaviate vector database indices used for high-performance semantic search across the metadata of datasets.
* **Cached Dataset Lexical Strand (cache/surrealdb/datasets/)**
  * Type: Tarball / Dataset
  * Description: Lexical and relational metadata for specific datasets stored in SurrealDB format to support structured queries.
* **Cached Cohort Lexical Strand (cache/surrealdb/cohorts/)**
  * Type: Tarball / Cohort
  * Description: Specific relational data and indices for defined patient or sample cohorts.

## User & Session Management

* **User Profile Directory (users/user-\[id]/)**
  * Type: Directory / User
  * Description: The root container for all user-specific settings, preferences, and session history.
* **Settings (settings.record)**
  * Type: Record / User
  * Description: A binary or structured record file containing user-specific application preferences and interface configurations.
* **Conversation-User Links (conversations-v2.record)**
  * Type: Record / User
  * Description: A mapping file that associates specific conversation IDs with the user's profile, used for populating the user's chat history list.

## Conversation Session Details

The below folders and data are under the users/user-\[id]/ folder

### **Conversation Session (conversations/\[conversation\_uuid]/)**

* Type: Directory / Conversation
* Description: A dedicated workspace for a single AI interaction session, containing all logs, plans, and generated artifacts.

### **Conversation History (history/chunk\[nnn].record)**

* Type: Record / Conversation
* Description: Segmented log files (chunks) containing the actual dialogue exchange between the user and the AI.

### **Artifact-Conversation Map (artifacts.record)**

* Type: Record / Conversation
* Description: Metadata linking generated files or datasets to the specific point in the conversation where they were created.

### **Artifact Data (artifacts/\[name].\[file-format])**

* Type: File / Artifact
* Description: The actual output files generated by the system during a session. The file format depends on the type of artifact:
  * Dataframe artifact: .parquet (Parquet tables)
  * Notebook artifact: .ipynb (Jupyter Notebooks)
  * Model artifact: .pkl (Pickled objects of a [scikit-learn Estimator](https://scikit-learn.org/stable/modules/generated/sklearn.base.BaseEstimator.html))
  * Chart artifact: .png (PNG images)

### **Plan-Conversation (plans.record)**

* Type: Record / Conversation
* Description: A record of the execution steps or "thought process" the agent intended to follow to fulfill user requests.

### **Session Log (log.txt)**

* Type: File / Conversation
* Description: A plaintext execution log used for debugging and tracking backend system calls during the conversation.


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://academy.dnanexus.com/mlaccelerator/automlassistant/storage-architecture-and-file-specification.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
