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

# BaseInputsUnion - TypeScript SDK

> BaseInputsUnion type definition

<Warning>
  The TypeScript SDK and docs are currently in beta.
  Report issues on [GitHub](https://github.com/OpenRouterTeam/typescript-sdk/issues).
</Warning>

## Supported Types

### `string`

```typescript lines theme={null}
const value: string = "<value>";
```

### `models.BaseInputsUnion1[]`

```typescript lines theme={null}
const value: models.BaseInputsUnion1[] = [
  {
    content: "What is the weather today?",
    role: "user",
  },
];
```

### `any`

```typescript lines theme={null}
const value: any = [
  {
    "content": "What is the weather today?",
    "role": "user",
  },
];
```
