Getting Started
Using Chunkr AI SDK
Chunkr AI’s SDK supports both synchronous and asynchronous usage patterns.
The same client class Chunkr
can be used for both patterns, making it flexible for different application needs.
All methods exists in both synchronous and asynchronous versions.
Synchronous Usage
For simple scripts or applications that don’t require asynchronous operations, you can use the synchronous pattern:
Asynchronous Usage
For applications that benefit from asynchronous operations (like web servers or background tasks), you can use the async pattern: