
常用文檔轉(zhuǎn)換API匯總
此功能稱(chēng)為 Google 自動(dòng)完成預(yù)測(cè),它基于 NLP 和機(jī)器學(xué)習(xí)算法,通過(guò)考慮與輸入相關(guān)的熱門(mén)查詢(xún)、之前的搜索記錄、地理位置、查詢(xún)語(yǔ)言以及網(wǎng)絡(luò)上的詞語(yǔ)模式,幫助搜索引擎預(yù)測(cè)接下來(lái)的輸入內(nèi)容。
該搜索引擎還使用 NLP 驅(qū)動(dòng)的算法來(lái)解釋查詢(xún)并提供相關(guān)結(jié)果,比如 BERT 和 MUM 這樣的機(jī)器學(xué)習(xí)模型,通過(guò)自然語(yǔ)言處理來(lái)理解搜索短語(yǔ)、分析網(wǎng)上的內(nèi)容、編譯精選摘要并在結(jié)果頁(yè)面上對(duì)網(wǎng)站進(jìn)行排名。
搜索引擎只是 NLP 應(yīng)用的一個(gè)實(shí)例,但其示例和潛在用例非常多。舉幾個(gè)例子,NLP 包括:
正如您所見(jiàn),NLP 正在改變我們與網(wǎng)絡(luò)技術(shù)互動(dòng)的方式。隨著越來(lái)越多的組織尋求利用自然語(yǔ)言處理的能力,構(gòu)建強(qiáng)大的 NLP 模型面臨著一系列的技術(shù)挑戰(zhàn)。
探索 NLP 開(kāi)發(fā)前景
在上一節(jié)中,我們確認(rèn)了 NLP 是連接人類(lèi)語(yǔ)言與計(jì)算能力的橋梁。接下來(lái),讓我們看看構(gòu)建這座橋梁所需的過(guò)程。
首先,需要認(rèn)識(shí)到 NLP 是一門(mén)融合了計(jì)算機(jī)科學(xué)、深度學(xué)習(xí)和語(yǔ)言學(xué)的跨學(xué)科領(lǐng)域。
計(jì)算機(jī)科學(xué)需要處理大量數(shù)據(jù),深度學(xué)習(xí)使模型能夠像人腦一樣自主學(xué)習(xí),語(yǔ)言學(xué)有助于解讀人類(lèi)語(yǔ)言的句法、計(jì)算機(jī)科學(xué)側(cè)重于處理海量數(shù)據(jù),深度學(xué)習(xí)使得模型能夠像人腦那樣自主學(xué)習(xí),而語(yǔ)言學(xué)則幫助解讀人類(lèi)語(yǔ)言的句法、語(yǔ)義以及其他復(fù)雜特性。
為了說(shuō)明這些組件如何協(xié)同工作,我們將介紹 NLP 實(shí)施步驟:
預(yù)處理
首先,NLP 軟件處理并清理原始文本數(shù)據(jù),使其適合進(jìn)一步分析和訓(xùn)練。此階段涉及一系列技術(shù),例如:
訓(xùn)練
在此階段,NLP 算法在預(yù)處理數(shù)據(jù)上進(jìn)行訓(xùn)練,以準(zhǔn)備用于特定用例。要點(diǎn)如下:
部署
最后,部署 NLP 模型并將其集成到必要的系統(tǒng)中以處理新數(shù)據(jù)。部署包括:
總體來(lái)說(shuō),開(kāi)發(fā)自然語(yǔ)言處理模型是一項(xiàng)既復(fù)雜又耗資的任務(wù)。為避免這些挑戰(zhàn),企業(yè)往往選擇預(yù)訓(xùn)練模型如 BERT 或 GPT,開(kāi)源 NLP 庫(kù),NLP API 或者是針對(duì)特定任務(wù)的 NLP API,如情感分析 API。
DataForSEO API 中的 NLP:內(nèi)容生成、內(nèi)容分析、AI SERP 摘要
DataForSEO 提供一系列利用自然語(yǔ)言處理 (NLP) 技術(shù)的應(yīng)用程序編程接口 (API)。每個(gè) API 都旨在執(zhí)行特定任務(wù)并提供可根據(jù)您的自定義目的集成的數(shù)據(jù)。DataForSEO 提供了一系列利用 NLP 技術(shù)的 API,每個(gè) API 都旨在執(zhí)行特定任務(wù),并提供可定制的數(shù)據(jù)。
內(nèi)容生成 API
DataForSEO 的內(nèi)容生成 API 是一個(gè)高效的基于 NLP 的解決方案,能自動(dòng)執(zhí)行多項(xiàng)內(nèi)容相關(guān)的任務(wù),如簡(jiǎn)化內(nèi)容創(chuàng)作和加快內(nèi)容優(yōu)化。
該 API 集成了一系列技術(shù),使我們的 NLP 模型能夠:
為了確保輸出內(nèi)容符合 SEO 最佳實(shí)踐且風(fēng)格一致,Content Generation API 還使用復(fù)雜的機(jī)器學(xué)習(xí)算法,根據(jù)之前的輸出生成單詞或短語(yǔ)。為了確保輸出內(nèi)容符合 SEO 最佳實(shí)踐并保持一致性,內(nèi)容生成 API 使用復(fù)雜的機(jī)器學(xué)習(xí)算法,根據(jù)先前的輸出生成詞匯或短語(yǔ)。需要注意的是,生成的文本不會(huì)抄襲,但仍建議由人工編輯進(jìn)行最終審閱。
在本文中,您將了解更多關(guān)于內(nèi)容生成 API 及其功能的信息。
內(nèi)容分析 API
DataForSEO 的內(nèi)容分析 API 通過(guò)強(qiáng)大的情緒分析功能來(lái)加強(qiáng)品牌監(jiān)控。該 API 利用我們先進(jìn)的 NLP 模型,能夠輕松識(shí)別網(wǎng)絡(luò)上針對(duì)特定關(guān)鍵字、產(chǎn)品或品牌的提及,并即時(shí)分類(lèi)每條提及的情緒。
該模型經(jīng)過(guò)大量精心挑選的數(shù)據(jù)訓(xùn)練,不僅能夠準(zhǔn)確識(shí)別和評(píng)分積極、消極和中性情緒,還能識(shí)別和評(píng)分憤怒、喜悅、愛(ài)、悲傷等具體情緒反應(yīng)以及分享內(nèi)容的愿望。
除了發(fā)現(xiàn)提及并解讀情緒外,內(nèi)容分析 API 還提供了專(zhuān)門(mén)的端點(diǎn),用于按類(lèi)別或關(guān)鍵字查看提及和情緒的趨勢(shì)。值得一提的是,該 API 支持超過(guò) 70 種語(yǔ)言。
了解更多:如何使用內(nèi)容分析 API 來(lái)檢測(cè)網(wǎng)絡(luò)提及的情緒。
SERP API 中的 AI 摘要
SERP API 中的 AI Summary 端點(diǎn)是 DataForSEO 人工智能工具套件的最新成員。它利用先進(jìn)的 NLP 算法來(lái)匯總搜索引擎結(jié)果頁(yè)面 (SERP) 中的數(shù)據(jù)并提供關(guān)鍵見(jiàn)解。該端點(diǎn)也是可定制的,它提供了幾個(gè)選項(xiàng),可以指示算法:
請(qǐng)注意,AI 摘要端點(diǎn)與 SERP API 兼容,并支持所有 SERP API 搜索引擎。要開(kāi)始使用,您應(yīng)先設(shè)置一個(gè)任務(wù)來(lái)收集搜索結(jié)果數(shù)據(jù),然后指定該任務(wù)的 ID 并通過(guò) AI 摘要端點(diǎn)進(jìn)行 API 調(diào)用。
您可以查閱我們的文檔以獲取更多關(guān)于 AI 摘要的信息,包括詳細(xì)的指導(dǎo)和代碼示例。
最后,我們想指出 DataForSEO 提供按使用量計(jì)費(fèi)的 API,確保價(jià)格合理且質(zhì)量可靠。使用我們的解決方案,您可以在預(yù)算內(nèi)執(zhí)行定制的內(nèi)容和 SERP 分析,或創(chuàng)建量身定制的軟件。
要深入了解人工智能自動(dòng)化的世界以及 NLP 驅(qū)動(dòng) API 的潛在應(yīng)用場(chǎng)景,請(qǐng)繼續(xù)閱讀。
利用人工智能自動(dòng)化的 3 個(gè)用例
在開(kāi)發(fā)利用先進(jìn)算法、機(jī)器學(xué)習(xí)和自然語(yǔ)言處理(NLP)的人工智能軟件時(shí),讓各個(gè)組件和諧協(xié)作可能頗具挑戰(zhàn)。
為了幫助您順利完成開(kāi)發(fā)過(guò)程,我們將提供分步指南,展示如何利用 DataForSEO API 的強(qiáng)大功能通過(guò) AI 自動(dòng)執(zhí)行多項(xiàng)任務(wù)。
內(nèi)容創(chuàng)作是人工智能自動(dòng)化最常見(jiàn)的用例之一。它使企業(yè)能夠顯著加快和擴(kuò)展撰寫(xiě)文章、產(chǎn)品描述、社交媒體帖子、新聞通訊等的過(guò)程。
借助 DataForSEO AI SERP 摘要和內(nèi)容生成 API,您可以利用強(qiáng)大的數(shù)據(jù)摘要和自然語(yǔ)言生成技術(shù)來(lái)生成連貫且相關(guān)的內(nèi)容。
讓我們看看如何使用這些解決方案來(lái)分析您的競(jìng)爭(zhēng)對(duì)手,制定博客文章計(jì)劃,并創(chuàng)建一篇可以在 SERP 中挑戰(zhàn)您的競(jìng)爭(zhēng)對(duì)手的完整文章。
首先,使用與您的業(yè)務(wù)和目標(biāo)位置相關(guān)的關(guān)鍵字向Organic Google SERP API發(fā)出請(qǐng)求。作為示例查詢(xún),我們將針對(duì)以下位置使用“如何挑選沙發(fā)”:美國(guó)佛羅里達(dá)州。
提示:如果您不知道如何選擇關(guān)鍵字,請(qǐng)嘗試使用DataForSEO Labs API生成網(wǎng)站關(guān)鍵字。為了讓您的研究更加具體,您可以按商業(yè)搜索意圖過(guò)濾結(jié)果,以獲得與購(gòu)買(mǎi)前探索階段最相關(guān)的關(guān)鍵字列表,從而最有助于與潛在客戶(hù)建立信任關(guān)系。
步驟1. POST: https://api.dataforseo.com/v3/serp/google/organic/task_post
[
{
"language_name": "English",
"location_name": "Florida,United States",
"keyword": "how to pick a couch",
"device": "desktop"
}
]
收到回復(fù)后,無(wú)需手動(dòng)瀏覽排名靠前的頁(yè)面。只需使用任務(wù) ID(例如:“id”:“09131420-1535-0066-0000-9208ccf0767a”)向AI 摘要端點(diǎn)發(fā)出請(qǐng)求,我們的算法將從結(jié)果中的頁(yè)面中獲取內(nèi)容以生成快速摘要。您還可以使用自定義提示為我們的 AI 定義精確的任務(wù)。
第 2 步。 POST: https://api.dataforseo.com/v3/serp/ai_summary
[
{
"task_id": "09131420-1535-0066-0000-9208ccf0767a",
"prompt": "provide titles of top results and a full summary of content for each result",
"include_links": true,
"fetch_content": true,
"suport_extra": true
}
]
{
"version": "0.1.20230825",
"status_code": 20000,
"status_message": "Ok.",
"time": "22.8242 sec.",
"cost": 0.01,
"tasks_count": 1,
"tasks_error": 0,
"tasks": [
{
"id": "09131428-1535-0559-0000-6b9d6ed39e11",
"status_code": 20000,
"status_message": "Ok.",
"time": "22.7667 sec.",
"cost": 0.01,
"result_count": 1,
"path": [
"v3",
"serp",
"ai_summary"
],
"data": {
"api": "serp",
"function": "ai_summary",
"task_id": "09131420-1535-0066-0000-9208ccf0767a",
"prompt": "provide titles of top results and a full summary of content for each result",
"include_links": true,
"fetch_content": true,
"suport_extra": true
},
"result": [
{
"items_count": 1,
"items": [
{
"summary": "Title of top result: How to Choose the Perfect Sofa for Your Living Space [https://www.bhg.com/couch-buying-guide-7370559]\nSummary of content: This article provides tips on how to choose the perfect sofa for your living space. It suggests starting by picking a style that complements your design aesthetic. It also emphasizes the importance of considering factors like price point, comfort, quality, color, and additional features like stain-resistant fabric. The article aims to simplify the task of choosing a sofa by outlining the most important details to consider during the shopping process.\nTitle of second result: The Complete Guide on How to Buy a Sofa [https://www.apartmenttherapy.com/how-to-buy-sofa-36809606]\nSummary of content: This comprehensive guide provides valuable information on buying a sofa. It emphasizes the importance of considering both aesthetic and practical factors when making a purchase. The article suggests that comfort should be a priority and discusses how to ensure you're sourcing the right piece, especially when buying online. It also discusses the components that make up a quality sofa and provides helpful tips for making an informed decision.\nTitle of fourth result: How to Buy a Good Couch [https://www.thespruce.com/tips-for-buying-a-great-sofa-1391218]\nSummary of content: This article focuses on buying a good quality couch that will stand the test of time. It emphasizes the importance of considering factors like how the couch will be used, the space it will be in, and the style of the room. The article also discusses the difference between a couch and a sofa and provides tips on reviving an aging couch or replacing it if necessary.\nTitle of fifth result: The Ultimate Guide to Buying a Sofa That Will Stand the Test of Time [https://www.housebeautiful.com/home-remodeling/interior-designers/tips/a1092/sofa-buying-guide/]\nSummary of content: This guide highlights the significance of buying a sofa that will last and define your space. It discusses the construction of a well-constructed sofa, including the importance of a wooden frame that is kiln-dried. The article also provides tips for selecting the perfect sofa based on your lifestyle and preferences.\nTitle of sixth result: 8 Tips For Choosing the Perfect Sofa [https://www.universalexplorehome.com/2020/07/15/8-tips-for-choosing-the-perfect-sofa/]\nSummary of content: This article offers eight tips for choosing the perfect sofa. It suggests considering your lifestyle and requirements, such as the need for a sectional or stain-resistant upholstery. It also advises measuring the space and taking into account the orientation of the sofa. The article provides additional tips for selecting the right sofa for your home.\nNote: The analysis includes the ranking of each website in the google SERP."
}
]
}
]
}
]
}
現(xiàn)在我們已經(jīng)了解了排名靠前的網(wǎng)站和內(nèi)容類(lèi)型,我們可以利用這些見(jiàn)解為我們的目標(biāo)業(yè)務(wù)創(chuàng)建一篇全面的博客文章。例如,我們可以挑選一個(gè)排名結(jié)果來(lái)解釋其標(biāo)題和內(nèi)容摘要,然后使用標(biāo)題生成子主題并使用內(nèi)容生成 API獲取博客文章的大綱。
步驟3. POST: https://api.dataforseo.com/v3/content_generation/paraphrase/live
[
{
"text": "Title: The Ultimate Guide to Buying a Sofa That Will Stand the Test of Time. Summary of content: This guide highlights the significance of buying a sofa that will last and define your space. It discusses the construction of a well-constructed sofa, including the importance of a wooden frame that is kiln-dried. The article also provides tips for selecting the perfect sofa based on your lifestyle and preferences.",
"creativity_index": 0.3
}
]
{
"version": "0.1.20230825",
"status_code": 20000,
"status_message": "Ok.",
"time": "4.0411 sec.",
"cost": 0.01425,
"tasks_count": 1,
"tasks_error": 0,
"tasks": [
{
"id": "09131440-1535-0503-0000-37776669340c",
"status_code": 20000,
"status_message": "Ok.",
"time": "3.9669 sec.",
"cost": 0.01425,
"result_count": 1,
"path": [
"v3",
"content_generation",
"paraphrase",
"live"
],
"data": {
"api": "content_generation",
"function": "paraphrase",
"text": "Title: The Ultimate Guide to Buying a Sofa That Will Stand the Test of Time. Summary of content: This guide highlights the significance of buying a sofa that will last and define your space. It discusses the construction of a well-constructed sofa, including the importance of a wooden frame that is kiln-dried. The article also provides tips for selecting the perfect sofa based on your lifestyle and preferences.",
"creativity_index": 0.3
},
"result": [
{
"input_tokens": 95,
"output_tokens": 75,
"new_tokens": 75,
"generated_text": "Title: How to Choose a Sofa That Will Last a Lifetime. Summary of content: This guide offers practical advice on selecting a sofa that will stand the test of time. It covers the key factors to consider when choosing a sofa, such as the quality of the materials used, the durability of the frame, and the comfort level."
}
]
}
]
}
步驟4. POST: https://api.dataforseo.com/v3/content_generation/generate_sub_topics/live
[
{
"topic": "How to Choose a Sofa That Will Last a Lifetime",
"creativity_index": 0.9
}
]
{
"version": "0.1.20230825",
"status_code": 20000,
"status_message": "Ok.",
"time": "5.6213 sec.",
"cost": 0.0001,
"tasks_count": 1,
"tasks_error": 0,
"tasks": [
{
"id": "09131444-1535-0543-0000-e3b562478e10",
"status_code": 20000,
"status_message": "Ok.",
"time": "5.5858 sec.",
"cost": 0.0001,
"result_count": 1,
"path": [
"v3",
"content_generation",
"generate_sub_topics",
"live"
],
"data": {
"api": "content_generation",
"function": "generate_sub_topics",
"topic": "How to Choose a Sofa That Will Last a Lifetime",
"creativity_index": 0.9
},
"result": [
{
"input_tokens": 110,
"output_tokens": 236,
"new_tokens": 236,
"sub_topics": [
"Choosing the Right Materials",
"Considering Comfort and Support",
"Measuring for the Perfect Fit",
"Budgeting for a High-Quality Sofa",
"The Importance of Quality Upholstery",
"How to Select the Right Sleeper Sofa",
"The Benefits of Investing in a Custom Sofa",
"Evaluating the Durability of a Sofa",
"Tips for Caring for Your Sofa to Extend Its Lifespan",
"The Impact of Sofa Design on Resale Value"
]
}
]
}
]
}
一旦我們擁有了所需的一切,我們最終就可以指定主要主題和子主題來(lái)生成整篇文章的文本。
步驟5. POST: https://api.dataforseo.com/v3/content_generation/generate_text/live
[
{
"topic": "How to Choose a Sofa That Will Last a Lifetime",
"sub_topics": [
"Choosing the Right Materials",
"Considering Comfort and Support",
"Measuring for the Perfect Fit",
"Budgeting for a High-Quality Sofa",
"The Importance of Quality Upholstery",
"How to Select the Right Sleeper Sofa",
"The Benefits of Investing in a Custom Sofa",
"Evaluating the Durability of a Sofa",
"Tips for Caring for Your Sofa to Extend Its Lifespan",
"The Impact of Sofa Design on Resale Value"
],
"description": "This guide highlights the significance of buying a sofa that will last and define your space. The article also provides tips for selecting the perfect sofa based on your lifestyle and preferences.",
"meta_keywords": [
"buy a sofa",
"buy a couch",
"how to pick a couch"
],
"creativity_index": 0.8,
"word_count": 1000
}
]
{
"version": "0.1.20230825",
"status_code": 20000,
"status_message": "Ok.",
"time": "45.1599 sec.",
"cost": 0.0525,
"tasks_count": 1,
"tasks_error": 0,
"tasks": [
{
"id": "09131450-1535-0502-0000-3089defcc08d",
"status_code": 20000,
"status_message": "Ok.",
"time": "45.1382 sec.",
"cost": 0.0525,
"result_count": 1,
"path": [
"v3",
"content_generation",
"generate_text",
"live"
],
"data": {
"api": "content_generation",
"function": "generate_text",
"topic": "How to Choose a Sofa That Will Last a Lifetime",
"sub_topics": [
"Choosing the Right Materials",
"Considering Comfort and Support",
"Measuring for the Perfect Fit",
"Budgeting for a High-Quality Sofa",
"The Importance of Quality Upholstery",
"How to Select the Right Sleeper Sofa",
"The Benefits of Investing in a Custom Sofa",
"Evaluating the Durability of a Sofa",
"Tips for Caring for Your Sofa to Extend Its Lifespan",
"The Impact of Sofa Design on Resale Value"
],
"description": "This guide highlights the significance of buying a sofa that will last and define your space. The article also provides tips for selecting the perfect sofa based on your lifestyle and preferences.",
"meta_keywords": [
"buy a sofa",
"buy a couch",
"how to pick a couch"
],
"creativity_index": 0.8,
"word_count": 1000,
"include_conclusion": true
},
"result": [
{
"input_tokens": 288,
"output_tokens": 1050,
"new_tokens": 1050,
"generated_text": "When it comes to choosing a sofa, you want to make sure you're making a smart investment that will last for years to come. But with so many options on the market, it can be tough to know where to start. Fortunately, by considering a few key factors, you can find a sofa that not only looks great but also provides lasting comfort and support.\nChoosing the Right Materials\n-------------------\n\nThe materials used in a sofa are a crucial factor in determining its durability and lifespan. Look for sofas made with high-quality materials such as solid wood frames, durable fabrics, and comfortable cushioning. Avoid sofas with flimsy frames or low-quality materials that may break down quickly.\nConsidering Comfort and Support\n-------------------------\n\nComfort and support are essential when it comes to a sofa. Look for a sofa that provides adequate cushioning and support for your body. Consider the seat depth and height, as well as the armrest height and width. A sofa that provides the right amount of support will help prevent back and neck strain.\nMeasuring for the Perfect Fit\n-----------------------\n\nMeasuring your space and your body is crucial when choosing a sofa. Make sure you have enough space to accommodate the sofa comfortably, and consider how you'll use the space. A sofa that is too small or too large for your space can be uncomfortable and difficult to use.\nBudgeting for a High-Quality Sofa\n---------------------\n\nWhile it's important to invest in a high-quality sofa, it's also important to set a budget and stick to it. Avoid overspending on a sofa that may not provide the quality and comfort you need. Consider the cost of the sofa, as well as any additional costs such as delivery and assembly.\nThe Importance of Quality Upholstery\n------------------\n\nThe upholstery of a sofa is another important factor to consider. Look for sofas with high-quality upholstery that is durable and easy to clean. Avoid sofas with cheap or flimsy upholstery that may wear out quickly.\nHow to Select the Right Sleeper Sofa\n--------------------\n\nIf you're looking for a sofa that can convert into a bed, consider the size and comfort of the sleeper section. Make sure the sleeper section is large enough to accommodate a comfortable night's sleep, and look for a sofa with a sturdy frame that can support the weight of multiple people.\nThe Benefits of Investing in a Custom Sofa\n---------------------\n\nWhile pre-made sofas have their advantages, investing in a custom sofa can provide unparalleled comfort and style. A custom sofa can be tailored to your specific needs and preferences, providing a unique and comfortable seating solution.\nEvaluating the Durability of a Sofa\n------------------------\n\nWhen evaluating the durability of a sofa, consider the materials used, as well as the construction and design. Look for sofas with sturdy frames and high-quality materials that will withstand the test of time. Avoid sofas with flimsy frames or low-quality materials that may break down quickly.\nTips for Caring for Your Sofa to Extend Its Lifespan\n------------------\n\nProper care and maintenance can help extend the lifespan of your sofa. Avoid exposing your sofa to direct sunlight or extreme temperatures, and vacuum regularly to remove dirt and debris. Consider using a sofa protector to protect the upholstery and extend the life of your sofa.\nThe Impact of Sofa Design on Resale Value\n------------------\n\nThe design of your sofa can have a significant impact on its resale value. Choose a sofa with a timeless design that will appeal to potential buyers. Avoid sofas with trendy designs that may go out of style quickly, as they may lower the resale value of your home.",
"supplement_token": "FOQDXQ"
}
]
}
]
}
DataForSEO AI 快速而簡(jiǎn)單,幫助我們制作了一篇文章的完整草稿,這篇文章將幫助我們的業(yè)務(wù)在美國(guó)佛羅里達(dá)州的“如何挑選沙發(fā)”的 SERP 上獲得推薦。
如果您想進(jìn)一步了解,可以使用supplement_token
繼續(xù)生成。此外,您還可以為此文本生成元標(biāo)記,即標(biāo)題和描述標(biāo)記。您也可以嘗試使用AI SERP 摘要洞察來(lái)提高點(diǎn)擊率和用戶(hù)參與度:請(qǐng)求 AI SERP 摘要來(lái)獲取結(jié)果中的標(biāo)題和描述,然后使用其中一些作為目標(biāo)文本為您的博客文章生成元標(biāo)記。
不要猶豫,使用與您的業(yè)務(wù)相關(guān)的示例來(lái)測(cè)試AI SERP 摘要和內(nèi)容生成 API 。
分析競(jìng)爭(zhēng)對(duì)手是任何數(shù)字營(yíng)銷(xiāo)策略的重要組成部分。人工智能自動(dòng)化可以讓您在幾秒鐘內(nèi)深入了解廣闊的網(wǎng)絡(luò),從而將您的競(jìng)爭(zhēng)對(duì)手分析提升到一個(gè)新的水平。
我們的內(nèi)容分析 API可以?huà)呙钄?shù)百萬(wàn)個(gè)網(wǎng)絡(luò)資源,為您提供目標(biāo)競(jìng)爭(zhēng)對(duì)手或其產(chǎn)品的提及以及相關(guān)情緒。
您所要做的就是keyword
在將任務(wù)設(shè)置為搜索端點(diǎn)時(shí)定義一個(gè)目標(biāo)。
例如,讓我們嘗試找到提及Maiden Home The Jones Modular沙發(fā)的最可信資源,并發(fā)現(xiàn)提及該產(chǎn)品時(shí)使用的語(yǔ)氣。
POST: https://api.dataforseo.com/v3/content_analysis/search/live
[
{
"keyword": "Maiden Home The Jones Modular",
"keyword_fields": {
"snippet": "Maiden Home The Jones Modular"
},
"page_type": [
"news",
"blogs",
"message-boards",
"organization"
],
"search_mode": "one_per_domain",
"filters": [
"country",
"=",
"US"
],
"internal_list_limit": 5,
"order_by": [
"domain_rank,desc"
],
"limit": 2
}
]
返回的數(shù)據(jù)不僅可以幫助您發(fā)現(xiàn)關(guān)鍵詞提及,還可以發(fā)現(xiàn)提及該關(guān)鍵詞的每個(gè)資源的域和域強(qiáng)度。我們的 API 還將為您提供包含目標(biāo)關(guān)鍵詞的文本片段,而 DataForSEO AI 將確定包裹每個(gè)引用的情緒和情感反應(yīng)。
{
"version": "0.1.20230825",
"status_code": 20000,
"status_message": "Ok.",
"time": "0.2233 sec.",
"cost": 0.02006,
"tasks_count": 1,
"tasks_error": 0,
"tasks": [
{
"id": "09131518-1535-0463-0000-80dfa4af649b",
"status_code": 20000,
"status_message": "Ok.",
"time": "0.1866 sec.",
"cost": 0.02006,
"result_count": 1,
"path": [
"v3",
"content_analysis",
"search",
"live"
],
"data": {
"api": "content_analysis",
"function": "search",
"keyword": "Maiden Home The Jones Modular",
"keyword_fields": {
"snippet": "Maiden Home The Jones Modular"
},
"page_type": [
"news",
"blogs",
"message-boards",
"organization"
],
"search_mode": "one_per_domain",
"filters": [
"country",
"=",
"US"
],
"order_by": [
"domain_rank,desc"
],
"limit": 2
},
"result": [
{
"offset_token": "eyJDdXJyZW50T2Zmc2V0IjoyLCJSYXdSZXF1ZXN0Ijp7ImtleXdvcmQiOiJNYWlkZW4gSG9tZSBUaGUgSm9uZXMgTW9kdWxhciIsImtleXdvcmRfZmllbGRzIjp7InNuaXBwZXQiOiJNYWlkZW4gSG9tZSBUaGUgSm9uZXMgTW9kdWxhciJ9LCJwYWdlX3R5cGUiOnsidHlwZXMiOlsibmV3cyIsImJsb2dzIiwibWVzc2FnZS1ib2FyZHMiLCJvcmdhbml6YXRpb24iXSwibWVyZ2UiOiJvciJ9LCJzZWFyY2hfbW9kZSI6Im9uZV9wZXJfZG9tYWluIiwicXVlcnkiOnsiZmllbGQiOiJjb3VudHJ5IiwidHlwZSI6ImVxIiwidmFsdWUiOiJVUyJ9LCJvcmRlcl9ieSI6eyJvcmRlcl9maWVsZCI6ImRvbWFpbl9yYW5rIiwib3JkZXJfdHlwZSI6ImRlc2MifSwibGltaXQiOjIsImFpZCI6MTUzNX0sIlNlYXJjaEFmdGVyRGF0YSI6eyJWZXJzaW9uIjoxLCJTZWFyY2hBZnRlclZhbHVlcyI6eyJkb21haW5fcmFuayI6MTU2MDYyMTguMCwiX3Njb3JlIjo0MTA3OS41NCwidXJsX2hhc2giOiItNzYzMTAxNzk0OTA5MjAzMjI5MyJ9LCJUb2tlblJlYWxPZmZzZXQiOjB9fQ==",
"total_count": 18,
"items_count": 2,
"items": [
{
"type": "content_analysis_search",
"url": "https://www.aol.com/lifestyle/22-cozy-seating-arrangements-midday-132300710.html",
"domain": "www.aol.com",
"main_domain": "aol.com",
"url_rank": 0,
"spam_score": 0,
"domain_rank": 687,
"fetch_time": "2023-07-09 23:31:43 +00:00",
"country": "US",
"language": "en",
"score": 44387.812,
"page_category": [
10009,
10413,
11574,
12818,
10405,
10021,
10178,
10937,
12263
],
"page_types": [
"news"
],
"ratings": null,
"social_metrics": null,
"content_info": {
"content_type": "page_content",
"title": "The Jones Modular",
"main_title": "The Most Comfortable Couches You Can Buy Online, According to Design Pros",
"previous_title": "Atelier Sofa",
"level": 2,
"author": "Isis Briones, Medgina Saint-Elien, Jessica Cherner",
"snippet": "Few brands craft luxurious sofas like Maiden Home. Rather than offer their loyal clients a bevy of options, which, more often than not, are more stressful than helpful, Maiden Home sells 13 styles, including The Jones, a modular option we are shamelessly obsessed with. We love it in the sea foam green pictured, but if you're into something more neutral, opt for any of the brand's myriad fabric options. Plus, it comes with free white glove delivery because it's made to order, meaning no one is going into a warehouse and pulling out a sofa that's been sitting on a shelf for months.",
"snippet_length": 586,
"social_metrics": null,
"highlighted_text": null,
"language": "en",
"sentiment_connotations": {
"anger": 0.06424564123153687,
"happiness": 0.28066372871398926,
"love": 0.20608040690422058,
"sadness": 0.10792048275470734,
"share": 0.13618203997612,
"fun": 0.2049676775932312
},
"connotation_types": {
"positive": 0.25451037287712097,
"negative": 0.11579282581806183,
"neutral": 0.6297268271446228
},
"text_category": [
10108,
10009,
10405,
10013
],
"date_published": "2023-06-02 16:38:00 +00:00",
"content_quality_score": 95,
"semantic_location": "article",
"rating": null,
"group_date": "2023-06-02 16:38:00 +00:00"
}
},
{
"type": "content_analysis_search",
"url": "https://onehousing.us/best-made-sofa/",
"domain": "onehousing.us",
"main_domain": "onehousing.us",
"url_rank": 0,
"spam_score": 0,
"domain_rank": 470,
"fetch_time": "2023-08-23 20:35:25 +00:00",
"country": "US",
"language": "en",
"score": 41079.54,
"page_category": [
10004,
10108,
10756,
10009,
10405
],
"page_types": [
"cms",
"blogs",
"organization"
],
"ratings": null,
"social_metrics": null,
"content_info": {
"content_type": "page_content",
"title": "1. Maiden Residence",
"main_title": "The 27 Best Sofa Brands for 2023",
"previous_title": "Excessive-Finish Sofas",
"level": 3,
"author": "myhouse",
"snippet": "Beginning value: Sofas begin at round $2,100.\nWith regards to your own home, Maiden Residence believes you shouldn’t settle-for generic design, lesser high quality or something in need of an ideal match. Every of its sofas is handmade to order by craftsman companions in North Carolina—working with woodworking, cushion, tailoring, and fabric artisans which have every honed their craft from strategies handed down by generations.\nAssessment: We shipped Maiden Residence’s Varick Couch and matching ottoman to one among our contributors — learn the overview right here. We aslo shipped the Jones Modular Couch to one among our writers, take a look at the Jones overview right here.\n“Prospects hunt down Maiden Residence as a result of our design ethos and dedication to high quality is second to none,” founder Nidhi Kapur informed Dwelling Cozy. “Our prospects are people who wish to discover funding items for his or her house – the items they see themselves residing with for years, these that may stand the take a look at of time each aesthetically and functionally.” ?\nMerchandise: Maiden Residence gives a spread of sofas, sectionals and modular items.\n? Supply: Customized items are prepared for supply in as little as 6 weeks from time of order. ?\nDelivery charges: Complimentary transport and white glove supply service with any furnishings order.\n? Store now at maidenhome.com",
"snippet_length": 1386,
"social_metrics": null,
"highlighted_text": null,
"language": "en",
"sentiment_connotations": {
"anger": 0.0571134053170681,
"happiness": 0.2957421839237213,
"love": 0.25315871834754944,
"sadness": 0.08308788388967514,
"share": 0.13912850618362427,
"fun": 0.17182937264442444
},
"connotation_types": {
"positive": 0.4710148274898529,
"negative": 0.18413496017456055,
"neutral": 0.34488028287887573
},
"text_category": [
10017,
10142,
10769,
12067,
10004,
10108
],
"date_published": "2023-08-18 15:20:05 +00:00",
"content_quality_score": 94,
"semantic_location": "article",
"rating": null,
"group_date": "2023-08-18 15:20:05 +00:00"
}
}
]
}
]
}
]
}
然后,您可以使用這些意見(jiàn)挖掘數(shù)據(jù)來(lái)找出競(jìng)爭(zhēng)對(duì)手產(chǎn)品和公司整體的優(yōu)勢(shì)和劣勢(shì),并據(jù)此制定自己的戰(zhàn)略。例如,您可以復(fù)制競(jìng)爭(zhēng)對(duì)手的一些成功功能,也可以找出需要避開(kāi)的陷阱。
此外,您還可以監(jiān)控競(jìng)爭(zhēng)對(duì)手的產(chǎn)品在某個(gè)資源上被提及的時(shí)間,以尋找他們的品牌聯(lián)盟和新的平臺(tái)來(lái)推廣您的產(chǎn)品。
人工智能自動(dòng)化的另一個(gè)非常有用的用例是生成 Google 搜索結(jié)果摘要。這些數(shù)據(jù)可以以多種方式應(yīng)用。
Google 新聞簡(jiǎn)報(bào)
借助先進(jìn)的 NLP 技術(shù),您可以從 Google 新聞 SERP 上的最新新聞中提取關(guān)鍵信息,并為用戶(hù)提供包含最重要的事件的詳盡簡(jiǎn)報(bào)。
問(wèn)答
您還可以利用 AI 和 SERP 數(shù)據(jù)來(lái)提供問(wèn)答系統(tǒng),例如聊天機(jī)器人、虛擬助手或快速響應(yīng)所需的自定義軟件。因此,一旦用戶(hù)提供查詢(xún),系統(tǒng)就會(huì)自動(dòng)從 SERP 請(qǐng)求此數(shù)據(jù),智能算法將匯總結(jié)果以返回引人注目且相關(guān)的響應(yīng)。
使用我們的SERP API和AI SERP Summary端點(diǎn),獲取必要的情報(bào)并收集數(shù)據(jù)來(lái)支持這些解決方案將變得快速而簡(jiǎn)單。
正如我們?cè)趦?nèi)容創(chuàng)建部分中解釋的那樣,您應(yīng)該首先請(qǐng)求 SERP 數(shù)據(jù)。如果您想獲取 Google 新聞結(jié)果,請(qǐng)對(duì)Google 新聞 SERP API的Task POST或Live端點(diǎn)進(jìn)行 API 調(diào)用。
如果您有興趣從傳統(tǒng)的 Google 搜索收集數(shù)據(jù),請(qǐng)使用Organic Google SERP端點(diǎn)。
在下面的示例中,我們將獲取新聞結(jié)果頁(yè)面,然后使用響應(yīng)中的任務(wù) ID 生成有關(guān) Apple 最新動(dòng)態(tài)的摘要。
步驟1. POST: https://api.dataforseo.com/v3/serp/google/news/live/advanced
[
{
"language_name": "English",
"location_name": "Florida,United States",
"keyword": "apple",
"device": "desktop"
}
]
從響應(yīng)中復(fù)制任務(wù) ID:。09131532-1535-0066-0000-24a143486afc
如有必要,在將任務(wù)設(shè)置為 AI 摘要時(shí)指定提示。
第 2 步。 POST: https://api.dataforseo.com/v3/serp/ai_summary
[
{
"task_id": "09131532-1535-0066-0000-24a143486afc",
"prompt": "provide titles of top results and a full summary of content for each result",
"include_links": true,
"fetch_content": true,
"suport_extra": true
}
]
這是最終的回應(yīng),其中包含有關(guān) Apple 公司及其產(chǎn)品的新聞?wù)?/p>
{
"version": "0.1.20230825",
"status_code": 20000,
"status_message": "Ok.",
"time": "27.1968 sec.",
"cost": 0.01,
"tasks_count": 1,
"tasks_error": 0,
"tasks": [
{
"id": "09131532-1535-0559-0000-3e3813aeb5c5",
"status_code": 20000,
"status_message": "Ok.",
"time": "27.1364 sec.",
"cost": 0.01,
"result_count": 1,
"path": [
"v3",
"serp",
"ai_summary"
],
"data": {
"api": "serp",
"function": "ai_summary",
"task_id": "09131532-1535-0066-0000-24a143486afc",
"prompt": "provide titles of top results and a full summary of content for each result",
"include_links": true,
"fetch_content": true,
"suport_extra": true
},
"result": [
{
"items_count": 1,
"items": [
{
"summary": "Title of Result 1: Apple's $60 iCloud Service Is the Future of Apple\nSummary of Result 1: Apple announced new iCloud plans, called iCloud+, which offer 6 terabytes of cloud storage for $30 per month and 12 terabytes for $60 per month. The high cost is part of Apple's strategy to keep customers locked into its ecosystem by making it harder for them to switch to other services. The company aims to expand its services and subscription offerings in the future.\nTitle of Result 2: AI quietly reshapes Apple iPhones, Watches\nSummary of Result 2: Apple is using artificial intelligence (AI) to improve basic functions in its new iPhones and watches. The new devices feature improved semiconductor designs and a four-core \"Neural Engine\" that can process machine learning tasks up to twice as quickly. The AI components also enhance Siri, Apple's voice assistant, making it 25% more accurate. Unlike other companies, Apple is not pushing for significant transformations with AI, but rather focusing on enhancing user experience.\nTitle of Result 3: New Apple Leak Highlights Shock MacBook Pro Decision\nSummary of Result 3: There have been leaks suggesting that Apple's upcoming M3 launch may not include the expected MacBook Air and MacBook Pro laptops. These leaks have tempered expectations for Apple's October event, which was anticipated to include the launch of the M3 chipset along with new Mac products. Bloomberg's Mark Gurman suggests that Apple may opt for press releases to introduce new products instead of prerecorded announcement videos.\nTitle of Result 4: September 2023 Apple Event Spoiler-Free Video Stream [Video Posted]\nSummary of Result 4: Apple's latest \"Wonderlust\" media event is expected to be a pre-recorded presentation. The video will be made available for on-demand viewing shortly after the conclusion of the event. Users who want to avoid spoilers can gather in a designated thread until the video is posted. The timing for the availability of the video is expected to be similar to previous virtual events conducted by Apple.\nTitle of Result 5: Apple’s iPhone 15 event didn’t reveal much about the Vision Pro headset\nSummary of Result 5: Apple introduced its Vision Pro headsets, which combine virtual reality, augmented reality, and connectivity to devices like phones and computers. However, the headsets will not be available for sale until early next year. Information about the headsets is limited, and their pricing is expected to be around $3,500 and up. Apple has yet to provide details on how the headsets will be used and their specific features.\nNote: These titles and summaries are based on the provided information and may not be entirely accurate. Additional details and context may be found in the full articles by following the provided URLs."
}
]
}
]
}
]
}
如您所見(jiàn),如果您擁有合適的工具,開(kāi)發(fā)基于 AI 的應(yīng)用程序并不一定是火箭科學(xué)。不要猶豫,大膽嘗試,提出由 AI 和 NLP 推動(dòng)的全新變革性解決方案。
我們希望您喜歡這段旅程,從 NLP 基礎(chǔ)知識(shí)及其對(duì)網(wǎng)絡(luò)的影響到 AI 自動(dòng)化減少手動(dòng)任務(wù)的一些最廣泛用例。此時(shí),您應(yīng)該知道如何使用這些 AI 驅(qū)動(dòng)的 DataForSEO API 簡(jiǎn)化內(nèi)容創(chuàng)建、競(jìng)爭(zhēng)對(duì)手分析和 Google 結(jié)果摘要工具的開(kāi)發(fā)過(guò)程:
原文鏈接:Building AI-Powered Automation Tools With Three NLP-Based APIs
常用文檔轉(zhuǎn)換API匯總
2024年國(guó)內(nèi)熱門(mén)天氣環(huán)境API
使用第三方API擴(kuò)展低代碼/無(wú)代碼平臺(tái)的功能
AI 驅(qū)動(dòng)的 API 如何改變招聘:2024 年國(guó)內(nèi)外頂級(jí)招聘相關(guān)API
Ipstack 案例研究:Airbnb 如何使用地理位置 IP 地址來(lái)展示房源
網(wǎng)易企業(yè)郵箱API 終極指南:功能、定價(jià)和實(shí)施
OpenAI API定價(jià)及成本計(jì)算
面向開(kāi)發(fā)人員的 10 個(gè)最佳股票 API
釋放創(chuàng)意潛能:AI3D模型生成服務(wù)EasyPeasy的集成指南
對(duì)比大模型API的內(nèi)容創(chuàng)意新穎性、情感共鳴力、商業(yè)轉(zhuǎn)化潛力
一鍵對(duì)比試用API 限時(shí)免費(fèi)