Hacker News new | past | comments | ask | show | jobs | submit login
Ask HN: How can I get structured outputs from AWS Bedrock?
1 point by itskarad 85 days ago | hide | past | favorite
Just FYI — I'm not an ML person. I was trying out Bedrock and wanted a reliable way to get JSON responses from the Llama 3.3 model on AWS Bedrock. Is there a better way than just prompting?

I have previously tried running Llama on Ollama locally and it works great since it's supported out of the box.

I have looked into outlines + vllm, but that requires a powerful machine + GPU to produce structured outputs, and that's just wasteful, because I would be better off hosting my own Llama and using ollama.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: