SfapApiGenerationsRequestBody

@Serializable
data class SfapApiGenerationsRequestBody(val prompt: String)

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

Parameters

prompt

The request prompt parameter value

Constructors

Link copied to clipboard
constructor(prompt: String)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
fun toJson(): String

Encodes this request body to JSON text.