all AI news
AWS Bedrock Claude 2.1 - Return only JSON
Dec. 7, 2023, 6:49 p.m. | Martin Muller
DEV Community dev.to
Working with the AWS Bedrock API is an exhilarating experience! I came across an interesting business case where I needed to develop an AI MVP. The MVP generates JSON data based on a prompt and utilizes the anthropic.claude-v2:1 model in AWS Bedrock.
I encountered an issue where the response I received was not pure JSON. It contained additional characters that I couldn't remove like:
" format: {\"one\":\"Supplier\",\"many\":\"Time\"}"
Seeking help from the AWS Community, I was able to find a …
anthropic api aws aws bedrock bedrock business business case case claude claude 2 claude 2.1 data experience issue json mvp prompt
More from dev.to / DEV Community
Jobs in AI, ML, Big Data
Software Engineer for AI Training Data (School Specific)
@ G2i Inc | Remote
Software Engineer for AI Training Data (Python)
@ G2i Inc | Remote
Software Engineer for AI Training Data (Tier 2)
@ G2i Inc | Remote
Data Engineer
@ Lemon.io | Remote: Europe, LATAM, Canada, UK, Asia, Oceania
Artificial Intelligence – Bioinformatic Expert
@ University of Texas Medical Branch | Galveston, TX
Lead Developer (AI)
@ Cere Network | San Francisco, US