ChatAssistantMessageContent - TypeScript SDK

ChatAssistantMessageContent type definition

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

Assistant message content

Supported Types

string

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

models.ChatContentItems[]

1const value: models.ChatContentItems[] = [
2 {
3 text: "Hello, world!",
4 type: "text",
5 },
6];

any

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