Data types
๐ Github
- Setup the Github loader by configuring the Github account with username and personal access token (PAT). Check out this link to learn how to create a PAT.
- Once you setup the loader, you can create an app and load data using the above Github loader
The add
function of the app will accept any valid github query with qualifiers. It only supports loading github code, repository, issues and pull-requests.
You must provide qualifiers type:
and repo:
in the query. The type:
qualifier can be a combination of code
, repo
, pr
, issue
. The repo:
qualifier must be a valid github repository name.
Valid queries
repo:embedchain/embedchain type:repo
- to load the repositoryrepo:embedchain/embedchain type:issue,pr
- to load the issues and pull-requests of the repositoryrepo:embedchain/embedchain type:issue state:closed
- to load the closed issues of the repository
- We automatically create a chunker to chunk your GitHub data, however if you wish to provide your own chunker class. Here is how you can do that:
Was this page helpful?