ConnectApi.​EinsteinPrompt​Template​GenerationsInput

Prompt template input parameters to use for generation.

PropertyTypeDescriptionRequired or OptionalAvailable Version
additional​ConfigConnectApi.​EinsteinLlm​Additional​ConfigInputConfiguration information for the LLM provider.Required60.0
citationModeStringMode of citations for the specified prompt template. Valid values are:
  • post_generation—Citations are generated after the generated response for the specified prompt template.
  • off—Citations aren’t generated for the specified prompt template.
Optional62.0
inputParamsMap<String, ConnectApi.WrappedValue>Parameters and values to resolve the specified prompt template.Required60.0
isPreviewBooleanSpecifies whether to only resolve the prompt template (true) or to resolve the prompt template and generate an LLM response (false).Required60.0
outputLanguageStringLanguage code for the language to generate the LLM response in. See Supported Languages in Prompt Template Responses.Optional61.0
tagsConnectApi.WrappedValueMap of wrapped values, such as free-form user feedback, that can be used to resolve a specified prompt template.Optional62.0