text and/or image.
Supported Types
DocumentRequest
Union Discrimination
Use theType field to determine which variant is active, then access the corresponding field:
Documentation Index
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
text and/or image.
document := operations.CreateDocumentStr(string{/* values here */})
document := operations.CreateDocumentDocumentRequest(operations.DocumentRequest{/* values here */})
Type field to determine which variant is active, then access the corresponding field:
switch document.Type {
case operations.DocumentTypeStr:
// document.Str is populated
case operations.DocumentTypeDocumentRequest:
// document.DocumentRequest is populated
}