Introduction to Model Builder in Salesforce Agentforce : Bijay Kumar
by: Bijay Kumar
blow post content copied from SalesForce FAQs
click here to view original post
### Summary of Model Builder in Salesforce Agentforce The Model Builder is a new feature in Salesforce Agentforce that allows users to customize AI models, including predictive and generative models, using a no-code interface. This tool is part of Einstein Studio and helps Salesforce professionals connect their data with various large language models (LLMs) without needing extensive data science knowledge. ### Key Features: 1. **Customization**: Users can configure standard models or create custom models tailored to specific business needs. 2. **Integration**: The Model Builder allows for connecting external models hosted on platforms like Azure or OpenAI, enabling organizations to leverage their proprietary AI models. 3. **User-Friendly Interface**: The platform provides a guided workflow to simplify the model-building process. 4. **Advanced Settings**: Users can adjust parameters such as temperature (creativity level), frequency penalty (word repetition), and presence penalty (uniqueness of words) to fine-tune model behavior. ### Practical Steps: - Access the Model Builder through the Einstein Studio in the Data Cloud app. - Edit existing models or create new ones by adjusting the settings according to your needs. - Test your newly created models in the Model Builder's playground feature. ### Conclusion: The Model Builder in Salesforce Agentforce empowers users to create and manage AI models effectively, catering to specific business requirements while providing flexibility in model configuration. ### Additional Context: This tool is particularly useful for organizations that want to harness AI capabilities without deep technical expertise, making AI more accessible for various business applications. ### Relevant Hashtags for SEO: #Salesforce #AI #ModelBuilder #EinsteinStudio #DataCloud #CustomModels #NoCode #GenerativeAI #PredictiveModels #BusinessIntelligence #TechTools #SalesforceAgentforce
As of now, we have seen Agent Builder, where we can build a new AI agent, and we also learned about Prompt Builder, where we can build various types of prompt templates. Now, the third builder we have is a model builder, which allows us to customize AI models, such as predictive and generative models.
In this tutorial, we will learn about the introduction to model builder in Salesforce Agentforce. In that, I will explain how to configure the standard model, how to create the custom model, and different advanced settings in Einstein Studio in Salesforce.
What is Model Builder in Salesforce Agentforce?
A model builder in Agentforce is a feature of Einstein Studio that allows you to connect your data with your preferred large language model (LLM) and allows us to customize AI models, such as predictive and generative models.
The model builder allows Salesforce professionals to create custom AI models tailored to specific business needs without requiring extensive data science expertise or integration. It is a no-code tool for connecting external models or creating a model from scratch.
In the Prompt Builder, we generated content using various LLM models. However, with the advent of Gen II, an organization can configure its own models through the model builder if they do not want to use Salesforce-provided LM models.
Many of the organizations started building their own LM models, which are hosted on various platforms such as Azure or Open AI. A few of the organizations have also built their in-house models, which are trained on their business-specific data, and these customers would want to use their own models as well.
So, in Model Builder, with minimal configurations, the customer can bring or connect to the models hosted outside of Salesforce and use them in Prompt Builder, etc. The Model Builder platform provides a user-friendly interface and guided workflow to facilitate the model-building process.
Model Bilder in Salesforce Agentforce
Now, let’s understand when it is appropriate to use the model builder and how we can configure out-of-the-box models, custom models, or our own models by connecting them through the model builder.
Now, let’s navigate to our Salesforce org to see the model builder. The model builder can be accessed through the Einstein Studio, which is part of Data Cloud. So, in the App Launcher, you can search for the Einstein Studio or Data Cloud app.
In the data cloud app, we also have Einstein Studio. Here, you will see the generative models and the model library. These are the generative models we have already seen in our prompt builder. So, in the Prompt Builder, when we were selecting the models, we had some of Salesforce’s models, which were the same models.
These are the LLM models, which are Salesforce-shared models. For example, OpenAI models are Salesforce Shared models, and Salesforce-hosted models are also available.

Navigate to the prompt builder and open any prompt template. As part of our prompt builder, we created the prompt template and selected a model against which it would be executed.
If you click on the Model Type drop-down, you will see all the standard models(image 1), which are the same as those in the generative model.
But if you go to the custom model (image 2) here, since there is no custom model in this org, it is showing blank. But the moment we add a custom model, it will start showing up here and in the model library.

Configure Standard Model in Salesforce Agentforce
When you prompt the AI agent, the response generated is according to the settings defined by Salesforce. Those settings or configurations are done in the Einstein Studio, where we can build a custom model or configure a standard model in Salesforce.
Let’s edit the OpenAI GPT 4 model. To do so, from this drop-down menu, click on Edit.

In the edit mode, you will see the model playground where we can configure the standard and custom models.

In the Advanced Settings, you will see all the configurations that Salesforce has defined for you. For example, the temperature is 0.5, the frequency is 0, and the presence penalty is 0.
If you want to change these parameters, you should customize this model according to your needs and adjust the temperature.
What is the Temperature of a Model?
If you increase a model’s temperature, it will become more creative, which means that it can assume things or generate creative content. But if you keep this value at a lower end, it will be very predictable. You can predict the response because whatever you ask it, it will show that it will not add any creativity while generating the content.
Currently, the value is 0.5, which means that it is at the lower end. Let’s say that we want to be a little more creative, so we can change this value to 1.5.
What is the Frequency Penalty of a Model?
The frequency penalty is how often a word will be repeated by this model. A higher number indicates that it is less likely that the word will be repeated. So, for example, if you are generating a pitch or content where you do not want the same word to be repeated repeatedly, then you can increase this value.
Right now, it is at a stable position of 0.0. As we increase this to 1, this model will repeat fewer words in the content.
What is the Presence Penalty of a Model?
The presence penalty, which says how many unique words will be present in the response, is also currently set to zero. So, let’s increase that, and now you have configured OpenAI’s GPT four model as per your need.

After that, you can click on the Update button. However, since we cannot change the standard model, you need to create a new one. To do so, after clicking on update, you need to click the Save as New button.

Then, provide the Name and Description for your model and click the Create Model button.

Now, let’s go back to the models again. Here in the generative, you will see that we have a GPT 4 Custom Model, which is one of the custom models that we have created right now by customizing some of the parameters of the standard GPT model that Salesforce gave us.

If we go back to our prompt builder, let’s just refresh it. Now we can see the Custom Model that we have created, the GPT 4 Custom Model, available here.
Similarly, you can change the configuration of the out-of-the-box models, or you can bring your own model that will start showing up here, and you can use it for various activities that you are performing with respect to the Salesforce AI.
One more thing about Model Builder is that it also gives us a playground
where we can test the new model.

Conclusion
I hope you have got an idea about the introduction to model builder in Salesforce Agentforce. In that, I have explained how to configure the standard model, how to create the custom model, and different advanced settings in Einstein Studio in Salesforce.
You may like to read:
- Prompts and Prompt Builders in Salesforce Agentforce
- Invoke Flows From Prompt Template in Salesforce Agentforce
- Build Sales Email Prompt Template in Salesforce Agentforce
- Agentforce for Developers in Salesforce
The post Introduction to Model Builder in Salesforce Agentforce appeared first on SalesForce FAQs.
April 06, 2025 at 09:50PM
Click here for more details...
=============================
The original post is available in SalesForce FAQs by Bijay Kumar
this post has been published as it is through automation. Automation script brings all the top bloggers post under a single umbrella.
The purpose of this blog, Follow the top Salesforce bloggers and collect all blogs in a single place through automation.
============================

Post a Comment