xAI Integration

Setup xAI

  1. Obtain an API Key: Follow the instructions on the official xAI website to obtain an API key.
  2. Configure the Model: Ensure the desired model is available and configured.

Run Noir with xAI

To leverage xAI capabilities for additional analysis, use the following command:

noir -b ./spec/functional_test/fixtures/hahwul \
     --ai-provider=xai \
     --ai-model=grok-2-1212 \
     --ai-key=xai-t

This command performs the standard Noir operations while utilizing the specified xAI model for enhanced analysis.