expand_text_attachments: whether to send parsed content from text attachments with the attachment object in ProtocolMessage. Defaults to True
enable_image_comprehension: whether to send parsed image description from image attachments with the attachment object in ProtocolMessage. Defaults to False. Will limit the # of image attachments per message to one.
enforce_author_role_alternation: whether Poe should modify the messages to follow strict user/bot alternation before sending to the bot. Defaults to False.
Added concat_attachment_content_to_message_body helper function that is called before get_response, which takes parsed content from attachments and concatenates it to the message content. It is enabled by default, but can be disabled by passing in concat_attachments_to_message=False when creating the PoeBot class.
Add 3 bot-level settings:
expand_text_attachments
: whether to send parsed content from text attachments with the attachment object in ProtocolMessage. Defaults to Trueenable_image_comprehension
: whether to send parsed image description from image attachments with the attachment object in ProtocolMessage. Defaults to False. Will limit the # of image attachments per message to one.enforce_author_role_alternation
: whether Poe should modify the messages to follow strict user/bot alternation before sending to the bot. Defaults to False.Added
concat_attachment_content_to_message_body
helper function that is called beforeget_response
, which takes parsed content from attachments and concatenates it to the message content. It is enabled by default, but can be disabled by passing inconcat_attachments_to_message=False
when creating the PoeBot class.