{"id":122,"date":"2023-10-02T12:32:45","date_gmt":"2023-10-02T12:32:45","guid":{"rendered":"https:\/\/forcesquaresdemo.24livehost.com\/blogs\/?p=122"},"modified":"2023-09-22T09:51:24","modified_gmt":"2023-09-22T09:51:24","slug":"integrate-chatgpt-with-salesforce","status":"publish","type":"post","link":"https:\/\/www.forcesquares.com\/blogs\/integrate-chatgpt-with-salesforce\/","title":{"rendered":"Integrate ChatGPT with Salesforce."},"content":{"rendered":"<p><strong>What is ChatGPT&#8211;<\/strong><\/p>\n<p>The language model ChatGPT, developed by Open AI, can produce text and interactions that resemble those of a human.<\/p>\n<p>The free tool creates interactions with the user that seem plausible.<\/p>\n<p><strong>ChatGPT can:-<\/strong><\/p>\n<p>*Answer questions or search queries in a manner similar to that of Google Create writing, including<br \/>*copy and creative suggestions<br \/>*Research Assistance<\/p>\n<p>In today&#8217;s fast-paced business environment, customer support has become more critical than ever. With increasing competition, businesses need to provide exceptional customer service to differentiate themselves from the competition. One way to do that is by integrating a chatbot with Salesforce, which can provide real-time assistance to customers.<\/p>\n<p>Dotsquares is a Salesforce partner that offers seamless integration of Chat GPT Salesforce with. The integration of these two platforms can enhance customer experience and improve the efficiency of customer service.<\/p>\n<p>Here are some of the benefits of integrating Salesforce with Chat GPT:<\/p>\n<p><strong>Automated Customer Service:\u00a0<\/strong>By integrating Chat GPT with Salesforce, businesses can provide automated customer service, which can save time and resources. Chat GPT can answer common customer queries and provide quick solutions, freeing up customer support staff to handle more complex issues.<\/p>\n<p><strong>Improved Customer Engagement:\u00a0<\/strong>Chat GPT can provide real-time customer service, improving engagement with customers. By answering queries quickly, businesses can increase customer satisfaction and improve their reputation.<\/p>\n<p><strong>Increased Efficiency:\u00a0<\/strong>Integrating Salesforce with Chat GPT can improve the efficiency of customer service. Chat GPT can handle multiple queries simultaneously, which can reduce wait times for customers and improve the overall experience.<\/p>\n<p><strong>24\/7 Customer Support:\u00a0<\/strong>Chat GPT can provide 24\/7 customer support, which can enhance the customer experience. Customers can get answers to their queries at any time, which can improve their satisfaction and loyalty.<\/p>\n<p><strong>Steps for Integrating ChatGPT with Salesforce: &#8211;<\/strong><\/p>\n<p><strong>1. Apex Class Code:-<\/strong><\/p>\n<pre> \r\n    public with sharing class ChatGptAi {\r\nprivate static String CHAT_GPT_KEY = '     ';<strong>\/\/Use your own API key provided by the ChatGpt.<\/strong> \r\nprivate static final String ENDPOINT ='https:\/\/api.openai.com\/v1\/completions';    \r\n@AuraEnabled\r\npublic static String getQueryData(String searchString){\r\n    try{\r\n        String seachQueryEscaped = (searchString).trim();\r\n        Http http = new Http();\r\n        String reqBody = '{\"model\": \"text-davinci-003\",\"prompt\":\"'\r\n            +seachQueryEscaped+\r\n            '\",\"max_tokens\": 4000,\"temperature\": 0,'\r\n            +'\"stream\": false,\"top_p\": 0.5}';\r\n        System.debug('Query '+seachQueryEscaped+' '+reqBody);\r\n        HttpRequest request = new HttpRequest();\r\n        request.setEndpoint(ENDPOINT);\r\n        request.setMethod('POST');\r\n        request.setHeader('Authorization', 'Bearer '+String.escapeSingleQuotes(CHAT_GPT_KEY).trim());\r\n        request.setTimeout(120000);\r\n        request.setHeader('Content-Type', 'application\/json;charset=UTF-8');\r\n        request.setBody(reqBody);\r\n        HttpResponse response = http.send(request);\r\n        if(response.getStatusCode() != 200) {\r\n            System.debug('The status code returned was not expected: ' + response.getStatusCode() + ' ' + response.getBody());\r\n            return response.getBody();\r\n        }\r\n        return response.getBody();\r\n    }catch(Exception ex){\r\n        System.debug('Exception in Catch of Server-Side Controller '+ex);\r\n        throw new AuraHandledException(ex.getMessage());\r\n        }\r\n    }\r\n}\r\n      <\/pre>\n<p><strong>**Note&#8211;Use API key with New openai Account.<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><strong>2. For Creating LWC Component<\/strong><\/p>\n<p><strong>HTML File: &#8211;<\/strong><\/p>\n<pre>                    \r\n&lt;template&gt;\r\n\t&lt;div class=\"slds-card slds-scrollable  slds-float_left\" style =\"width: 400px;\"  &gt;\r\n\t\t&lt;header class=\"slds-card__header slds-grid\"&gt;\r\n\t\t\t&lt;div class=\"slds-media slds-media_center slds-has-flexi-truncate\"&gt;\r\n\t\t\t\t&lt;div class=\"slds-media__figure\"&gt;\r\n\t\t\t\t\t&lt;img src={imageUrl} width=\"50\" height=\"50\" alt=\"Avatar\"  \/&gt;\r\n\t\t\t\t&lt;\/div&gt;\r\n\t\t\t\t&lt;div class=\"slds-media__body\"&gt;\r\n\t\t\t\t\t&lt;h2 class=\"slds-card__header-title\"&gt;\r\n\t\t\t\t\t\t&lt;a href=\"javascript:void(0);\" class=\"slds-card__header-link slds-truncate\" title=\"Card Title\"&gt;\r\n\t\t\t\t\t\t\tChat GPT\r\n\t\t\t\t\t\t&lt;\/a&gt;\r\n\t\t\t\t\t&lt;\/h2&gt;\r\n\t\t\t\t\t&lt;p class=\"slds-card__header-subtitle slds-truncate\" title=\"Card Subtitle\"&gt;Dotsquares Technologies&lt;\/p&gt;\r\n\t\t\t\t&lt;\/div&gt;\r\n\t\t\t&lt;\/div&gt;\r\n\t\t&lt;\/header&gt;\r\n\t\t&lt;div class=\"scrollable-content slds-card__body slds-card__body_inner \" &gt;\r\n\t\t\t&lt;template if:true={responseData}&gt;\r\n\t\t\t\t&lt;lightning-formatted-rich-text disable-linkify value={responseData}&gt;&lt;\/lightning-formatted-rich-text&gt;\r\n\t\t\t&lt;\/template&gt;\r\n\t\t\t&lt;template if:true={showSpace}&gt;\r\n\t\t\t\t&lt;br\/&gt;\r\n\t\t\t\t&lt;br\/&gt;\r\n\t\t\t\t&lt;br\/&gt;\r\n\t\t\t&lt;\/template&gt;\r\n\t\t\t&lt;template if:true={showSpinner}&gt;\r\n\t\t\t\t&lt;lightning-spinner alternative-text=\"Loading\" size=\"large\"&gt;&lt;\/lightning-spinner&gt;\r\n\t\t\t&lt;\/template&gt;\t\t\r\n\t\t&lt;\/div&gt;\r\n\t\t&lt;footer class=\"slds-card__footer\" &gt;\r\n\t\t\t&lt;div class=\"slds-form-element\"&gt;\r\n\t\t\t\t&lt;div class=\"slds-form-element__control slds-input-has-icon slds-input-has-icon_right\"&gt;\r\n\t\t\t\t\t&lt;input type=\"text\" id=\"search-input-footer\" class=\"slds-input\" placeholder=\"Enter search term\" onkeydown={handleKeyDown} \/&gt;\r\n\t\t\t\t\t &lt;span class=\"slds-icon_container slds-icon-utility-down slds-input__icon slds-input__icon_right multi-select-combobox__icon\"\r\n                \t\t   title=\"Click to open the dropdown\"\r\n              \t\t &gt;&lt;div class=\"slds-p-left_xx-small\"&gt;\r\n                \t\t&lt;lightning-icon\r\n                  \t\t\ticon-name=\"utility:right\"\r\n                  \t\t\tsize=\"xx-small\"\r\n                  \t\t\talternative-text=\"Click here\"\r\n                  \t\t\tclass=\"slds-icon slds-icon--selected slds-icon--x-small slds-icon-text-default\"\r\n                  \r\n                \t\t&gt;\r\n                \t\t&lt;\/lightning-icon&gt;\r\n                \t&lt;\/div&gt;\r\n                  &lt;\/span&gt;\r\n\t\t\t\t&lt;\/div&gt;\r\n\t\t\t&lt;\/div&gt;\r\n\t\t&lt;\/footer&gt;\r\n\t&lt;\/div&gt;\r\n&lt;\/template&gt;                    <\/pre>\n<p><strong>3. JavaScript Code: &#8211;<\/strong><\/p>\n<pre>    \r\nimport { LightningElement,track,api } from 'lwc';\r\nimport getQueryData from '@salesforce\/apex\/ChatGptAi.getQueryData';\r\nimport IMAGE from '@salesforce\/resourceUrl\/ChatBot';\r\n\r\n\r\nexport default class ChatGPT extends LightningElement {\r\n  @track searchResults = [];\r\n  @track searchTerm = '';\r\n  @api imageUrl = IMAGE;\r\n  @track showSpace = true ;\r\n  @track showSpinner = false\r\n  @track responseData \r\n\r\n  handleKeyDown(event) {\r\n    \r\n      if (event.keyCode === 13) {\r\n    \r\n        this.searchTerm = event.target.value;\r\n        this.showSpinner = true\r\n        this.searchResults = [];\r\n        getQueryData({searchString:this.searchTerm})\r\n         .then(result=&gt;{\r\n           this.showSpinner = false\r\n           let response = JSON.parse(JSON.stringify(JSON.parse(result)));\r\n           if (response.error) {\r\n                    this.responseData = response.error.message;\r\n            } else if (response.choices[0].text) {\r\n                    this.responseData = response.choices[0].text;\r\n                    this.responseData = this.responseData.replace(\/\\n\/g, \"<br \/>\");\r\n                    let tempScriptData = ''\r\n                    tempScriptData = (response.choices[0].text.includes()) ? 'JS File: ' + response.choices[0].text.split('')[1] : '';\r\n                    tempScriptData = this.responseTextLWCJS.replace(\/\\n\/g, \"<br \/>\");\r\n\r\n                    this.responseData = this.responseData + this.responseTextLWCJS;\r\n                    this.responseData = (this.responseData.includes('XML File:')) ? this.responseData.split('XML File:')[0] : this.responseData;\r\n\r\n                    this.responseData.trim();\r\n            }\r\n           console.log('ss',JSON.stringify(responseData))\r\n         })\r\n         .catch(error=&gt;{\r\n           this.showSpinner = false\r\n           console.log('error is '+error)\r\n         })\r\n    \r\n        if(this.searchResults.length &gt; 0 )\r\n          this.showSpace =false\r\n      }\r\n    \r\n  }\r\n}\r\n                    \r\n                <\/pre>\n<p><strong>4. XML Code:-<\/strong><\/p>\n<pre>                \r\n&lt;?xml version=\"1.0\"?&gt;\r\n&lt;LightningComponentBundle xmlns=\"http:\/\/soap.sforce.com\/2006\/04\/metadata\"&gt;\r\n\t&lt;apiVersion&gt;55.0&lt;\/apiVersion&gt;\r\n\t&lt;isExposed&gt;true&lt;\/isExposed&gt;\r\n\t&lt;targets&gt;\r\n\t\t&lt;target&gt;lightning__RecordPage&lt;\/target&gt;\r\n\t\t&lt;target&gt;lightning__AppPage&lt;\/target&gt;\r\n\t\t&lt;target&gt;lightning__HomePage&lt;\/target&gt;\r\n\t&lt;\/targets&gt;\r\n&lt;\/LightningComponentBundle&gt;                <\/pre>\n<p><strong>You can add this Component in your org.<\/strong><\/p>\n<p><img decoding=\"async\" class=\"img-fluid\" src=\"https:\/\/www.forcesquares.com\/blog\/images\/Blog\/chatgpt1.png\" \/>\u00a0<img decoding=\"async\" class=\"img-fluid\" src=\"https:\/\/www.forcesquares.com\/blog\/images\/Blog\/chatgpt2.png\" \/><\/p>\n<p>In conclusion, integrating Chat GPT with Salesforce, Dotsquares\/Forcesquares can provide businesses with a competitive advantage by enhancing customer service, improving efficiency, and increasing customer engagement. With the right integration partner, businesses can take advantage of the benefits of these two platforms and achieve their customer service goals.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>What is ChatGPT&#8211; The language model ChatGPT, developed by Open AI, can produce text and interactions that resemble those of a human. The free tool creates interactions with the user that seem plausible. ChatGPT can:- *Answer questions or search queries in a manner similar to that of Google Create writing, including*copy and creative suggestions*Research Assistance&hellip; <a class=\"more-link\" href=\"https:\/\/www.forcesquares.com\/blogs\/integrate-chatgpt-with-salesforce\/\">Continue reading <span class=\"screen-reader-text\">Integrate ChatGPT with Salesforce.<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":124,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-122","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","entry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Integrate ChatGPT with Salesforce. - Forcesquare<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.forcesquares.com\/blogs\/integrate-chatgpt-with-salesforce\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Integrate ChatGPT with Salesforce. - Forcesquare\" \/>\n<meta property=\"og:description\" content=\"What is ChatGPT&#8211; The language model ChatGPT, developed by Open AI, can produce text and interactions that resemble those of a human. The free tool creates interactions with the user that seem plausible. ChatGPT can:- *Answer questions or search queries in a manner similar to that of Google Create writing, including*copy and creative suggestions*Research Assistance&hellip; Continue reading Integrate ChatGPT with Salesforce.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.forcesquares.com\/blogs\/integrate-chatgpt-with-salesforce\/\" \/>\n<meta property=\"og:site_name\" content=\"Forcesquare\" \/>\n<meta property=\"article:published_time\" content=\"2023-10-02T12:32:45+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-09-22T09:51:24+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.forcesquares.com\/blogs\/wp-content\/uploads\/2023\/09\/chatgpt_integrate.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1624\" \/>\n\t<meta property=\"og:image:height\" content=\"1142\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.forcesquares.com\/blogs\/integrate-chatgpt-with-salesforce\/\",\"url\":\"https:\/\/www.forcesquares.com\/blogs\/integrate-chatgpt-with-salesforce\/\",\"name\":\"Integrate ChatGPT with Salesforce. - Forcesquare\",\"isPartOf\":{\"@id\":\"https:\/\/www.forcesquares.com\/blogs\/#website\"},\"datePublished\":\"2023-10-02T12:32:45+00:00\",\"dateModified\":\"2023-09-22T09:51:24+00:00\",\"author\":{\"@id\":\"https:\/\/www.forcesquares.com\/blogs\/#\/schema\/person\/a773271b3efe0ee0f8f3f1298ad6cdec\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.forcesquares.com\/blogs\/integrate-chatgpt-with-salesforce\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.forcesquares.com\/blogs\/integrate-chatgpt-with-salesforce\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.forcesquares.com\/blogs\/integrate-chatgpt-with-salesforce\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.forcesquares.com\/blogs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Integrate ChatGPT with Salesforce.\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.forcesquares.com\/blogs\/#website\",\"url\":\"https:\/\/www.forcesquares.com\/blogs\/\",\"name\":\"Forcesquare\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.forcesquares.com\/blogs\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.forcesquares.com\/blogs\/#\/schema\/person\/a773271b3efe0ee0f8f3f1298ad6cdec\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.forcesquares.com\/blogs\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/7932b2e116b076a54f452848eaabd5857f61bd957fe8a218faf216f24c9885bb?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/7932b2e116b076a54f452848eaabd5857f61bd957fe8a218faf216f24c9885bb?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"sameAs\":[\"https:\/\/www.forcesquares.com\/blogs\/\"],\"url\":\"https:\/\/www.forcesquares.com\/blogs\/author\/admin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Integrate ChatGPT with Salesforce. - Forcesquare","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.forcesquares.com\/blogs\/integrate-chatgpt-with-salesforce\/","og_locale":"en_US","og_type":"article","og_title":"Integrate ChatGPT with Salesforce. - Forcesquare","og_description":"What is ChatGPT&#8211; The language model ChatGPT, developed by Open AI, can produce text and interactions that resemble those of a human. The free tool creates interactions with the user that seem plausible. ChatGPT can:- *Answer questions or search queries in a manner similar to that of Google Create writing, including*copy and creative suggestions*Research Assistance&hellip; Continue reading Integrate ChatGPT with Salesforce.","og_url":"https:\/\/www.forcesquares.com\/blogs\/integrate-chatgpt-with-salesforce\/","og_site_name":"Forcesquare","article_published_time":"2023-10-02T12:32:45+00:00","article_modified_time":"2023-09-22T09:51:24+00:00","og_image":[{"width":1624,"height":1142,"url":"https:\/\/www.forcesquares.com\/blogs\/wp-content\/uploads\/2023\/09\/chatgpt_integrate.png","type":"image\/png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"Written by":"admin","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.forcesquares.com\/blogs\/integrate-chatgpt-with-salesforce\/","url":"https:\/\/www.forcesquares.com\/blogs\/integrate-chatgpt-with-salesforce\/","name":"Integrate ChatGPT with Salesforce. - Forcesquare","isPartOf":{"@id":"https:\/\/www.forcesquares.com\/blogs\/#website"},"datePublished":"2023-10-02T12:32:45+00:00","dateModified":"2023-09-22T09:51:24+00:00","author":{"@id":"https:\/\/www.forcesquares.com\/blogs\/#\/schema\/person\/a773271b3efe0ee0f8f3f1298ad6cdec"},"breadcrumb":{"@id":"https:\/\/www.forcesquares.com\/blogs\/integrate-chatgpt-with-salesforce\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.forcesquares.com\/blogs\/integrate-chatgpt-with-salesforce\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.forcesquares.com\/blogs\/integrate-chatgpt-with-salesforce\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.forcesquares.com\/blogs\/"},{"@type":"ListItem","position":2,"name":"Integrate ChatGPT with Salesforce."}]},{"@type":"WebSite","@id":"https:\/\/www.forcesquares.com\/blogs\/#website","url":"https:\/\/www.forcesquares.com\/blogs\/","name":"Forcesquare","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.forcesquares.com\/blogs\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.forcesquares.com\/blogs\/#\/schema\/person\/a773271b3efe0ee0f8f3f1298ad6cdec","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.forcesquares.com\/blogs\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/7932b2e116b076a54f452848eaabd5857f61bd957fe8a218faf216f24c9885bb?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/7932b2e116b076a54f452848eaabd5857f61bd957fe8a218faf216f24c9885bb?s=96&d=mm&r=g","caption":"admin"},"sameAs":["https:\/\/www.forcesquares.com\/blogs\/"],"url":"https:\/\/www.forcesquares.com\/blogs\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/www.forcesquares.com\/blogs\/wp-json\/wp\/v2\/posts\/122","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.forcesquares.com\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.forcesquares.com\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.forcesquares.com\/blogs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.forcesquares.com\/blogs\/wp-json\/wp\/v2\/comments?post=122"}],"version-history":[{"count":3,"href":"https:\/\/www.forcesquares.com\/blogs\/wp-json\/wp\/v2\/posts\/122\/revisions"}],"predecessor-version":[{"id":128,"href":"https:\/\/www.forcesquares.com\/blogs\/wp-json\/wp\/v2\/posts\/122\/revisions\/128"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.forcesquares.com\/blogs\/wp-json\/wp\/v2\/media\/124"}],"wp:attachment":[{"href":"https:\/\/www.forcesquares.com\/blogs\/wp-json\/wp\/v2\/media?parent=122"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.forcesquares.com\/blogs\/wp-json\/wp\/v2\/categories?post=122"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.forcesquares.com\/blogs\/wp-json\/wp\/v2\/tags?post=122"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}