Nx Cloud AI
Nx Cloud AI offers a suite of features designed to enhance your development workflow with AI-driven capabilities. These tools assist in troubleshooting, optimizing resource allocation, and improving your overall development process.
- Explain with AI - This feature uses AI to provide detailed explanations about failed tasks.
- Automatic Resource Allocation (Coming Soon) - This upcoming feature will use custom AI/ML models to dynamically allocate resources based on your project’s specific needs. It optimizes performance by efficiently assigning Nx Agents to achieve target durations for main and PR branches.
Enable Nx Cloud AI Features
To enable AI features for your organization, go to your organization's settings on Nx Cloud and select the organization where you want to enable AI.
In the settings menu, find the "AI Features" section and toggle it to "On".
Ensure that you accept the AI terms to start using the AI features.
AI features are available only for the Nx Cloud Pro plan. If you are on the Hobby plan, you can start a free trial to test AI features in your workspace.
Enable AI Features for Enterprise On-Prem Installations
To enable AI features for enterprise on-prem installations, add the following configuration to your helm-values.yaml
file:
1nxApi
2 deployment:
3 env:
4 - name: NX_CLOUD_AI_ENABLED
5 value: 'true'
6
7frontend
8 deployment:
9 env:
10 - name: OPENAI_SECRET_KEY
11 valueFrom:
12 secretKeyRef:
13 name: open-ai-secrets
14 key: OPENAI_SECRET_KEY
15 - name: NX_CLOUD_AI_ENABLED
16 value: 'true'
17
Ensure your OpenAI secret key is correctly configured to provide the necessary credits for gpt-3.5-turbo
and gpt-4
.
Regional Availability
This feature is not available for the EU cluster in public cloud installations due to regional restrictions. However, on-prem customers in the EU can still use this feature by providing their own OpenAI secret key and enabling the required environment variables.