Back to Browse

Invoke Agentforce LLM Models directly from LWC

114 views
Apr 5, 2026
20:57

Invoke LLM Models directly from LWC and Apex. Prefer a quicker pace? Set the playback speed to 1.25x In this video will show Step by Step How to Invoke LLM Models directly from LWC using Apex class. 📌 What you’ll learn in this video Intro - 0:00 Why its helpful - 00:45 How Salesforce makes it possible - 01:37 Flow - 03:54 Generate Text Demo - 04:58 Code Explanation - 08:00 Generate Embedding Demo - 15:52 Code Explanation - 17:19 👉 GitHub Repo Link – https://github.com/SFDC-Chronicle/CallLLMModelFromLWC 👉 Models API methods – https://developer.salesforce.com/docs/ai/agentforce/guide/access-models-api-with-apex.html 👉 Supported Models by Salesforce – https://developer.salesforce.com/docs/ai/agentforce/guide/supported-models.html

Download

0 formats

No download links available.

Invoke Agentforce LLM Models directly from LWC | NatokHD