---
schema_version: "1"
id: 1f9d07245c3d16730d4be850b7dd10553ce7cca2b3842dd77565ef5704561807
title: ConnectApi.​EinsteinPrompt​Template​GenerationsInput
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_connectapi_input_einstein_prompt_template_generations.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_input_einstein_prompt_template_generations.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 25e21d63acd6da27dc5b50c50f041efc106513fbc934e95c304ad8c5e99c3eb7
description: Prompt template input parameters to use for generation.
---
# ConnectApi.​EinsteinPrompt​Template​GenerationsInput

Prompt template input parameters to use for generation.

<table class="featureTable sort_table" summary="">




          <thead class="thead sorted" align="left">
            <tr>
              <th class="featureTableHeader vertical-align-top " id="d631467e47">Property</th>

              <th class="featureTableHeader vertical-align-top " id="d631467e50">Type</th>

              <th class="featureTableHeader vertical-align-top " id="d631467e53">Description</th>

              <th class="featureTableHeader vertical-align-top " id="d631467e56">Required or Optional</th>

              <th class="featureTableHeader vertical-align-top " id="d631467e59">Available Version</th>

            </tr>

          </thead>

          <tbody class="tbody">
            <tr>
              <td class="entry" headers="d631467e47 d631467e59" data-title="Property"><samp class="codeph apex_code">additional​Config</samp></td>

              <td class="entry" headers="d631467e50" data-title="Type"><samp class="codeph apex_code"><a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_input_einstein_llm_additional_config.htm" title="Additional configuration information for the LLM provider.">ConnectApi.​EinsteinLlm​Additional​ConfigInput</a></samp></td>

              <td class="entry" headers="d631467e53" data-title="Description"><span class="ph" id="additionalConfig"><a name="additionalConfig"><!-- --></a>Configuration information for the LLM
                  provider.</span></td>

              <td class="entry" headers="d631467e56" data-title="Required or Optional">Required</td>

              <td class="entry" headers="d631467e47 d631467e59" data-title="Property">60.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d631467e47 d631467e59" data-title="Property"><samp class="codeph apex_code">citationMode</samp></td>

              <td class="entry" headers="d631467e50" data-title="Type">String</td>

              <td class="entry" headers="d631467e53" data-title="Description">
                <span class="ph" id="citationMode"><a name="citationMode"><!-- --></a>Mode of citations for the specified prompt template.
                  Valid values are:</span>
                <ul class="ul bulletList">
                  <li class="li">
                    <samp class="codeph nolang">post_generation</samp>—Citations are generated
                    after the generated response for the specified prompt template.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">off</samp>—Citations aren't generated for the
                    specified prompt template.
                  </li>

                </ul>
              </td>

              <td class="entry" headers="d631467e56" data-title="Required or Optional">Optional</td>

              <td class="entry" headers="d631467e47 d631467e59" data-title="Property">62.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d631467e47 d631467e59" data-title="Property"><samp class="codeph apex_code">inputParams</samp></td>

              <td class="entry" headers="d631467e50" data-title="Type">
                <a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_map.htm#apex_methods_system_map" title="Contains methods for the Map collection type.">Map</a>&lt;String, <samp class="codeph apex_code"><a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_input_wrapped_valu.htm" title="Value wrapped for use as an object.">ConnectApi.WrappedValue</a></samp>&gt;
              </td>

              <td class="entry" headers="d631467e53" data-title="Description"><span class="ph" id="inputParams"><a name="inputParams"><!-- --></a>Parameters and values to resolve the specified prompt
                  template.</span></td>

              <td class="entry" headers="d631467e56" data-title="Required or Optional">Required</td>

              <td class="entry" headers="d631467e47 d631467e59" data-title="Property">60.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d631467e47 d631467e59" data-title="Property"><samp class="codeph apex_code">isPreview</samp></td>

              <td class="entry" headers="d631467e50" data-title="Type">Boolean</td>

              <td class="entry" headers="d631467e53" data-title="Description"><span class="ph" id="isPreview"><a name="isPreview"><!-- --></a>Specifies whether to only resolve the prompt template
                  (<samp class="codeph nolang">true</samp>) or to resolve the prompt template
                  and generate an LLM response (<samp class="codeph nolang">false</samp>).</span></td>

              <td class="entry" headers="d631467e56" data-title="Required or Optional">Required</td>

              <td class="entry" headers="d631467e47 d631467e59" data-title="Property">60.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d631467e47 d631467e59" data-title="Property"><samp class="codeph apex_code">outputLanguage</samp></td>

              <td class="entry" headers="d631467e50" data-title="Type">String</td>

              <td class="entry" headers="d631467e53" data-title="Description"><span class="ph" id="outputLanguage"><a name="outputLanguage"><!-- --></a>Language code for the language to generate the LLM
                  response in. See <a class="xref" href="https://help.salesforce.com/s/articleView?id=ai.prompt_builder_localize_responses.htm&amp;type=5&amp;language=en_US" target="_blank">Supported Languages in Prompt Template
                    Responses</a>.</span></td>

              <td class="entry" headers="d631467e56" data-title="Required or Optional">Optional</td>

              <td class="entry" headers="d631467e47 d631467e59" data-title="Property">61.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d631467e47 d631467e59" data-title="Property"><samp class="codeph apex_code">tags</samp></td>

              <td class="entry" headers="d631467e50" data-title="Type"><a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_input_wrapped_valu.htm" title="Value wrapped for use as an object.">ConnectApi.WrappedValue</a></td>

              <td class="entry" headers="d631467e53" data-title="Description"><span class="ph" id="tags"><a name="tags"><!-- --></a>Map of wrapped values, such as free-form user feedback, that can
                  be used to resolve a specified prompt template.</span></td>

              <td class="entry" headers="d631467e56" data-title="Required or Optional">Optional</td>

              <td class="entry" headers="d631467e47 d631467e59" data-title="Property">62.0</td>

            </tr>

          </tbody>

        </table>