Use ensemble retrievers to get the most relevant information from multiple searches or
data sources. In AI Models (formerly Einstein Studio), an ensemble retriever is a collection of individual retrievers.
When you run an ensemble retriever, it runs all the individual retrievers, combines their
results into a single list, reranks the list according to relevance to the search request, and
returns just the most relevant information to the prompt or agent.
In AI Models on the Retrievers tab, click New Retriever.
Select Ensemble Retriever as the retriever type. Click
Next.
Select the data space in Data Cloud where the data sources are located for your
ensemble retriever. Click Next.
Select two or more individual retrievers to add to this ensemble retriever. Click
Next.
Ensemble retrievers don't support retrievers of type Code.
Configure which information to return and how much.
Specify the maximum number of results to return.
Specify one or more fields that ground the prompt. For each field selected, enter a
unique, descriptive label for the retrieved information.
Click Next.
Review your selections.
To change a selection, click the Edit icon.
Save your changes, and specify a retriever name and an optional description.
Save your changes.
When you create an ensemble retriever, AI Models creates the first version. Each time
you edit and save an updated retriever, AI Models creates another version.
Note The ensemble
retriever isn’t available for use in prompt templates until you activate a
version.
Did this article solve your issue?
Let us know so we can improve!
Loading
Salesforce Help | Article
Cookie Consent Manager
General Information
Required Cookies
Functional Cookies
Advertising Cookies
General Information
We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required Cookies
Always Active
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional Cookies
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising Cookies
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.