There is a "applicationName" attribute in the EinsteinLlmAdditionalConfigInputRepresentation parameter passed in when resolving a Prompt Template in Apex. What's the significance of that? It's required, but I couldn't find any explanation of what that is. These two values seem to work, but are they just a label of the caller?
- PromptBuilderPreview
- PromptTemplateGenerationsInvocable
Does it matter what we use? Random strings don't work, as the method would end with a "Application Name is a required field providing existing registered ai applicaton" (typo was from the actual message). Still couldn't tell what that means..
the app name is "PromptBuilderPreview". when calling from apex you may use
promptGenerationsInput.additionalConfig = new ConnectApi.EinsteinLlmAdditionalConfigInput();
promptGenerationsInput.additionalConfig.applicationName = 'PromptBuilderPreview';
promptGenerationsInput.isPreview = false;
