GitHub Connector¶
SearchAI allows ingestion of content from GitHub Repositories and makes it Searchable. You can configure this connector to index content from one or more repositories at once.
Type of Repository | Cloud |
Extractive Model for Answer Generation | Yes |
Generative Model for Answer Generation | Yes |
Supported Content | Issues |
Authorization Support¶
You can use Personal Access Token or OAuth 2.0 authentication for communication between Search AI and GitHub.
GitHub Configuration¶
To use Personal Access Token for authentication, go to the Developer Settings in your GitHub account and generate a token.
To use OAuth authentication, register a new OAuth application.
GitHub Connector Configuration in Search AI¶
Configure the GitHub connector in Search AI.
Provide the following fields for authentication with the GitHub application.
- Name: Unique identifier for the connector.
- Authorization Type: Select the type of authorization.
- Personal Access Token: If this auth type is selected, provide the generated token.
- OAuth 2.0: If this auth type is selected, provide the client credentials and the refresh token.
There are a few other fields that are used to map the content from the GitHub repositories. Currently, Search AI supports standard fields only, hence, it is not mandatory to provide those fields.