Logger
components.Utils
Utility functions and helpers for Components integration.
This module contains utility functions for parsing attachments from messages.
parse_attachments_from_messages
Parses the attachment from the result.
Arguments:
Name | Type | Description |
---|---|---|
messages | List[GenerationRequestMessage] | The messages to parse attachments from. |
Returns:
Name | Description |
---|---|
tuple | A tuple containing the modified messages and the list of attachments. |