JChunk project is simple library that enables different types of text splitting strategies, essential for RAG applications.
<dependency>
<groupId>io.jchunk</groupId>
<artifactId>jchunk-...</artifactId> <!-- replace dots with desired module name -->
<version>${jchunk.version}</version>
</dependency>implementation group: 'io.jchunk', name: 'jchunk-...', version: "${JCHUNK_VERSION}" // replace dots with desired module nameTo build with tests
./mvnw clean verify -Dgpg.skip=trueTo reformat using the java-format plugin
./mvnw spotless:applyTo check javadocs using the javadoc:javadoc
./mvnw javadoc:javadoc -PjavadocYou can build and preview the Antora documentation locally without installing anything globally.
Prerequisites:
- Node.js 18+ (20 recommended).
- Download from https://nodejs.org/
Build the site:
npx -y -p @antora/cli@3.1 -p @antora/site-generator@3.1 antora -r @antora/site-generator antora-playbook.ymlOpen the generated site:
build/site/index.html
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.