Clay Icon

Need Help with Prompt Results and Domain Search Issue

·
·

Hello hello, I need some help with a prompt/results. Pasting my prompt in a thread for reference but the issue is that I ask the claygent to use the company's website to do a search and the result is for a company with a different domain.

  • Avatar of Julie R.
    Julie R.
    ·
    ·

    Find and return the URL of each company's sustainability report that specifically addresses carbon emissions, Scope 3, or net-zero goals. Details: Company Website: Steps: 1. Search the /website for a sustainability or corporate responsibility page. Look for a sustainability report or section that specifically mentions carbon emissions, Scope 3 emissions, or net-zero goals. If found, return the URL to that report or section. If found, return the URL of the report or the page hosting it. 2. If no report is found on the website, perform a Google search using the following format: “sustainability report site: /website” or "Scope 3 net-zero carbon emissions sustainability report." Ensure the result is directly from the company's domain or a trusted third-party source (e.g., official sustainability indexes or industry publications). 3. Verification Step: Before returning the URL, ensure that: - The domain of the URL matches the company's official website (e.g., the /website provided). - The content specifically mentions carbon emissions, Scope 3, or net-zero goals. 4. If no valid sustainability report is found after following these steps, return "NA" Notes: - Return only URLs that are from the company's domain or reputable, related third-party sites. - If multiple reports are found, return the URL to the most recent one. - Always ensure the URL points to the correct company by cross-referencing with the company's name and website." Row 3 column "Strategy Report URL" in this table: https://app.clay.com/workspaces/329237/workbooks/wb_7BAqHfBwyHsA/tables/t_zT5rSigUTCgT/views/gv_25iqkCNyVjWh

  • Avatar of Channeled
    Channeled
    APP
    ·
    ·

    👋 Hey there! Our support team has got your message - we'll be back in touch within 24 hours (often sooner!). If you haven't already, please include the URL of your table in this thread so that we can help you as quickly as possible!

  • Avatar of Julie R.
    Julie R.
    ·
    ·

    How should I modify my prompt to consistently get the results I want?

  • Avatar of LuisArturo
    LuisArturo
    ·
    ·

    Hey there Julie thanks for reaching out, , can you confirm which rows in particular are returning incorrect results so that we can take a look

  • Avatar of Julie R.
    Julie R.
    ·
    ·

    Row 3 column "Strategy Report URL" in this table:

  • Avatar of Bo (.
    Bo (.
    ·
    ·

    Thanks for providing the details! It looks like the issue is that the Claygent might not always be focusing on the correct domain, leading to incorrect results. Here’s how you can tweak your prompt to get more accurate and consistent results: Prompt Adjustments: 1. Be Explicit with the Domain: Ensure that in your prompt, you clearly state the domain you want Claygent to focus on. You can emphasize this in each step to prevent it from pulling data from unrelated sources. Example: Instead of just saying “Search the website,” specify: “Search the company’s official website (companywebsite.com) only.” 2. Reinforce Domain Matching: Add a stronger instruction in the verification step to ensure the URL strictly matches the provided domain. You can add something like: “Only return URLs that exactly match the company’s official domain (companywebsite.com). If no match, return ‘NA’.” 3. Clarify Google Search Criteria: When asking Claygent to perform a Google search, make sure to include the company name in addition to the domain for better results. Example: “Perform a Google search using the format ‘sustainability report [Company Name] site:companywebsite.com’ to ensure you’re focusing on the right company.” 4. Add a Cross-Check Step: Ask Claygent to cross-check the company name found on the page against the company name you provided. If the names don’t match, return “NA.” Updated Prompt Added in your Claygent Already I've also re-run the first 10 rows. This should help narrow down the results and avoid pulling from unrelated domains. Let me know if you need any further tweaks! 😊

  • Avatar of Channeled
    Channeled
    APP
    ·
    ·

    We haven't heard back from you in a bit, so we're going to go ahead and close things out here - feel free to let us know if you still need something!

  • Avatar of Channeled
    Channeled
    APP
    ·
    ·

    Hi Julie R.! This thread was recently closed by our Support team. If you have a moment, please share your feedback:

  • Avatar of Channeled
    Channeled
    APP
    ·
    ·

    Thank you so much for sharing your feedback Julie R.!