Github
Setup Github marketplace
- Obtain an API Key: Follow the instructions on Github to obtain a Personal Access Token (PAS)1.
- Select and Configure the Model: Choose the desired model from the Github marketplace2 and ensure it is properly configured.
Run Noir with Github marketplace Models
To leverage Github marketplace’s models capabilities for additional analysis, use the following command:
noir -b ./spec/functional_test/fixtures/hahwul \
--ai-provider=github \
--ai-model=gpt-4o \
--ai-key=github_....
Use to models.github.ai
or
noir -b ./spec/functional_test/fixtures/hahwul \
--ai-provider=azure \
--ai-model=gpt-4o \
--ai-key=github_....
Use to models.inference.ai.azure.com
This command performs the standard Noir operations while utilizing the specified Github or Azure’s inference API for enhanced analysis.
-
https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens ↩
-
Github > Marketplace > Models ↩