Chunking • AI Agent SDK
Chunking: A unified class for text chunking with various chunking strategies.
Chunking
Defined in the chunking module.
AI Agent
A unified class for text chunking with various chunking strategies.
Constructor
ParamField
strNo description available.
ParamField
intNo description available.
ParamField
intNo description available.
ParamField
strNo description available.
ParamField
OptionalNo description available.
Methods
SUPPORTED_CHUNKERS()
Lazy load chunker classes.
embedding_model()Lazy load the embedding model.
chunker()Lazy load the chunker instance.
chunk()Chunk text using the configured chunking strategy.
Source
View on GitHubpraisonaiagents/knowledge/chunking.py at line 30