SfapApiEmbeddingsRequestBody

@Serializable
data class SfapApiEmbeddingsRequestBody(val input: Array<String>)

Models a sfap_api embeddings endpoint request. See https://developer.salesforce.com/docs/einstein/genai/references/models-api?meta=generateText

Constructors

Link copied to clipboard
constructor(input: Array<String>)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
fun toJson(): String

Encodes this request body to JSON text.