Response
datapizza.core.clients.ClientResponse
A class for storing the response from a client. Contains a list of blocks that can be text, function calls, or structured data, maintaining the order in which they were generated.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
content
|
List[Block]
|
A list of blocks. |
required |
delta
|
str
|
The delta of the response. Used for streaming responses. |
None
|
is_pure_function_call
Returns True if response contains only FunctionCallBlocks