Welcome to ROSMASTER M1 PRO repository
4.Basic Dify Features
Basic Dify Features
Basic Dify Features1. Course Content2. Dify Commands and Auto-Start3. Management Page4. Basic Usage4.1 Switching the Dify Management Page Language4.2 Switching the Agent Reply Language (International Region Users Only)4.3 Integrating Model Provider Services4.4 Switching the Access Model of an AI Application5. Account Settings6. Development Documentation
1. Course Content
Understand and master the basic operations and functions of Dify.
2. Dify Commands and Auto-Start
Start Dify
bringup_dify

Shut down Dify
xxxxxxxxxxoff_dify

Important
In subsequent chapters, when Dify is needed, you must first start Dify; this will not be repeated in every subsequent chapter
If you do not want to manually start Dify every time, you can set auto-start on boot. After finishing the lessons in the Dify chapter, turn off the auto-start on boot, because Dify occupies the mainboard's memory and CPU resources in the background.
Set Dify to auto-start on boot
xxxxxxxxxxrobot_manage gui

Start the Dify container, and the Dify service will start automatically on subsequent boots
xxxxxxxxxxbringup_dify
Turn off Dify auto-start on boot

Remove the Dify container to turn off Dify auto-start on boot
xxxxxxxxxxoff_dify
3. Management Page
Check the car's IP address, which can be viewed on the OLED screen, via
ifconfig, or directly in the terminal.

Enter the car's IP address directly in the browser's address bar to access the Dify management page. If the device is logging in for the first time, you need to use an account and password; you can select the language in the upper left corner.
Note
Account:
yahboom@163.comPassword:
yahboom123All account passwords, agent applications, and RAG data are locally stored information.
The main Dify interface is shown below.

4. Basic Usage
Tip
If you need to use the cloud AI models of a model provider, please make sure the car is connected to the Internet.
4.1 Switching the Dify Management Page Language
Generally, the Dify page follows the browser language after opening. If you need to switch manually, you can switch the language in Settings.


4.2 Switching the Agent Reply Language (International Region Users Only)
In the subsequent 【AI Model - Voice Version】 and 【AI Model - Text Version】 chapter lessons, replies are in Chinese by default. If you need to use English replies, refer to the following method for configuration.
xxxxxxxxxxrobot_manage gui
After setting, click Save Configuration for it to take effect.

4.3 Integrating Model Provider Services
Dify has built-in model interface plugins for different model providers. These plugins are maintained and upgraded by their respective model providers. We can install the plugin of the corresponding model provider to quickly integrate cloud models from different vendors.
Click Plugins in the upper left of the home page —> Explore Marketplace —> Models to enter the model interface plugin page.

Here, take installing and configuring the DeepSeek plugin as an example. The method for other plugins is the same; just click Install.

Then, in
Settingspage'sModel Provider, fill in the API-KEY applied for on the corresponding platform. If the API-KEY is available, theAPIKEYof the corresponding plugin will show a green light.
Tip
For more detailed
API-KEYconfiguration steps and methods to test theAPI-KEY, refer to the previous chapter's6. Configuring API-KEY.

4.4 Switching the Access Model of an AI Application
For already-developed AI agent applications, you can quickly switch between different models to test their effects. Here, take
multi_brains, the core agent of theROSMASTER-M1 Pro, as an example. Open the agent application on the home page.

Among them are three core AIs: task routing, decision-layer AI, and execution-layer AI.

Here, take switching the decision-layer AI as an example. Open the
Decision-Layer AIcard and pull down in the model selection bar to switch models from different providers.Note: qwen-vl-max will be discontinued in October 2026; when using it, you need to switch to another visual large model.

There, we can also fine-tune the model's reply effect parameters. The detailed function of each parameter can be viewed by hovering the mouse over it.
Taking the temperature parameter as an example:
xxxxxxxxxxUsed to control the degree of randomness and diversity. The temperature value controls the degree of smoothing applied to the probability distribution of each candidate word when generating text. A higher temperature value reduces the peak of the probability distribution, making more low-probability words more likely to be selected and the generated results more diverse; a lower temperature value enhances the peak of the probability distribution, making high-probability words more likely to be selected and the generated results more deterministic.
Tip
Beginners can generally use the default parameters without adjustment.

Note that after modifying an AI application, you need to click Publish —> Publish Update to save the changes.

Warning
Note
For the execution-layer model, because it needs to process images, only multimodal models can be selected (visual models have a special symbol marker, as shown in the figure below).
The task routing and decision-layer models have no restrictions on the model.
For task routing, a small-parameter model can be selected to improve response speed.

5. Account Settings
Note
The Dify account is locally stored information with no privacy risk. An administrator account is preset at the factory. If you need to modify the account information, refer to this part of the tutorial.
Click the avatar in the upper right —> Account.

The account information is as follows; you can modify the information as needed.

If you need to log out, click the avatar again to log out.

6. Development Documentation
For users who later have in-depth development needs, you can view more detailed development documentation. Click the avatar in the upper right —> View Help Documentation.

Then the Dify online development documentation page will open, and you can select and view documentation of different content in the drop-down list on the left.
