langchainrb icon indicating copy to clipboard operation
langchainrb copied to clipboard

Bedrock support is missing new models. Is there a reason the Bedrock client needs to white label models as opposed to just exposing the client since the api is unified?

Open weilandia opened this issue 9 months ago • 1 comments

weilandia avatar May 10 '24 19:05 weilandia

@weilandia Indeed, there's no good reason to white labeling models other than raising an error when chat() method is called on a model that doesn't support the messages: [{role:"", content:""}, ...]-style querying. But the AWS Bedrock returns an error in this case anyways!

andreibondarev avatar May 13 '24 15:05 andreibondarev