Inboundr
01/23/2025, 8:29 PMMattijs
01/31/2025, 9:21 AMfrom langchain_aws import ChatBedrock
cf.defaults.model = ChatBedrock(
model_id=MODEL_NAME,
model_kwargs=dict(temperature=0),
)
If it doesn't then have a look at the langchain_aws
documentation for ChatBedrock
as that is where the configuration happens. ControlFlow then simply accepts "any LangChain LLM class that supports chat-based APIs and tool calling" LangChain docs