def build_custom_content()

in aidial_adapter_openai/dalle3.py [0:0]


def build_custom_content(base64_image: str, revised_prompt: str) -> Any:
    return {
        "custom_content": {
            "attachments": [
                {"title": "Revised prompt", "data": revised_prompt},
                {"title": "Image", "type": "image/png", "data": base64_image},
            ]
        },
        "content": "",
    }