• Resolved ryanchamberlin

    (@ryanchamberlin)


    I’ve tested creating a dataset on a single product a few times. The price questions always have an answer of no price information was found. The product page does show the price though. Does it look at the markup names to find fields or just content? The span containing the price amount is labeled woocommerce-price-amount but there is no actual text label on the page that says “price” It does use the currency symbol in front of it.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Jordy Meow

    (@tigroumeow)

    Hi @ryanchamberlin,

    What do you mean by dataset? Do you know how context awareness works with AI? If not, please have a look here: https://meowapps.com/ai-engine/tutorial/#contextualization

    Thread Starter ryanchamberlin

    (@ryanchamberlin)

    In the Dataset Builder of Ai Engine, the Entries Generator creates a list of prompts and completions. I run the Single Generate on a product post type.

    It generates the prompts and most of them have the proper completion but there are two specifically that are not working.

    The first prompt “What is the price of the task chair?” Completion is “The price of the task chair is not mentioned in the article.”

    The price is on the page, but as I mentioned before, there isn’t text that labels it as price. It does have a $ in front of it, which I’ve had luck with other ML engines figuring out.

    The second prompt is “What is the warranty on the task chair” It has the same completion saying it is not mentioned.

    The warranty is definitely on the page in plain text.

    This is why I was asking how it is looking at the page. I am wondering if it is simulating a browser rendered version or is it parsing the whole DOM and all the tags? Are there limits on what it looks at, expecting it to be structured like a blog post, so maybe it is trying to ignore footer content and maybe that is why it’s not getting the warranty? It is in a separate section of the page from the main product info.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Dataset not finding price on woocommerce product page’ is closed to new replies.