Supported Types
CreateRerankResponseBody
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.
createRerankResponse := operations.CreateCreateRerankResponseCreateRerankResponseBody(operations.CreateRerankResponseBody{/* values here */})
createRerankResponse := operations.CreateCreateRerankResponseStr(string{/* values here */})
Type field to determine which variant is active, then access the corresponding field:
switch createRerankResponse.Type {
case operations.CreateRerankResponseTypeCreateRerankResponseBody:
// createRerankResponse.CreateRerankResponseBody is populated
case operations.CreateRerankResponseTypeStr:
// createRerankResponse.Str is populated
}