dhsg
dhsg3mo ago

Using Anthropic Extract node

Im having trouble getting Anthropic Extract node working to how I want it to, Im looking to target webpages with food menus. At first i tried using fields such as dish name, description, price. Here Im assuming the AI will work out what i want and close match it with the data from the webpage. However that kept giving errors for the sample URLs. So I tried a different approach. I used the AI (autofill witih AI) and it generated for me; Object.keys(ctx["root"]["request"]["body"]).join(", ") Which kinda worked better but only returned the dish names but ignore the pricing from the webpage (https://www.huahinindianrestaurant.com/menu/) Appreciate any help or advice. P.S, Could you provide an intergration that could provide data via a Extract from Image node?
volopolo
Royal Indian Food
Menu of Royal Indian Restaurant Hua Hin, Indian Food Thailand
Menu of Royal Indian Restaurant Hua Hin, Indian Food in Thailand, Curry Vegetarian, Vegan, Indian Bread, Biryani Rice, Tandoori Barbecue, Chicken Curry Bone Less
Solution:
Hey @dhsg, seems the content from the webpage exceeds the Anthropic context window. Is it possible you can try using the OpenAI version of the node. I tried, and it works well: https://buildship.app/remix/f3553548-4df6-4477-9452-d24b57a37abf Btw using the text mode is recommended if you don't plan on extracting any links or images because it reduces the context being passed to the model....
BuildShip - Visual backend workflow builder
Visually build workflows and powerful backend logic for your apps. Powered by AI, connect to anything with or without code.
Jump to solution
1 Reply
Solution
Luis
Luis3mo ago
Hey @dhsg, seems the content from the webpage exceeds the Anthropic context window. Is it possible you can try using the OpenAI version of the node. I tried, and it works well: https://buildship.app/remix/f3553548-4df6-4477-9452-d24b57a37abf Btw using the text mode is recommended if you don't plan on extracting any links or images because it reduces the context being passed to the model.
BuildShip - Visual backend workflow builder
Visually build workflows and powerful backend logic for your apps. Powered by AI, connect to anything with or without code.