Models
Result returned by query() and get_last_response().
text = None
class-attribute
instance-attribute
Plain text content of the response, or markdown if get_markdown=True. None if the response is image-only.
image = None
class-attribute
instance-attribute
Path to the downloaded image file. None if the response contains no image.
Bases: str, Enum
Current UI state of the chatbot interface.
IDLE = 'idle'
class-attribute
instance-attribute
Ready and waiting for input.
GENERATING = 'generating'
class-attribute
instance-attribute
Model is actively producing a response.
TYPING = 'typing'
class-attribute
instance-attribute
Input box has content that has not been submitted yet.
UPLOADING = 'uploading'
class-attribute
instance-attribute
A file upload is in progress.