Skip to content

This is a companion repository to my August 15, 2024 codeLive on the Models API. It demonstrates how to use the Salesforce Models API to build a custom chatbot with Apex and Lightning Web Components.

Notifications You must be signed in to change notification settings

charlesw-salesforce/code-live-models-api

Repository files navigation

Exploring the Models API

This is a companion repository to the "codeLive: Exploring the Models API (Beta)" livestream, which aired on August 15, 2024. It shows how to build and deploy a chatbot that supports multiple models, including OpenAI GPT-4o and Anthropic's Claude Haiku.

Demo of the Gen AI Chat App being used to ask who won the 2004 NBA Championship.

Using this repository

  1. Create a Custom Einstein AI Playground using the link in the Get Started with Prompt Builder Trailhead module.
  2. Turn on Einstein Generative AI.
  3. Clone and pull down this repository.
  4. Authorize your newly created Einstein AI Playground.
  5. Deploy the Apex Classes and chatUtility component to the org.
  6. Edit the Sales app in the App Manager.
  7. Within the Sales app App Manager, add the chatUtility component as a Utility Item.

Resources

About

This is a companion repository to my August 15, 2024 codeLive on the Models API. It demonstrates how to use the Salesforce Models API to build a custom chatbot with Apex and Lightning Web Components.

Topics

Resources

Stars

Watchers

Forks