Open-source resources for implementing Agentforce Voice and building with the LLM Open Connector, from Salesforce.
This repository powers the Agentforce Companion Resources site, which houses two collections of content:
Beta — coming soon.
A step-by-step guide to implementing Agentforce Voice, with accompanying skills.
💬 Have feedback on the Voice guide? Let us know.
Open-source code examples and API recipes for building with the LLM Open Connector — the option for connecting your own large language models (LLMs) to Salesforce through the Bring Your Own Large Language Model (BYOLLM) feature in Model Builder. Each recipe walks through a different AI platform, including Hugging Face, Amazon Web Services, Groq, SambaNova, IBM, and Grok.
Formatted API specifications are published on the site, and their sources live in this repository:
- LLM Open Connector API — source:
api-specs/llm-open-connector/ - Models API — connects your application to LLMs through the Einstein Trust Layer. See the Models API Developer Guide and the Get Started with the Models API Trailhead module. Source:
api-specs/models/
Your contributions to this repository are welcome! Refer to the Contributing Guide and Code of Conduct to get started.
If you like the resources that you see here, consider adding a ⭐ on GitHub. It helps other people discover them!
Please report any security issue to security@salesforce.com as soon as it is discovered. This library limits its runtime dependencies in order to reduce the total cost of ownership as much as can be, but all consumers should remain vigilant and have their security stakeholders review all third-party products (3PP) like this one and their dependencies.
All code in this repository is licensed under an Apache License v2 license.
The shorter version of license text must be added as a comment to all Salesforce-authored source code and configuration files that support comments. This rule applies to file formats like HTML, CSS, and JavaScript, which aren't exactly source code, but are still critical to the project.
/*
* Copyright (c) 2023, Salesforce, Inc.
* SPDX-License-Identifier: Apache-2
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
Rights of ALBERT EINSTEIN are used with permission of The Hebrew University of Jerusalem / CMGWorldwide.com.