> ## Documentation Index
> Fetch the complete documentation index at: https://docs.odella.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Data Types

> A comprehensive guide to data types used in workflows

| Type                    | Description                               | TypeScript Equivalent                                                      | Notes                                                                                                |
| ----------------------- | ----------------------------------------- | -------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- |
| `any`                   | Can store any type of data                | `unknown`                                                                  | Use sparingly; Odella attempts to infer or coerce to a specific type when possible                   |
| `boolean`               | True or false value                       | `boolean`                                                                  | Equivalent to JavaScript boolean                                                                     |
| `string`                | Text data                                 | `string`                                                                   | Equivalent to JavaScript string                                                                      |
| `number`                | Numeric value                             | `number`                                                                   | Equivalent to JavaScript number                                                                      |
| `date`                  | Date value                                | `string`                                                                   | Stored as ISO-8601 date string                                                                       |
| `time`                  | Time value                                | `string`                                                                   | Stored as ISO-8601 time string                                                                       |
| `datetime`              | Date and time value                       | `string`                                                                   | Stored as ISO-8601 datetime string                                                                   |
| `chat-message`          | Representation of a chat message for LLMs | `{ type: string; message: string; name?: string; function_call?: string }` | Includes metadata such as sender information                                                         |
| `object`                | Complex data structure                    | `Record<string, unknown>`                                                  | Similar to JavaScript object; may sometimes be used interchangeably with `any` or represent an array |
| `control-flow-excluded` | Value excluded from control flow          | `undefined`                                                                | Used in specific control flow scenarios                                                              |
| `vector`                | Numeric vector                            | `number[]`                                                                 | Commonly used for embeddings in machine learning contexts                                            |
| `image`                 | Image data                                | `{ mediaType: string; data: UInt8Array; }`                                 | Includes media type information                                                                      |
| `audio`                 | Audio data                                | `{ mediaType: string; data: UInt8Array; }`                                 | Includes media type information                                                                      |
| `binary`                | Raw binary data                           | `UInt8Array`                                                               | Used for handling binary file contents or other raw data                                             |

<Callout type="warning">
  When integrating with Odella, ensure you handle these data types correctly to maintain data integrity and workflow functionality.
</Callout>
