{"id":123,"date":"2023-11-19T11:35:32","date_gmt":"2023-11-19T11:35:32","guid":{"rendered":"https:\/\/gpt-jordan.com\/?page_id=123"},"modified":"2023-11-19T11:35:32","modified_gmt":"2023-11-19T11:35:32","slug":"gpts","status":"publish","type":"page","link":"https:\/\/idtjo.hosting.acm.org\/wordpress\/gpts\/","title":{"rendered":"GPTs"},"content":{"rendered":"\n<h1 class=\"wp-block-heading\">Sample GPTs<\/h1>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Writing a GPT for Tajweed <\/strong><\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>\n# Sample Python Code for Quranic Tajweed Program using OpenAI Whisper\n# Import the OpenAI library\nimport openai\n# Define your OpenAI API key\napi_key = \"YOUR_API_KEY_HERE\"\n# Initialize the OpenAI Whisper ASR model\nopenai.api_key = api_key\n# Define a function for Tajweed rules\ndef apply_tajweed_rules(text):\n    # Implement the rules for Tajweed here\n    tajweed_text = TajweedRules.apply(text)\n    return tajweed_text\n# Main program loop\nwhile True:\n    # Get user's spoken input for the Quranic verse they want to recite\n    user_input_audio = input(\"Speak the verse you want to recite: \")\n    # Use OpenAI Whisper to convert spoken audio to text\n    recognized_text = openai.Whisper.transcribe(user_input_audio)\n    # Apply Tajweed rules to the recognized text\n    recitation = apply_tajweed_rules(recognized_text)\n    # Output the Tajweed-recited text\n    print(\"Tajweed-Recited Verse: \", recitation)\n    # Ask if the user wants to recite another verse\n    another_verse = input(\"Recite another verse? (yes\/no): \")\n    if another_verse.lower() != \"yes\":\n        break\n      def apply_tajweed_rules(text):\n           # Replace instances of \"Qaf\" with proper pronunciation\n           tajweed_text = text.replace(\"\u0642\", \"Qaf Pronunciation\")\n            return tajweed_text\n# Example usage\n#verse = \"\u0642\u064f\u0644\u0652 \u0647\u064f\u0648\u064e \u0627\u0644\u0644\u0651\u064e\u0647\u064f \u0623\u064e\u062d\u064e\u062f\u064c\"\n#recited_verse = apply_tajweed_rules(verse)\n#print(recited_verse)<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Sample GPTs<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"_EventAllDay":false,"_EventTimezone":"","_EventStartDate":"","_EventEndDate":"","_EventStartDateUTC":"","_EventEndDateUTC":"","_EventShowMap":false,"_EventShowMapLink":false,"_EventURL":"","_EventCost":"","_EventCostDescription":"","_EventCurrencySymbol":"","_EventCurrencyCode":"","_EventCurrencyPosition":"","_EventDateTimeSeparator":"","_EventTimeRangeSeparator":"","_EventOrganizerID":[],"_EventVenueID":[],"_OrganizerEmail":"","_OrganizerPhone":"","_OrganizerWebsite":"","_VenueAddress":"","_VenueCity":"","_VenueCountry":"","_VenueProvince":"","_VenueState":"","_VenueZip":"","_VenuePhone":"","_VenueURL":"","_VenueStateProvince":"","_VenueLat":"","_VenueLng":"","_VenueShowMap":false,"_VenueShowMapLink":false,"footnotes":""},"class_list":["post-123","page","type-page","status-publish","hentry"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>GPTs - Innovative Digital Transformation Jordan<\/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:\/\/idtjo.hosting.acm.org\/wordpress\/gpts\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"GPTs - Innovative Digital Transformation Jordan\" \/>\n<meta property=\"og:description\" content=\"Sample GPTs\" \/>\n<meta property=\"og:url\" content=\"https:\/\/idtjo.hosting.acm.org\/wordpress\/gpts\/\" \/>\n<meta property=\"og:site_name\" content=\"Innovative Digital Transformation Jordan\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/idtjo.hosting.acm.org\/wordpress\/gpts\/\",\"url\":\"https:\/\/idtjo.hosting.acm.org\/wordpress\/gpts\/\",\"name\":\"GPTs - Innovative Digital Transformation Jordan\",\"isPartOf\":{\"@id\":\"https:\/\/idtjo.hosting.acm.org\/wordpress\/#website\"},\"datePublished\":\"2023-11-19T11:35:32+00:00\",\"dateModified\":\"2023-11-19T11:35:32+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/idtjo.hosting.acm.org\/wordpress\/gpts\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/idtjo.hosting.acm.org\/wordpress\/gpts\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/idtjo.hosting.acm.org\/wordpress\/gpts\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/idtjo.hosting.acm.org\/wordpress\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"GPTs\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/idtjo.hosting.acm.org\/wordpress\/#website\",\"url\":\"https:\/\/idtjo.hosting.acm.org\/wordpress\/\",\"name\":\"Innovative Digital Transformation Jordan\",\"description\":\"Improve Your Life with NetBookLM\",\"publisher\":{\"@id\":\"https:\/\/idtjo.hosting.acm.org\/wordpress\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/idtjo.hosting.acm.org\/wordpress\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/idtjo.hosting.acm.org\/wordpress\/#organization\",\"name\":\"Innovative Digital Transformation Jordan\",\"url\":\"https:\/\/idtjo.hosting.acm.org\/wordpress\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/idtjo.hosting.acm.org\/wordpress\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/idtjo.hosting.acm.org\/wordpress\/wp-content\/uploads\/2024\/09\/cropped-cropped-Designer-1.jpeg\",\"contentUrl\":\"https:\/\/idtjo.hosting.acm.org\/wordpress\/wp-content\/uploads\/2024\/09\/cropped-cropped-Designer-1.jpeg\",\"width\":70,\"height\":70,\"caption\":\"Innovative Digital Transformation Jordan\"},\"image\":{\"@id\":\"https:\/\/idtjo.hosting.acm.org\/wordpress\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"GPTs - Innovative Digital Transformation Jordan","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:\/\/idtjo.hosting.acm.org\/wordpress\/gpts\/","og_locale":"en_US","og_type":"article","og_title":"GPTs - Innovative Digital Transformation Jordan","og_description":"Sample GPTs","og_url":"https:\/\/idtjo.hosting.acm.org\/wordpress\/gpts\/","og_site_name":"Innovative Digital Transformation Jordan","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/idtjo.hosting.acm.org\/wordpress\/gpts\/","url":"https:\/\/idtjo.hosting.acm.org\/wordpress\/gpts\/","name":"GPTs - Innovative Digital Transformation Jordan","isPartOf":{"@id":"https:\/\/idtjo.hosting.acm.org\/wordpress\/#website"},"datePublished":"2023-11-19T11:35:32+00:00","dateModified":"2023-11-19T11:35:32+00:00","breadcrumb":{"@id":"https:\/\/idtjo.hosting.acm.org\/wordpress\/gpts\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/idtjo.hosting.acm.org\/wordpress\/gpts\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/idtjo.hosting.acm.org\/wordpress\/gpts\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/idtjo.hosting.acm.org\/wordpress\/"},{"@type":"ListItem","position":2,"name":"GPTs"}]},{"@type":"WebSite","@id":"https:\/\/idtjo.hosting.acm.org\/wordpress\/#website","url":"https:\/\/idtjo.hosting.acm.org\/wordpress\/","name":"Innovative Digital Transformation Jordan","description":"Improve Your Life with NetBookLM","publisher":{"@id":"https:\/\/idtjo.hosting.acm.org\/wordpress\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/idtjo.hosting.acm.org\/wordpress\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/idtjo.hosting.acm.org\/wordpress\/#organization","name":"Innovative Digital Transformation Jordan","url":"https:\/\/idtjo.hosting.acm.org\/wordpress\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/idtjo.hosting.acm.org\/wordpress\/#\/schema\/logo\/image\/","url":"https:\/\/idtjo.hosting.acm.org\/wordpress\/wp-content\/uploads\/2024\/09\/cropped-cropped-Designer-1.jpeg","contentUrl":"https:\/\/idtjo.hosting.acm.org\/wordpress\/wp-content\/uploads\/2024\/09\/cropped-cropped-Designer-1.jpeg","width":70,"height":70,"caption":"Innovative Digital Transformation Jordan"},"image":{"@id":"https:\/\/idtjo.hosting.acm.org\/wordpress\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/idtjo.hosting.acm.org\/wordpress\/wp-json\/wp\/v2\/pages\/123","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/idtjo.hosting.acm.org\/wordpress\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/idtjo.hosting.acm.org\/wordpress\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/idtjo.hosting.acm.org\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/idtjo.hosting.acm.org\/wordpress\/wp-json\/wp\/v2\/comments?post=123"}],"version-history":[{"count":0,"href":"https:\/\/idtjo.hosting.acm.org\/wordpress\/wp-json\/wp\/v2\/pages\/123\/revisions"}],"wp:attachment":[{"href":"https:\/\/idtjo.hosting.acm.org\/wordpress\/wp-json\/wp\/v2\/media?parent=123"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}