---
# System prepended metadata

title: Data Collection Structure

---

# Data Collection Structure
```
{
    sessionId: String,
    userID: String
    threadString: String, // This contains everything
    generatedResponse: String, // The generated response
    model: String,
    tone: String,
    instructions: String,
    prompt: String,
    date: Number,
}

```

# Data Parsed Structure
```
{
    chainID: String,
    chainLength: Number,
    userID: String,
    thread: [
        {
            emailID: String, 
            emailContent: String,
            from: String,
            to: [],
            date: Number,
            generatedRespone: true | false,
            responseContent: String
        },
        {
            emailID: String,
            emailContent: String,
            from: String,
            to: [],
            date: Number,
            generatedRespone: true | false,
            responseContent: String
        },
        {
            emailID: String,
            emailContent: String,
            from: String,
            to: [],
            date: Number,
            generatedRespone: true | false,
            responseContent: String
        },
    ],
}

// emailID should help you determine the order
```