patterns-ai-core / langchainrb

Build LLM-powered applications in Ruby

Home Page:https://rubydoc.info/gems/langchainrb

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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?

weilandia opened this issue · comments

@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!