Anthropic structured output parsing in the workfkow
Search before asking
- [x] I have searched the Inference issues and found no similar feature requests.
Question
I’m running a custom Roboflow workflow for bounding-box labeling that integrates Anthropic models for detection and structured output parsing.
However, neither unrecognized object detection nor structured output generation modes pass Pydantic validation during runtime.
When I include either the JSON Parser block or use VLM as Detector, the workflow fails with:
Failed to assemble claude_output.
Could not successfully use any deserializer for declared kinds.
Details:
Kind: string - Error: Detected runtime parameter claude_output declared to hold string value, but invalid type of data found (dict).
Kind: language_model_output - Error: Detected runtime parameter claude_output declared to hold string value, but invalid type of data found (dict).
It looks like the Anthropic block always returning an object.
Could you help me solve this issue? What should I change in my block configurations? Thanks!
Additional
No response
yeah seems liek a bug on the block maybe mismatch between what i has declared vs actually returns. could you paste an example workflow spec to help reproduce? (be sure to remove any api keys).