These capabilities are currently in beta. Please contact founders@tryneum.com with any questions or asks.

The CustomChunker class in the Neum AI framework chunks documents dynamically based on a user-defined code snippet. This class offers the flexibility to implement custom text chunking logic that can be tailored to specific use cases.

Properties

Required properties:

  • code: A string of Python code that defines how the text should be chunked.

Optional properties:

  • batch_size: The number of chunks to process in one go, with a default of 1000 if not specified.