- Console
- API
- Open Knowledge and select Connect a knowledge source.
- Choose Website, Sitemap, GitHub or File upload, and fill in the fields described below.
- Save. The source appears in the list and its first ingestion starts; its status updates as the job runs.
Sitemap
Reads exactly the URLs listed in asitemap.xml, without following links. This is the most predictable way to ingest a documentation site: you ingest what you publish, nothing more.
Listed URLs must be on the same origin as the sitemap.
Website
Crawls a site from a start URL, following links on the same origin (scheme, host and port). Use it when no sitemap exists.
Redirects are not followed, and links to images, media, archives, fonts, stylesheets and scripts are skipped.
GitHub
Reads files from a repository at a branch, tag or commit.
By default MITHUNAI skips
.git/, node_modules/, vendor/, dist/, build/, target/, .venv/, __pycache__ directories, minified JavaScript and lock files. If you set exclude_paths, include any of those you still want skipped.
Repositories are read with the GitHub access your MITHUNAI deployment is configured with. To connect a private repository, ask your MITHUNAI administrator to grant that access. You never paste a token into a source.
Path patterns
Ininclude_paths and exclude_paths:
For example,
docs/**/*.md,README.md ingests Markdown under docs/ and the root README.