Hacker News new | ask | show | jobs
by petralithic 217 days ago
How would the product work if for example I just wanted to get basic information from various websites, such as "how many calories are in a McDonald's hamburger?" I'm creating a product that tracks calories via natural language and I'd want a structured JSON back of calories, grams of fat, protein, carbs etc. What API would I use for that, the Chat API one?
1 comments

Yes, the chat api is great for this: https://docs.parallel.ai/chat-api/chat-quickstart.