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.
Users
- See AI Assistant for comments.
- See "Use AI for code analysis" under File diff panel.
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.
Developers using theP4 Code Review API
-
To programmatically generate AI-based explanations for a diff when reviewing a code change, see AiAnalysis: P4 Code Review AI code analysis.
-
To programmatically manage AI integration, see Configurations: P4 Code Review configurations.