-
Notifications
You must be signed in to change notification settings - Fork 483
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Description
generate_structured_data_cohere.ipynb is failing with the following error because the model used is no longer supported:
PromptCallableException: The callable `fn` passed to `Guard(fn, ...)` failed with the following error: `litellm.APIConnectionError: Cohere_chatException - {"id":"e1cd3d43-4475-4eb3-98b9-2be29241a839","message":"model 'command-r' was removed on September 15, 2025. See https://docs.cohere.com/docs/models#command for a list of models you can use instead."}`. Make sure that `fn` can be called as a function
that accepts a prompt string, **kwargs, and returns a string.
If you're using a custom LLM callable, please see docs
here: https://go.guardrailsai.com/B1igEy3
Error found in generate_structured_data_cohere.ipynb
Why is this needed
To maintain proper documentation for our integrations.
Implementation details
Find a replacement model and update examples and documentation
End result
An updated and usable example of Guardrails AI with Cohere.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request