Open
Description
Hello,
I'm evaluating the use of the ChatBedrock and ChatBedrockConverse classes and would like to know if they support sending documents encoded in base64. For context, with boto, we can send documents like this:
response = bedrock_runtime_client.converse(
messages=[
{
"role": "user",
"content": [
{
"document": {
"format": file_type,
"name": file_name,
"source": {"bytes": file_content},
}
}
],
}
],
modelId="eu.anthropic.claude-3-5-sonnet-20240620-v1:0",
)
I haven't been able to locate any examples or documentation that show how to pass documents in this manner using either ChatBedrock or ChatBedrockConverse. Could you please confirm whether this functionality is supported? If it's not currently available, are there any plans to include it in the near future? Any additional guidance or example use cases would be highly appreciated.
Thank you in advance for your assistance!