Go SDKAPI ReferenceOperationsCreateEmbeddingsRequest - Go SDKCopy pageCreateEmbeddingsRequest type definitionThe Go SDK and docs are currently in beta. Report issues on GitHub. Embeddings request input Fields FieldTypeRequiredDescriptionExampleInputoperations.InputUnion✔️Text, token, or multimodal input(s) to embedThe quick brown fox jumps over the lazy dogModelstring✔️The model to use for embeddingsopenai/text-embedding-3-smallEncodingFormat*operations.EncodingFormat➖The format of the output embeddingsfloatDimensions*int64➖The number of dimensions for the output embeddings1536User*string➖A unique identifier for the end-useruser-1234Provideroptionalnullable.OptionalNullable[components.ProviderPreferences]➖N/A{"allow_fallbacks": true}InputType*string➖The type of input (e.g. search_query, search_document)search_query