BaseInputsUnion - TypeScript SDK

BaseInputsUnion type definition

The TypeScript SDK and docs are currently in beta. Report issues on GitHub.

Supported Types

string

1const value: string = "<value>";

models.BaseInputsUnion1[]

1const value: models.BaseInputsUnion1[] = [
2 {
3 content: "What is the weather today?",
4 role: "user",
5 },
6];

any

1const value: any = [
2 {
3 "content": "What is the weather today?",
4 "role": "user",
5 },
6];