Document - TypeScript SDK

Document type definition

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

A document to rerank. Either a plain string, or a structured object with optional text and/or image.

Supported Types

string

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

operations.DocumentRequest

1const value: operations.DocumentRequest = {};