nerdexam
SalesforceSalesforce

AI-201 · Question #229

AI-201 Question #229: Real Exam Question with Answer & Explanation

The correct answer is C: Flex. The AgentForce Developer Integration Guide specifies that Flex prompt templates are the correct type for custom or embedded integrations, such as invoking a prompt from a Lightning Web Component (LWC). Flex templates are designed for general-purpose use cases and can be called pr

AI Features for Service (e.g., Einstein Bots, Next Best Action)

Question

Universal Containers (UC) needs to create a custom prompt template that can be called from a Lightning web component. Which prompt template type should UC create?

Options

  • AField Generation
  • BSales Email
  • CFlex

Explanation

The AgentForce Developer Integration Guide specifies that Flex prompt templates are the correct type for custom or embedded integrations, such as invoking a prompt from a Lightning Web Component (LWC). Flex templates are designed for general-purpose use cases and can be called programmatically via Apex, Flow, or LWC APIs. They offer flexible input and output structures, allowing developers to integrate AgentForce reasoning into custom applications and UI components.

Topics

#Prompt Templates#Einstein GPT#Lightning Web Components#Customization

Community Discussion

No community discussion yet for this question.

Full AI-201 PracticeBrowse All AI-201 Questions