Replies: 3 comments 2 replies
-
came across this discussion after struggling to make ChatBedrock work with but the
@codekiln , have you found any workaround? |
Beta Was this translation helpful? Give feedback.
-
Any new? |
Beta Was this translation helpful? Give feedback.
-
For those who is awaiting a solution for this, a suggestion is to use ChatBedrockConverse which is directly from AWS and supports with_structured_output. An added note that with_structured_output with Llama is requiring mandatory tool calling requirement so logic needs to be tweaked accordingly |
Beta Was this translation helpful? Give feedback.
-
Checked
Feature request
with_structured_output
for ChatBedrock from langchain-awsMotivation
Structured output is possible using Bedrock's Claude deployments:
It's also possible in
langchain-anthropic
; see Anthropic function calling for structured LLM outputs - YouTube.However, in the compatibility table, bedrock says it does not support it: https://python.langchain.com/v0.2/docs/integrations/chat/
Proposal (If applicable)
No response
Beta Was this translation helpful? Give feedback.
All reactions