Configuration
This Configuration tab helps you manage your application settings.
On this page:
Configure AI features
Enables an administrator to configure general AI features as well as service settings and parameters for a specific AI vendor.
Click Configuration and expand the
dropdown.
Expanding the dropdown causes the fields to be displayed.
The first time you click Configuration and expand the dropdown, one of the following applies:
| If config.php already contains AI configuration | If no AI configuration already exists |
|---|---|
|
The existing values for AI configuration in the We recommend that you remove the AI configuration block from the |
The default values for AI configuration are automatically copied into the form on the Configuration tab. For example, by default, AI is disabled. You can choose to enable AI functionality, which, by default, is disabled. |
In either case, a new key is created in the P4 Server store of P4 Code Review metadata.
Configure general features
The AI configuration sections allows you to enable or disable AI, set how long AI-generated data is retained, and set the maximum time to wait for the AI response.
By default, AI is disabled. To enable AI, move the slider to the right.
To set how long AI-generated data is retained, enter a value.
and select a unit:
To set the Request Timeout in milliseconds, enter an integer.
To ensure that your most recent changes take effect, click the Save configuration button.
To restore the most recently saved configuration, click the Reset to original button.
Configure a specific AI service
To edit an AI vendor configuration, click the Edit vendor configuration icon.
|
You can specify:
|
|
You can specify a prompt:
|
To save your updates the configuration of the AI vendor, click Update AI Vendor.