{"id":4013,"date":"2023-11-04T23:14:00","date_gmt":"2023-11-04T23:14:00","guid":{"rendered":"http:\/\/localhost:10003\/how-to-build-a-speech-to-text-app-with-openai-gpt-3-and-google-speech-api\/"},"modified":"2023-11-05T05:48:23","modified_gmt":"2023-11-05T05:48:23","slug":"how-to-build-a-speech-to-text-app-with-openai-gpt-3-and-google-speech-api","status":"publish","type":"post","link":"http:\/\/localhost:10003\/how-to-build-a-speech-to-text-app-with-openai-gpt-3-and-google-speech-api\/","title":{"rendered":"How to Build a Speech-to-Text App with OpenAI GPT-3 and Google Speech API"},"content":{"rendered":"

In this tutorial, we will guide you on how to build a Speech-to-Text app using OpenAI GPT-3 and the Google Speech API. By the end of this tutorial, you will have a working app that can convert spoken language into written text.<\/p>\n

Prerequisites<\/h2>\n

Before we begin, make sure you have the following prerequisites:<\/p>\n

    \n
  1. OpenAI GPT-3 API key: You will need an API key to access the GPT-3 API. If you don’t have an API key, you can apply for one on the OpenAI website.<\/p>\n<\/li>\n
  2. \n

    Google Speech API credentials: You will need a service account key file to authenticate your requests to the Google Speech API. You can get this file by creating a new service account on the Google Cloud Platform console.<\/p>\n<\/li>\n

  3. \n

    Python and pip: Make sure you have Python installed on your machine, along with pip (the Python package installer).<\/p>\n<\/li>\n<\/ol>\n

    Step 1: Set Up the Project<\/h2>\n

    Let’s start by creating a new directory for our project and setting up a virtual environment. Open your terminal and run the following commands:<\/p>\n

    mkdir speech-to-text-app\ncd speech-to-text-app\npython -m venv env\nsource env\/bin\/activate  # for macOS and Linux\nenvScriptsactivate  # for Windows\n<\/code><\/pre>\n

    Next, let’s install the required Python packages:<\/p>\n

    pip install openai google-cloud-speech\n<\/code><\/pre>\n

    Step 2: Authenticate with the Google Speech API<\/h2>\n

    To authenticate with the Google Speech API, you will need to create a service account key file in the Google Cloud Platform console. Here’s how you can do it:<\/p>\n

      \n
    1. Go to the Google Cloud Platform console<\/a>.<\/p>\n<\/li>\n
    2. \n

      Create a new project or select an existing project.<\/p>\n<\/li>\n

    3. \n

      Go to the “IAM & Admin” section.<\/p>\n<\/li>\n

    4. \n

      Click on “Service Accounts,” then “Create Service Account.”<\/p>\n<\/li>\n

    5. \n

      Give your service account a name and a description, and click on “Create.”<\/p>\n<\/li>\n

    6. \n

      In the “Service Account Permissions” section, select the roles you want to assign to the service account (e.g., “Speech-to-Text Admin”).<\/p>\n<\/li>\n

    7. \n

      In the “Keys” section, click on “Add Key,” then select “Create new key.” Choose the JSON key type and click on “Create.”<\/p>\n<\/li>\n

    8. \n

      Save the generated JSON key file to a secure location.<\/p>\n<\/li>\n<\/ol>\n

      Now that you have the service account key file, let’s authenticate our application with the Google Speech API using this file. Create a new Python script called google_speech_auth.py<\/code> and add the following code:<\/p>\n

      import os\nfrom google.cloud import speech_v1p1beta1 as speech\n\n\ndef authenticate():\n    os.environ[\"GOOGLE_APPLICATION_CREDENTIALS\"] = \"path\/to\/your\/keyfile.json\"\n    client = speech.SpeechClient()\n\n    return client\n<\/code><\/pre>\n

      Make sure to replace \"path\/to\/your\/keyfile.json\"<\/code> with the actual file path of your service account key file.<\/p>\n

      Step 3: Convert Speech to Text with the Google Speech API<\/h2>\n

      Now that we are authenticated with the Google Speech API, let’s write a function that uses the API to convert speech to text. Create a new Python script called google_speech.py<\/code> and add the following code:<\/p>\n

      from google.cloud.speech_v1p1beta1.types import RecognitionConfig, RecognitionAudio\n\n\ndef speech_to_text(client, audio_file):\n    with open(audio_file, \"rb\") as audio:\n        content = audio.read()\n\n    audio = RecognitionAudio(content=content)\n    config = RecognitionConfig(\n        encoding=RecognitionConfig.AudioEncoding.LINEAR16,\n        sample_rate_hertz=16000,\n        language_code=\"en-US\",\n    )\n\n    response = client.recognize(config=config, audio=audio)\n\n    text = \"\"\n    for result in response.results:\n        text += result.alternatives[0].transcript\n\n    return text\n<\/code><\/pre>\n

      This function takes the authenticated client object and the path to the audio file as input. It reads the audio file, creates the necessary objects for the API request, and sends the request to the API. Finally, it extracts the transcribed text from the API response and returns it.<\/p>\n

      Step 4: Generate Text with OpenAI GPT-3<\/h2>\n

      Now that we can convert speech to text using the Google Speech API, let’s generate text using OpenAI GPT-3. Create a new Python script called openai_gpt3.py<\/code> and add the following code:<\/p>\n

      import openai\n\n\ndef generate_text(api_key, prompt):\n    openai.api_key = api_key\n    response = openai.Completion.create(\n        engine=\"text-davinci-003\",\n        prompt=prompt,\n        max_tokens=100,\n    )\n\n    return response.choices[0].text.strip()\n<\/code><\/pre>\n

      This function takes the GPT-3 API key and the prompt text as input. It sets the API key, creates a completion using the GPT-3 engine, and sends the prompt to the API. Finally, it extracts the generated text from the API response and returns it.<\/p>\n

      Step 5: Putting It All Together<\/h2>\n

      Now that we have the components ready, let’s create our final script that combines the speech-to-text functionality with the text generation capability. Create a new Python script called speech_to_text_app.py<\/code> and add the following code:<\/p>\n

      from google_speech_auth import authenticate\nfrom google_speech import speech_to_text\nfrom openai_gpt3 import generate_text\n\n\ndef main():\n    client = authenticate()\n    audio_file = \"path\/to\/your\/audio\/file.wav\"  # Replace with your audio file\n    text = speech_to_text(client, audio_file)\n    generated_text = generate_text(\"your-gpt3-api-key\", text)  # Replace with your GPT-3 API key\n    print(generated_text)\n\n\nif __name__ == \"__main__\":\n    main()\n<\/code><\/pre>\n

      Make sure to replace \"path\/to\/your\/audio\/file.wav\"<\/code> with the actual path to your audio file, and \"your-gpt3-api-key\"<\/code> with your GPT-3 API key.<\/p>\n

      Step 6: Run the Speech-to-Text App<\/h2>\n

      Finally, let’s run our Speech-to-Text app and see the magic happen! Make sure you have a valid audio file in the specified location and run the following command in your terminal:<\/p>\n

      python speech_to_text_app.py\n<\/code><\/pre>\n

      The app will first convert the speech in the audio file to text using the Google Speech API. It will then generate additional text based on the transcribed speech using OpenAI GPT-3. The generated text will be printed in the console.<\/p>\n

      Feel free to modify the speech_to_text_app.py<\/code> script based on your needs. You can use different audio files, change the GPT-3 prompt, or extend the functionality as desired.<\/p>\n

      Conclusion<\/h2>\n

      In this tutorial, we have learned how to build a Speech-to-Text app using OpenAI GPT-3 and the Google Speech API. We have covered the steps to authenticate with the Google Speech API, convert speech to text, generate text with GPT-3, and put everything together in a working app. You can now apply these concepts to build your own speech-related applications with these powerful AI technologies.<\/p>\n","protected":false},"excerpt":{"rendered":"

      In this tutorial, we will guide you on how to build a Speech-to-Text app using OpenAI GPT-3 and the Google Speech API. By the end of this tutorial, you will have a working app that can convert spoken language into written text. Prerequisites Before we begin, make sure you have Continue Reading<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_import_markdown_pro_load_document_selector":0,"_import_markdown_pro_submit_text_textarea":"","footnotes":""},"categories":[1],"tags":[10,577,41,40,328,116,839,840,838],"yoast_head":"\nHow to Build a Speech-to-Text App with OpenAI GPT-3 and Google Speech API - Pantherax Blogs<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"http:\/\/localhost:10003\/how-to-build-a-speech-to-text-app-with-openai-gpt-3-and-google-speech-api\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Build a Speech-to-Text App with OpenAI GPT-3 and Google Speech API\" \/>\n<meta property=\"og:description\" content=\"In this tutorial, we will guide you on how to build a Speech-to-Text app using OpenAI GPT-3 and the Google Speech API. By the end of this tutorial, you will have a working app that can convert spoken language into written text. Prerequisites Before we begin, make sure you have Continue Reading\" \/>\n<meta property=\"og:url\" content=\"http:\/\/localhost:10003\/how-to-build-a-speech-to-text-app-with-openai-gpt-3-and-google-speech-api\/\" \/>\n<meta property=\"og:site_name\" content=\"Pantherax Blogs\" \/>\n<meta property=\"article:published_time\" content=\"2023-11-04T23:14:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-11-05T05:48:23+00:00\" \/>\n<meta name=\"author\" content=\"Panther\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Panther\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\n\t \"@context\": \"https:\/\/schema.org\",\n\t \"@graph\": [\n\t {\n\t \"@type\": \"Article\",\n\t \"@id\": \"http:\/\/localhost:10003\/how-to-build-a-speech-to-text-app-with-openai-gpt-3-and-google-speech-api\/#article\",\n\t \"isPartOf\": {\n\t \"@id\": \"http:\/\/localhost:10003\/how-to-build-a-speech-to-text-app-with-openai-gpt-3-and-google-speech-api\/\"\n\t },\n\t \"author\": {\n\t \"name\": \"Panther\",\n\t \"@id\": \"http:\/\/localhost:10003\/#\/schema\/person\/b63d816f4964b163e53cbbcffaa0f3d7\"\n\t },\n\t \"headline\": \"How to Build a Speech-to-Text App with OpenAI GPT-3 and Google Speech API\",\n\t \"datePublished\": \"2023-11-04T23:14:00+00:00\",\n\t \"dateModified\": \"2023-11-05T05:48:23+00:00\",\n\t \"mainEntityOfPage\": {\n\t \"@id\": \"http:\/\/localhost:10003\/how-to-build-a-speech-to-text-app-with-openai-gpt-3-and-google-speech-api\/\"\n\t },\n\t \"wordCount\": 778,\n\t \"publisher\": {\n\t \"@id\": \"http:\/\/localhost:10003\/#organization\"\n\t },\n\t \"keywords\": [\n\t \"\\\"app development\\\"\",\n\t \"\\\"Google Speech API\\\"\",\n\t \"\\\"Machine Learning\\\"\",\n\t \"\\\"Natural Language Processing\\\"\",\n\t \"\\\"Neural Networks\\\"\",\n\t \"\\\"OpenAI GPT-3\\\"\",\n\t \"\\\"Speech Recognition\\\"\",\n\t \"\\\"Voice-to-Text Conversion\\\"\",\n\t \"[\\\"How to Build a Speech-to-Text App\\\"\"\n\t ],\n\t \"inLanguage\": \"en-US\"\n\t },\n\t {\n\t \"@type\": \"WebPage\",\n\t \"@id\": \"http:\/\/localhost:10003\/how-to-build-a-speech-to-text-app-with-openai-gpt-3-and-google-speech-api\/\",\n\t \"url\": \"http:\/\/localhost:10003\/how-to-build-a-speech-to-text-app-with-openai-gpt-3-and-google-speech-api\/\",\n\t \"name\": \"How to Build a Speech-to-Text App with OpenAI GPT-3 and Google Speech API - Pantherax Blogs\",\n\t \"isPartOf\": {\n\t \"@id\": \"http:\/\/localhost:10003\/#website\"\n\t },\n\t \"datePublished\": \"2023-11-04T23:14:00+00:00\",\n\t \"dateModified\": \"2023-11-05T05:48:23+00:00\",\n\t \"breadcrumb\": {\n\t \"@id\": \"http:\/\/localhost:10003\/how-to-build-a-speech-to-text-app-with-openai-gpt-3-and-google-speech-api\/#breadcrumb\"\n\t },\n\t \"inLanguage\": \"en-US\",\n\t \"potentialAction\": [\n\t {\n\t \"@type\": \"ReadAction\",\n\t \"target\": [\n\t \"http:\/\/localhost:10003\/how-to-build-a-speech-to-text-app-with-openai-gpt-3-and-google-speech-api\/\"\n\t ]\n\t }\n\t ]\n\t },\n\t {\n\t \"@type\": \"BreadcrumbList\",\n\t \"@id\": \"http:\/\/localhost:10003\/how-to-build-a-speech-to-text-app-with-openai-gpt-3-and-google-speech-api\/#breadcrumb\",\n\t \"itemListElement\": [\n\t {\n\t \"@type\": \"ListItem\",\n\t \"position\": 1,\n\t \"name\": \"Home\",\n\t \"item\": \"http:\/\/localhost:10003\/\"\n\t },\n\t {\n\t \"@type\": \"ListItem\",\n\t \"position\": 2,\n\t \"name\": \"How to Build a Speech-to-Text App with OpenAI GPT-3 and Google Speech API\"\n\t }\n\t ]\n\t },\n\t {\n\t \"@type\": \"WebSite\",\n\t \"@id\": \"http:\/\/localhost:10003\/#website\",\n\t \"url\": \"http:\/\/localhost:10003\/\",\n\t \"name\": \"Pantherax Blogs\",\n\t \"description\": \"\",\n\t \"publisher\": {\n\t \"@id\": \"http:\/\/localhost:10003\/#organization\"\n\t },\n\t \"potentialAction\": [\n\t {\n\t \"@type\": \"SearchAction\",\n\t \"target\": {\n\t \"@type\": \"EntryPoint\",\n\t \"urlTemplate\": \"http:\/\/localhost:10003\/?s={search_term_string}\"\n\t },\n\t \"query-input\": \"required name=search_term_string\"\n\t }\n\t ],\n\t \"inLanguage\": \"en-US\"\n\t },\n\t {\n\t \"@type\": \"Organization\",\n\t \"@id\": \"http:\/\/localhost:10003\/#organization\",\n\t \"name\": \"Pantherax Blogs\",\n\t \"url\": \"http:\/\/localhost:10003\/\",\n\t \"logo\": {\n\t \"@type\": \"ImageObject\",\n\t \"inLanguage\": \"en-US\",\n\t \"@id\": \"http:\/\/localhost:10003\/#\/schema\/logo\/image\/\",\n\t \"url\": \"http:\/\/localhost:10003\/wp-content\/uploads\/2023\/11\/cropped-9e7721cb-2d62-4f72-ab7f-7d1d8db89226.jpeg\",\n\t \"contentUrl\": \"http:\/\/localhost:10003\/wp-content\/uploads\/2023\/11\/cropped-9e7721cb-2d62-4f72-ab7f-7d1d8db89226.jpeg\",\n\t \"width\": 1024,\n\t \"height\": 1024,\n\t \"caption\": \"Pantherax Blogs\"\n\t },\n\t \"image\": {\n\t \"@id\": \"http:\/\/localhost:10003\/#\/schema\/logo\/image\/\"\n\t }\n\t },\n\t {\n\t \"@type\": \"Person\",\n\t \"@id\": \"http:\/\/localhost:10003\/#\/schema\/person\/b63d816f4964b163e53cbbcffaa0f3d7\",\n\t \"name\": \"Panther\",\n\t \"image\": {\n\t \"@type\": \"ImageObject\",\n\t \"inLanguage\": \"en-US\",\n\t \"@id\": \"http:\/\/localhost:10003\/#\/schema\/person\/image\/\",\n\t \"url\": \"http:\/\/2.gravatar.com\/avatar\/b8c0eda5a49f8f31ec32d0a0f9d6f838?s=96&d=mm&r=g\",\n\t \"contentUrl\": \"http:\/\/2.gravatar.com\/avatar\/b8c0eda5a49f8f31ec32d0a0f9d6f838?s=96&d=mm&r=g\",\n\t \"caption\": \"Panther\"\n\t },\n\t \"sameAs\": [\n\t \"http:\/\/localhost:10003\"\n\t ],\n\t \"url\": \"http:\/\/localhost:10003\/author\/pepethefrog\/\"\n\t }\n\t ]\n\t}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Build a Speech-to-Text App with OpenAI GPT-3 and Google Speech API - Pantherax Blogs","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":"http:\/\/localhost:10003\/how-to-build-a-speech-to-text-app-with-openai-gpt-3-and-google-speech-api\/","og_locale":"en_US","og_type":"article","og_title":"How to Build a Speech-to-Text App with OpenAI GPT-3 and Google Speech API","og_description":"In this tutorial, we will guide you on how to build a Speech-to-Text app using OpenAI GPT-3 and the Google Speech API. By the end of this tutorial, you will have a working app that can convert spoken language into written text. Prerequisites Before we begin, make sure you have Continue Reading","og_url":"http:\/\/localhost:10003\/how-to-build-a-speech-to-text-app-with-openai-gpt-3-and-google-speech-api\/","og_site_name":"Pantherax Blogs","article_published_time":"2023-11-04T23:14:00+00:00","article_modified_time":"2023-11-05T05:48:23+00:00","author":"Panther","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Panther","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"http:\/\/localhost:10003\/how-to-build-a-speech-to-text-app-with-openai-gpt-3-and-google-speech-api\/#article","isPartOf":{"@id":"http:\/\/localhost:10003\/how-to-build-a-speech-to-text-app-with-openai-gpt-3-and-google-speech-api\/"},"author":{"name":"Panther","@id":"http:\/\/localhost:10003\/#\/schema\/person\/b63d816f4964b163e53cbbcffaa0f3d7"},"headline":"How to Build a Speech-to-Text App with OpenAI GPT-3 and Google Speech API","datePublished":"2023-11-04T23:14:00+00:00","dateModified":"2023-11-05T05:48:23+00:00","mainEntityOfPage":{"@id":"http:\/\/localhost:10003\/how-to-build-a-speech-to-text-app-with-openai-gpt-3-and-google-speech-api\/"},"wordCount":778,"publisher":{"@id":"http:\/\/localhost:10003\/#organization"},"keywords":["\"app development\"","\"Google Speech API\"","\"Machine Learning\"","\"Natural Language Processing\"","\"Neural Networks\"","\"OpenAI GPT-3\"","\"Speech Recognition\"","\"Voice-to-Text Conversion\"","[\"How to Build a Speech-to-Text App\""],"inLanguage":"en-US"},{"@type":"WebPage","@id":"http:\/\/localhost:10003\/how-to-build-a-speech-to-text-app-with-openai-gpt-3-and-google-speech-api\/","url":"http:\/\/localhost:10003\/how-to-build-a-speech-to-text-app-with-openai-gpt-3-and-google-speech-api\/","name":"How to Build a Speech-to-Text App with OpenAI GPT-3 and Google Speech API - Pantherax Blogs","isPartOf":{"@id":"http:\/\/localhost:10003\/#website"},"datePublished":"2023-11-04T23:14:00+00:00","dateModified":"2023-11-05T05:48:23+00:00","breadcrumb":{"@id":"http:\/\/localhost:10003\/how-to-build-a-speech-to-text-app-with-openai-gpt-3-and-google-speech-api\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["http:\/\/localhost:10003\/how-to-build-a-speech-to-text-app-with-openai-gpt-3-and-google-speech-api\/"]}]},{"@type":"BreadcrumbList","@id":"http:\/\/localhost:10003\/how-to-build-a-speech-to-text-app-with-openai-gpt-3-and-google-speech-api\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"http:\/\/localhost:10003\/"},{"@type":"ListItem","position":2,"name":"How to Build a Speech-to-Text App with OpenAI GPT-3 and Google Speech API"}]},{"@type":"WebSite","@id":"http:\/\/localhost:10003\/#website","url":"http:\/\/localhost:10003\/","name":"Pantherax Blogs","description":"","publisher":{"@id":"http:\/\/localhost:10003\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"http:\/\/localhost:10003\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"http:\/\/localhost:10003\/#organization","name":"Pantherax Blogs","url":"http:\/\/localhost:10003\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"http:\/\/localhost:10003\/#\/schema\/logo\/image\/","url":"http:\/\/localhost:10003\/wp-content\/uploads\/2023\/11\/cropped-9e7721cb-2d62-4f72-ab7f-7d1d8db89226.jpeg","contentUrl":"http:\/\/localhost:10003\/wp-content\/uploads\/2023\/11\/cropped-9e7721cb-2d62-4f72-ab7f-7d1d8db89226.jpeg","width":1024,"height":1024,"caption":"Pantherax Blogs"},"image":{"@id":"http:\/\/localhost:10003\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"http:\/\/localhost:10003\/#\/schema\/person\/b63d816f4964b163e53cbbcffaa0f3d7","name":"Panther","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"http:\/\/localhost:10003\/#\/schema\/person\/image\/","url":"http:\/\/2.gravatar.com\/avatar\/b8c0eda5a49f8f31ec32d0a0f9d6f838?s=96&d=mm&r=g","contentUrl":"http:\/\/2.gravatar.com\/avatar\/b8c0eda5a49f8f31ec32d0a0f9d6f838?s=96&d=mm&r=g","caption":"Panther"},"sameAs":["http:\/\/localhost:10003"],"url":"http:\/\/localhost:10003\/author\/pepethefrog\/"}]}},"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"http:\/\/localhost:10003\/wp-json\/wp\/v2\/posts\/4013"}],"collection":[{"href":"http:\/\/localhost:10003\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/localhost:10003\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/localhost:10003\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/localhost:10003\/wp-json\/wp\/v2\/comments?post=4013"}],"version-history":[{"count":1,"href":"http:\/\/localhost:10003\/wp-json\/wp\/v2\/posts\/4013\/revisions"}],"predecessor-version":[{"id":4509,"href":"http:\/\/localhost:10003\/wp-json\/wp\/v2\/posts\/4013\/revisions\/4509"}],"wp:attachment":[{"href":"http:\/\/localhost:10003\/wp-json\/wp\/v2\/media?parent=4013"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/localhost:10003\/wp-json\/wp\/v2\/categories?post=4013"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/localhost:10003\/wp-json\/wp\/v2\/tags?post=4013"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}