Supported Types
CreateEmbeddingsResponseBody
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.
createEmbeddingsResponse := operations.CreateCreateEmbeddingsResponseCreateEmbeddingsResponseBody(operations.CreateEmbeddingsResponseBody{/* values here */})
createEmbeddingsResponse := operations.CreateCreateEmbeddingsResponseStr(string{/* values here */})
Type field to determine which variant is active, then access the corresponding field:
switch createEmbeddingsResponse.Type {
case operations.CreateEmbeddingsResponseTypeCreateEmbeddingsResponseBody:
// createEmbeddingsResponse.CreateEmbeddingsResponseBody is populated
case operations.CreateEmbeddingsResponseTypeStr:
// createEmbeddingsResponse.Str is populated
}