AI features
P4 Code Review offers AI features for users, administrators, and developers.
The AI features are turned off by default. Only a P4 Code Review administrator can enable the AI features.
For information about AI use in Perforce products, see Generative AI.
On this page:
Users
- See AI Assistant for comments.
- See "Use AI for code analysis" under File diff panel.
- API support
Administrators
- AI for code analysis explains how to enable AI for code analysis, and includes:
- AI Assistant for comments explains how the administrator can set up a custom prompt.
- Configure AI features explains how to use the HTML form if you want to edit the default configuration.
- Checklists explains how to configure the Checklist tab, which supports using AI for items in the checklist.
Developers using the P4 Code Review API
-
To programmatically generate AI-based explanations for a diff when reviewing a code change, see AiAnalysis: AI code analysis.
-
To programmatically manage AI integration, see Configurations.
-
To programmatically manage AI in checklists, see: