Adding Documents
Github
Upload all the files inside a repository
The Github integration allows you to upload files inside a repository to your knowledge base.
How do I add files from my Github?
Step 1: Adding Github Datasource on Libraria.
- Go to the Knowledge Base of the Library you want to add a knowledge to.
- Click on the External Data Sources tab.
- Select Github.
- A window will pop up then click on
Import Github Repos
.
- A new window will open for allowing access to your Github account. Click on
Authorize becaoding
to allow access.
- Once done, you will see that under the Active Direct Integrations section, Github is now added.
Step 2: Move to Github Tab on Libraria
- Go back to Knowledge Base and click
Add Knowledge
- Select Scrape with links
- Select
Github
from the tabs that are in the link section. Log-in with Oauth to the account with your repo.
Step 3: Paste your File URL or Repository URL
- You can simply get the link to your repository or file by copying it from the URL field of your browser.
- Paste your repository URL in the field. Click Add more if you want to add more URLs.
- Click the
Submit
button. Once submitted, a window will appear showing how much credits you will use and the files that will be added to your knowledge base.
- Click on the
Submit
button in the window to confirm and add it to your library.