chunk
Method
This is a method of the BasePlatformAdapter class in the base module.Split text to respect the platform max length. Default uses a paragraph/line-aware splitter. Override to use a richer platform-aware chunker (e.g. code-fence preserving).
Signature
Parameters
str
required
No description available.
Returns
List[str]
The result of the operation.
Used By
Source
View on GitHub
praisonaiagents/bots/base.py at line 493
