class documentation
class ResponseBuilders: (source)
Builders for creating model responses for testing.
Warning
This API is experimental and may change in the future.
| Static Method | model |
Create a ModelResponse with the given output. |
| Static Method | output |
Create a ModelResponse with an output message. |
| Static Method | response |
Create a ResponseOutputMessage with text content. |
| Static Method | tool |
Create a ModelResponse with a function tool call. |
Create a ModelResponse with the given output.
Warning
This API is experimental and may change in the future.
Create a ModelResponse with an output message.
Warning
This API is experimental and may change in the future.
Create a ResponseOutputMessage with text content.
Warning
This API is experimental and may change in the future.