Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.chonkie.ai/llms.txt

Use this file to discover all available pages before exploring further.

JinaEmbeddings is a utility class to use JinaAI’s API for Chonkie’s semantic chunking.

Installation

Embeddings require the jina library. See the Installation Guide for more information.
pip install "chonkie[jina]"

Usage

from chonkie import JinaEmbeddings

# Initialize the Jina embeddings
embeddings = JinaEmbeddings()

# Initialize the semantic chunker
chunker = SemanticChunker(embeddings)

# Chunk the text
text = ... # Your text string

# CHONK!
chunks = chunker(text)