Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • 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.

    Thread Starter ryanchamberlin

    (@ryanchamberlin)

    I figured out that when I exported products from our live site to the test server, the ID’s changed so all of the cross sells are broken.
    That is why they aren’t displaying.

    I’m using you plugin version 1.0.21.1 and still getting errors about using product-id directly.

    Offending lines:
    552: “tvc_id” => esc_html($product->id),
    553: “tvc_i” => $product->get_sku() ? $product->get_sku() : $product->id,
    631: $homepage_json_ATC_link[$product->add_to_cart_url()]=array(“ATC-link”=>get_permalink($product->id));
    639: if(!array_key_exists(get_permalink($product->id),$homepage_json_fp)){
    640: $homepage_json_fp[get_permalink($product->id)] = array(
    641: “tvc_id” => esc_html($product->id),
    642: “tvc_i” => esc_html($product->get_sku() ? $product->get_sku() : $product->id),
    651: $homepage_json_rp[get_permalink($product->id)] =array(
    652: “tvc_id” => esc_html($product->id),
    653: “tvc_i” => esc_html($product->get_sku() ? $product->get_sku() : $product->id),
    687: $homepage_json_rp[get_permalink($product->id)] =array(
    688: “tvc_id” => esc_html($product->id),
    689: “tvc_i” => esc_html($product->get_sku() ? $product->get_sku() : $product->id),
    716: $prodpage_json_ATC_link[$product->add_to_cart_url()]=array(“ATC-link”=>get_permalink($product->id));
    718: $prodpage_json_relProd[get_permalink($product->id)] = array(
    719: “tvc_id” => esc_html($product->id),
    720: “tvc_i” => esc_html($product->get_sku() ? $product->get_sku() : $product->id),
    748: $catpage_json_ATC_link[$product->add_to_cart_url()]=array(“ATC-link”=>get_permalink($product->id));
    750: $catpage_json[get_permalink($product->id)] =array(
    751: “tvc_id” => esc_html($product->id),
    752: “tvc_i” => esc_html($product->get_sku() ? $product->get_sku() : $product->id),

    Thread Starter ryanchamberlin

    (@ryanchamberlin)

    Thank you for the help. It wasn’t working because I didn’t have exif installed.

    Thread Starter ryanchamberlin

    (@ryanchamberlin)

    That’s exactly what I needed, thank you.

    I just installed lock pages on wp 3.4.2 with network enabled.
    If you network activate the plugin it does somewhat work.
    The non-admins can not delete locked pages but they can still commit edits.

Viewing 6 replies - 1 through 6 (of 6 total)