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..
8 réponses
Comming here woundering on the same ting.
Salesforce likely has updated there documentation since original post
https://developer.salesforce.com/docs/platform/apex-dev/references/apex-dev/connectapi-examples-resolve-prompt-template.htmlSo i ended up using:
PromptTemplateGenerationsInvocable