CorpusKit is an open source research portal. Search across reports, papers and other source material, ask questions of the collection and trace connections from one source to another. Answers cite the material they draw on, down to the relevant passage.
Source code, setup guides and issue tracker on GitHub
Inside a CorpusKit portal
A portal is built around one organisation’s research collection. People can ask questions across it, search for specific material, browse the Library and inspect relationships in the knowledge map. Manage is where administrators add and maintain the material.
AskEnter a question in Ask. CorpusKit searches the collection and returns an answer with citations, sources and a confidence rating. Deep research is available when a broad question needs to be broken into smaller ones.
Field notes
Search this research collection⌕
Illustrative portal
What affected seagrass recovery after the 2022 floods?
Question entered in Ask · whole collection
Seagrass recovered more slowly at sites where winter turbidity remained above the long-term median.
At those sites, light at the canopy fell below the minimum required by Zostera muelleri on 63 per cent of monitored days.
High confidenceBoth claims are directly supported by the cited reports
○No direct evidence found The collection does not compare the cost of restoration methods across estuaries.
winter turbidity and seagrass recovery⌕
HybridSemanticKeyword
Topic: water qualityKind: reportSearching 412 resources
Cited answer
Seagrass recovery was slower where winter turbidity remained above the long-term median.1 A related report attributed an estimated two thirds of the fine sediment reaching the estuary after the floods to bank erosion in the upper catchment.2
Turbidity and light limitation in flood-affected estuaries0.87
report · 2023
…sites where mean winter turbidity remained above the long-term median showed significantly slower recovery…
Catchment sediment sources after the 2022 floods0.74
technical report · 2024
…bank erosion in the upper catchment contributed an estimated two thirds of the fine sediment load reaching the estuary…
Recreational water quality guidelines reviewweak match · 0.41
Very little textField photo set, March surveyReview
2 drafts excluded from public resultsWebsite sync · nightly
Check the answer against the research
CorpusKit links claims in an answer to the source passages that support them. Quality scores show how relevant the retrieved material is, how closely the answer follows it and whether enough context was found.
1Choose a claim to check
2Open its numbered citation
3Read the highlighted passage in the resource
4Review the answer quality
Seagrass recovered more slowly at sites where winter turbidity remained above the long-term median. At those sites, light at the canopy fell below the minimum required by Zostera muelleri on 63 per cent of monitored days.2
Turbidity and light limitation in flood-affected estuaries
Report · 2023 · Water quality · 148 pages
Sites where mean winter turbidity remained above the long-term median showed significantly slower recovery of seagrass extent over the two years following the floods.At these sites, light at the canopy fell below the minimum requirement for Zostera muelleri on 63 per cent of monitored days.
Matched passage · page 41
Run CorpusKit with your collection
CorpusKit’s application code is published under the Apache 2.0 licence. Clone the repository, connect your research collection and run the portal on infrastructure you manage.
The repository includes instructions for local and container-based setup, along with the tests, build tasks and deployment configuration used by the project.
Content storage, retrieval and generation require an account with a connected knowledge service. The Apache 2.0 licence covers the CorpusKit application. Your infrastructure, connected services and research material have their own terms.
TerminalLocal setup
$git clone https://github.com/noicework/corpuskit.git$cd corpuskit$cp .env.example .env # knowledge service credentials$deno task provision$deno task dev
Changes are submitted through pull requests. Before a pull request can merge, it must pass typechecking, linting, formatting, tests and a full build. These checks apply to everyone.
Before you deploy
A deployment needs a connected knowledge service for content storage, retrieval and generation
Production administration currently supports Microsoft sign-in
Application state is stored in SQLite-backed durable storage. Check that this suits the size and needs of your deployment
Review the issue tracker for known gaps and unfinished work
Be a part of CorpusKit3
Use a portal
Search, browse and ask questions in a CorpusKit portal maintained by your organisation.