Overview
The SDK provides a streamlined interface for making requests to the Secton API. This section covers the core request methods and their configurations.Basic Requests
Basic Requests
Instantiate the client and use the For multi-turn conversations, utilize the
ask() method for a single query:chat() method:Advanced Streaming
Advanced Streaming
For real-time interactions, the You can also apply transformations to the stream:
stream() method allows you to receive chunks of data as they are generated: