Document - Go SDK
Document - Go SDK
Document type definition
The Go 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
DocumentRequest
Union Discrimination
Use the Type field to determine which variant is active, then access the corresponding field: