custom ¶ ResponseType ¶ Bases: str, Enum The type of generation response. IMAGE class-attribute instance-attribute ¶ IMAGE = 'image' An image. OBJECT class-attribute instance-attribute ¶ OBJECT = 'obj' An instance of a response model. TEXT class-attribute instance-attribute ¶ TEXT = 'text' A text completion. TOOL_CALL class-attribute instance-attribute ¶ TOOL_CALL = 'tool_calls' A list of tool calls. UNFINISHED class-attribute instance-attribute ¶ UNFINISHED = 'unfinished' The response is not finished.