{"id":3441,"date":"2023-04-23T15:25:29","date_gmt":"2023-04-23T15:25:29","guid":{"rendered":"http:\/\/no1doctor.dratef.net\/?page_id=3441"},"modified":"2023-04-23T15:25:30","modified_gmt":"2023-04-23T15:25:30","slug":"chatgpt","status":"publish","type":"page","link":"http:\/\/no1doctor.dratef.net\/index.php\/chatgpt\/","title":{"rendered":"chatgpt"},"content":{"rendered":"<style>.mwai-chat {\n  --mwai-spacing: 15px;\n  --mwai-fontSize: 15px;\n  --mwai-lineHeight: 1.5;\n  --mwai-borderRadius: 10px;\n  --mwai-width: 460px;\n  --mwai-maxHeight: 40vh;\n  --mwai-iconTextColor: white;\n  --mwai-iconTextBackgroundColor: #343541;\n  --mwai-fontColor: #FFFFFF;\n  --mwai-backgroundPrimaryColor: #454654;\n  --mwai-backgroundHeaderColor: #343541;\n  --mwai-headerButtonsColor: #FFFFFF;\n  --mwai-backgroundSecondaryColor: #343541;\n}\n\n.mwai-chat * {\n  box-sizing: border-box;\n}\n\n.mwai-chat .mwai-content {\n  background: var(--mwai-backgroundSecondaryColor);\n  color: var(--mwai-fontColor);\n  font-size: var(--mwai-fontSize);\n  overflow: hidden;\n  display: flex;\n  flex-direction: column;\n  border-radius: var(--mwai-borderRadius);\n}\n\n.mwai-chat .mwai-conversation {\n  overflow: auto;\n}\n\n.mwai-chat .mwai-reply {\n  display: flex;\n  padding: var(--mwai-spacing);\n  position: relative;\n  line-height: var(--mwai-lineHeight);\n  border-bottom: 1px solid var(--mwai-backgroundPrimaryColor);\n  transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);\n}\n\n.mwai-chat .mwai-reply .mwai-copy-button {\n  opacity: 0;\n  transition: all 0.3s ease-out;\n  width: 22px;\n  height: 22px;\n  position: absolute;\n  right: var(--mwai-spacing);\n}\n\n.mwai-chat .mwai-reply .mwai-copy-button .mwai-copy-button-one {\n  position: absolute;\n  width: 16px;\n  height: 16px;\n  margin-top: 0px;\n  margin-left: 0px;\n  background: white;\n  opacity: 0.4;\n  transition: all 0.2s ease-in;\n  cursor: pointer;\n  border-radius: 2px;\n}\n\n.mwai-chat .mwai-reply .mwai-copy-button .mwai-copy-button-two {\n  position: absolute;\n  width: 16px;\n  height: 16px;\n  margin-top: 6px;\n  margin-left: 6px;\n  background: white;\n  opacity: 0.6;\n  transition: all 0.2s ease-in;\n  cursor: pointer;\n  border-radius: 2px;\n}\n\n.mwai-chat .mwai-reply .mwai-copy-button:hover .mwai-copy-button-one {\n  opacity: 0.6;\n  margin-top: 0px;\n  margin-left: 6px;\n}\n\n.mwai-chat .mwai-reply .mwai-copy-button:hover .mwai-copy-button-two {\n  opacity: 1;\n  margin-top: 6px;\n  margin-left: 0px;\n}\n\n.mwai-chat .mwai-reply .mwai-copy-button.mwai-animate .mwai-copy-button-one {\n  opacity: 0;\n}\n\n.mwai-chat .mwai-reply .mwai-copy-button.mwai-animate .mwai-copy-button-two {\n  width: 18px;\n  height: 18px;\n  margin-top: 2px;\n  margin-left: 2px;\n  opacity: 1;\n}\n\n.mwai-chat .mwai-reply.mwai-fade-out {\n  opacity: 0;\n}\n\n.mwai-chat .mwai-reply:hover .mwai-copy-button {\n  display: block;\n  opacity: 1;\n}\n\n.mwai-chat .mwai-user {\n  background: var(--mwai-backgroundSecondaryColor);\n}\n\n.mwai-chat .mwai-ai, .mwai-chat .mwai-system {\n  background: var(--mwai-backgroundPrimaryColor);\n}\n\n.mwai-chat .mwai-name {\n  color: var(--mwai-fontColor);\n  margin-right: 5px;\n}\n\n.mwai-chat .mwai-name .mwai-name-text {\n  opacity: 0.50;\n  white-space: nowrap;\n}\n\n.mwai-chat .mwai-name .mwai-avatar {\n  margin-right: 10px;\n  width: 40px;\n  height: 40px;\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  border-radius: 5px;\n  overflow: hidden;\n}\n\n.mwai-chat .mwai-name .mwai-avatar img {\n  max-width: 100%;\n  max-height: 100%;\n}\n\n.mwai-chat .mwai-name .mwai-avatar.mwai-svg img {\n  width: 28px;\n  height: 28px;\n  filter: brightness(0) invert(1);\n}\n\n.mwai-chat .mwai-text {\n  flex: auto;\n  font-size: var(--mwai-fontSize);\n  line-height: var(--mwai-lineHeight);\n  color: var(--mwai-fontColor);\n  font-size: var(--mwai-fontSize);\n}\n\n.mwai-chat .mwai-text * {\n  font-size: var(--mwai-fontSize);\n}\n\n.mwai-chat .mwai-text *:first-child {\n  margin-top: 0;\n}\n\n.mwai-chat .mwai-text *:last-child {\n  margin-bottom: 0;\n}\n\n.mwai-chat .mwai-text a {\n  color: #2196f3;\n}\n\n.mwai-chat .mwai-text h1 {\n  font-size: 200%;\n}\n\n.mwai-chat .mwai-text h2 {\n  font-size: 160%;\n}\n\n.mwai-chat .mwai-text h3 {\n  font-size: 140%;\n}\n\n.mwai-chat .mwai-text h4 {\n  font-size: 120%;\n}\n\n.mwai-chat .mwai-text p {\n  display: contents;\n}\n\n.mwai-chat .mwai-text p code {\n  background: var(--mwai-backgroundSecondaryColor);\n  padding: 2px 6px;\n  border-radius: 8px;\n  font-size: 90%;\n  font-family: system-ui;\n}\n\n.mwai-chat .mwai-text pre {\n  color: var(--mwai-fontColor);\n  border-radius: var(--mwai-borderRadius);\n  padding: calc(var(--mwai-spacing) * 2 \/ 3) var(--mwai-spacing);\n  break-after: auto;\n  white-space: pre-wrap;\n  font-size: 95%;\n  max-width: 100%;\n  width: 100%;\n  font-family: system-ui;\n  background: #343541;\n}\n\n.mwai-chat .mwai-text pre code {\n  padding: 0 !important;\n  font-family: system-ui;\n  background: #343541;\n}\n\n.mwai-chat .mwai-text ol {\n  padding: 0;\n  margin: 0 0 0 20px;\n}\n\n.mwai-chat .mwai-text table {\n  width: 100%;\n  border: 2px solid var(--mwai-backgroundSecondaryColor);\n  border-collapse: collapse;\n}\n\n.mwai-chat .mwai-text thead {\n  background: var(--mwai-backgroundSecondaryColor);\n}\n\n.mwai-chat .mwai-text tr, .mwai-chat .mwai-text td {\n  padding: 2px 5px;\n}\n\n.mwai-chat .mwai-text td {\n  border: 2px solid var(--mwai-backgroundSecondaryColor);\n}\n\n.mwai-chat .mwai-text .mwai-typewriter {\n  display: inline-block;\n}\n\n.mwai-chat .mwai-text .mwai-typewriter &gt; :first-child {\n  margin-top: 0;\n}\n\n.mwai-chat .mwai-text &gt; *:first-child {\n  margin-top: 0;\n}\n\n.mwai-chat .mwai-text &gt; *:last-child {\n  margin-bottom: 0;\n}\n\n.mwai-chat .mwai-system .mwai-name {\n  display: none;\n}\n\n.mwai-chat .mwai-input {\n  display: flex;\n  padding: var(--mwai-spacing);\n  border-top: 1px solid var(--mwai-backgroundPrimaryColor);\n}\n\n.mwai-chat .mwai-input textarea {\n  background: var(--mwai-backgroundPrimaryColor);\n  color: var(--mwai-fontColor);\n  flex: auto;\n  padding: var(--mwai-spacing);\n  border: none;\n  border-radius: var(--mwai-borderRadius);\n  font-size: var(--mwai-fontSize);\n  resize: none;\n  font-family: inherit;\n  margin: 0;\n  overflow: hidden;\n}\n\n.mwai-chat .mwai-input textarea:focus {\n  outline: none;\n  box-shadow: none;\n}\n\n.mwai-chat .mwai-input textarea::placeholder {\n  color: var(--mwai-fontColor);\n  opacity: 0.5;\n}\n\n.mwai-chat button {\n  background: none;\n  color: var(--mwai-fontColor);\n  background-color: var(--mwai-backgroundSecondaryColor);\n  border: 1px solid var(--mwai-backgroundPrimaryColor);\n  margin-left: var(--mwai-spacing);\n  width: 90px;\n  border-radius: 5px;\n  cursor: pointer;\n  transition: all 0.2s ease-out;\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  font-size: 90%;\n  position: relative;\n}\n\n.mwai-chat button .mwai-timer {\n  margin-left: 5px;\n  margin-right: 5px;\n  font-size: 11px;\n}\n\n.mwai-chat button:hover {\n  background: var(--mwai-backgroundPrimaryColor);\n}\n\n.mwai-chat button[disabled] span {\n  display: none;\n}\n\n.mwai-chat button[disabled]::before {\n  content: '';\n  width: 18px;\n  height: 18px;\n  margin: auto;\n  border: 3px solid transparent;\n  border-top-color: var(--mwai-fontColor);\n  border-radius: 50%;\n  animation: mwai-button-spinner 1s ease infinite;\n}\n\n.mwai-chat .mwai-compliance {\n  opacity: 0.50;\n  margin-top: calc( -1 * var(--mwai-spacing));\n  padding: calc(var(--mwai-spacing) \/ 1.5) var(--mwai-spacing);\n  font-size: smaller;\n  color: var(--mwai-fontColor);\n  text-align: left;\n}\n\n.mwai-chat .mwai-gallery {\n  display: grid;\n  grid-template-columns: repeat(3, 1fr);\n  grid-gap: 5px;\n}\n\n.mwai-chat .mwai-gallery img {\n  width: 100%;\n}\n\n.mwai-open-button {\n  position: absolute;\n  right: 0;\n  bottom: 0;\n  transition: all 0.2s ease-out;\n  z-index: 9999;\n  display: flex;\n  flex-direction: column;\n  align-items: end;\n}\n\n.mwai-open-button .mwai-icon-text {\n  background: var(--mwai-iconTextBackgroundColor);\n  color: var(--mwai-iconTextColor);\n  max-width: 200px;\n  font-size: 13px;\n  margin-bottom: 15px;\n  padding: 5px 10px;\n  border-radius: 8px;\n}\n\n.mwai-open-button:hover {\n  cursor: pointer;\n  filter: saturate(2.5) hue-rotate(5deg);\n}\n\n.mwai-window {\n  position: fixed;\n  right: 30px;\n  bottom: 30px;\n  width: var(--mwai-width);\n  z-index: 9999;\n}\n\n.mwai-window .mwai-header {\n  display: none;\n  justify-content: flex-end;\n  align-items: center;\n  border-radius: var(--mwai-borderRadius) var(--mwai-borderRadius) 0 0;\n  background: var(--mwai-backgroundHeaderColor);\n}\n\n.mwai-window .mwai-header .mwai-buttons {\n  display: flex;\n  align-items: center;\n}\n\n.mwai-window .mwai-header .mwai-buttons .mwai-resize-button {\n  justify-content: center;\n  height: 32px;\n  width: 22px;\n  cursor: pointer;\n  display: flex;\n  justify-content: center;\n  align-items: center;\n}\n\n.mwai-window .mwai-header .mwai-buttons .mwai-resize-button:before {\n  transition: all 0.2s ease-out;\n  content: ' ';\n  cursor: pointer;\n  position: absolute;\n  height: 13px;\n  width: 13px;\n  border: 1px solid var(--mwai-headerButtonsColor);\n}\n\n.mwai-window .mwai-header .mwai-buttons .mwai-resize-button:hover:before {\n  width: 16px;\n  height: 16px;\n}\n\n.mwai-window .mwai-header .mwai-buttons .mwai-close-button {\n  justify-content: center;\n  height: 32px;\n  width: 33px;\n  cursor: pointer;\n  border-radius: var(--mwai-borderRadius);\n}\n\n.mwai-window .mwai-header .mwai-buttons .mwai-close-button:before {\n  transition: all 0.2s ease-out;\n  transform: translate(16px, 5px) rotate(45deg);\n}\n\n.mwai-window .mwai-header .mwai-buttons .mwai-close-button:after {\n  transition: all 0.2s ease-out;\n  transform: translate(16px, 5px) rotate(-45deg);\n}\n\n.mwai-window .mwai-header .mwai-buttons .mwai-close-button:before, .mwai-window .mwai-header .mwai-buttons .mwai-close-button:after {\n  content: ' ';\n  cursor: pointer;\n  position: absolute;\n  height: 22px;\n  width: 1px;\n  background-color: var(--mwai-headerButtonsColor);\n}\n\n.mwai-window .mwai-header .mwai-buttons .mwai-close-button:hover:before {\n  opacity: 1;\n  transform: translate(16px, 5px) rotate(135deg);\n}\n\n.mwai-window .mwai-header .mwai-buttons .mwai-close-button:hover:after {\n  opacity: 1;\n  transform: translate(16px, 5px) rotate(45deg);\n}\n\n.mwai-window .mwai-content {\n  display: none;\n  opacity: 0;\n  max-height: var(--mwai-maxHeight);\n  border-radius: 0 0 var(--mwai-borderRadius) var(--mwai-borderRadius);\n  overflow: hidden;\n}\n\n.mwai-window.mwai-bottom-left {\n  bottom: 30px;\n  right: inherit;\n  left: 30px;\n}\n\n.mwai-window.mwai-bottom-left .mwai-open-button {\n  right: inherit;\n  left: 0;\n}\n\n.mwai-window.mwai-top-right {\n  top: 30px;\n  bottom: inherit;\n  right: 30px;\n}\n\n.mwai-window.mwai-top-right .mwai-open-button {\n  top: 0;\n  bottom: inherit;\n}\n\n.mwai-window.mwai-top-left {\n  top: 30px;\n  bottom: inherit;\n  right: inherit;\n  left: 30px;\n}\n\n.mwai-window.mwai-top-left .mwai-open-button {\n  top: 0;\n  bottom: inherit;\n  right: inherit;\n  left: 0;\n}\n\n.mwai-window.mwai-fullscreen .mwai-header .mwai-buttons {\n  margin-bottom: 0px;\n}\n\n.mwai-window.mwai-fullscreen .mwai-header .mwai-buttons .mwai-resize-button:before {\n  width: 16px;\n  height: 16px;\n}\n\n.mwai-window.mwai-fullscreen .mwai-header .mwai-buttons .mwai-resize-button:hover:before {\n  width: 13px;\n  height: 13px;\n}\n\n.mwai-fullscreen:not(.mwai-window), .mwai-fullscreen.mwai-window.mwai-open {\n  position: fixed;\n  left: 0 !important;\n  right: 0 !important;\n  bottom: 0 !important;\n  top: 0 !important;\n  width: inherit;\n  height: inherit;\n  max-height: inherit;\n  max-width: inherit;\n  display: flex;\n  flex-direction: column;\n  margin: 0;\n  z-index: 999999;\n  background-color: var(--mwai-backgroundSecondaryColor);\n}\n\n.mwai-fullscreen:not(.mwai-window) .mwai-content, .mwai-fullscreen.mwai-window.mwai-open .mwai-content {\n  height: 100%;\n  max-height: inherit;\n}\n\n.mwai-fullscreen:not(.mwai-window) .mwai-content .mwai-conversation, .mwai-fullscreen.mwai-window.mwai-open .mwai-content .mwai-conversation {\n  flex: auto;\n  max-height: none;\n}\n\n.mwai-window.mwai-open .mwai-header {\n  display: flex;\n}\n\n.mwai-window.mwai-open .mwai-content {\n  display: flex;\n  transition: opacity 200ms ease-in-out 0s;\n  opacity: 1;\n}\n\n.mwai-window.mwai-open .mwai-open-button {\n  display: none;\n}\n\n@keyframes mwai-button-spinner {\n  from {\n    transform: rotate(0turn);\n  }\n  to {\n    transform: rotate(1turn);\n  }\n}\n\n.admin-bar .mwai-fullscreen:not(.mwai-window),\n.admin-bar .mwai-fullscreen.mwai-window.mwai-open {\n  top: 32px;\n}\n\n@media (max-width: 760px) {\n  .mwai-chat.mwai-window {\n    left: 10px;\n    right: 10px;\n    bottom: 10px;\n    width: calc(100% - 20px);\n    z-index: 9999999999;\n  }\n  .mwai-chat .mwai-reply {\n    flex-direction: column;\n  }\n  .mwai-chat .mwai-input {\n    flex-direction: column;\n  }\n}\n\n.mwai-copy-button {\n  opacity: 0;\n  transition: all 0.3s ease-out;\n  width: 22px;\n  height: 22px;\n  position: absolute;\n  right: var(--mwai-spacing);\n}\n\n.mwai-copy-button .mwai-copy-button-one {\n  position: absolute;\n  width: 16px;\n  height: 16px;\n  margin-top: 0px;\n  margin-left: 0px;\n  background: white;\n  opacity: 0.4;\n  transition: all 0.2s ease-in;\n  cursor: pointer;\n  border-radius: 2px;\n}\n\n.mwai-copy-button .mwai-copy-button-two {\n  position: absolute;\n  width: 16px;\n  height: 16px;\n  margin-top: 6px;\n  margin-left: 6px;\n  background: white;\n  opacity: 0.6;\n  transition: all 0.2s ease-in;\n  cursor: pointer;\n  border-radius: 2px;\n}\n\n.mwai-copy-button:hover .mwai-copy-button-one {\n  opacity: 0.6;\n  margin-top: 0px;\n  margin-left: 6px;\n}\n\n.mwai-copy-button:hover .mwai-copy-button-two {\n  opacity: 1;\n  margin-top: 6px;\n  margin-left: 0px;\n}\n\n.mwai-copy-button.mwai-animate .mwai-copy-button-one {\n  opacity: 0;\n}\n\n.mwai-copy-button.mwai-animate .mwai-copy-button-two {\n  width: 18px;\n  height: 18px;\n  margin-top: 2px;\n  margin-left: 2px;\n  opacity: 1;\n}\n\n.mwai-chat .mwai-reply:hover .mwai-copy-button {\n  display: block;\n  opacity: 1;\n}\n\n.mwai-chat pre code.hljs {\n  display: block;\n  overflow-x: auto;\n  padding: 1em;\n}\n\n.mwai-chat code.hljs {\n  padding: 3px 5px;\n}\n\n.mwai-chat .hljs {\n  color: #fff;\n  background: #1c1b1b;\n}\n\n.mwai-chat .hljs-subst {\n  color: #fff;\n}\n\n.mwai-chat .hljs-comment {\n  color: #999;\n}\n\n.mwai-chat .hljs-attr, .mwai-chat .hljs-doctag, .mwai-chat .hljs-keyword, .mwai-chat .hljs-meta .hljs-keyword, .mwai-chat .hljs-section, .mwai-chat .hljs-selector-tag {\n  color: #88aece;\n}\n\n.mwai-chat .hljs-attribute {\n  color: #c59bc1;\n}\n\n.mwai-chat .hljs-name, .mwai-chat .hljs-number, .mwai-chat .hljs-quote, .mwai-chat .hljs-selector-id, .mwai-chat .hljs-template-tag, .mwai-chat .hljs-type {\n  color: #f08d49;\n}\n\n.mwai-chat .hljs-selector-class {\n  color: #88aece;\n}\n\n.mwai-chat .hljs-link, .mwai-chat .hljs-regexp, .mwai-chat .hljs-selector-attr, .mwai-chat .hljs-string, .mwai-chat .hljs-symbol, .mwai-chat .hljs-template-variable, .mwai-chat .hljs-variable {\n  color: #b5bd68;\n}\n\n.mwai-chat .hljs-meta, .mwai-chat .hljs-selector-pseudo {\n  color: #88aece;\n}\n\n.mwai-chat .hljs-built_in, .mwai-chat .hljs-literal, .mwai-chat .hljs-title {\n  color: #f08d49;\n}\n\n.mwai-chat .hljs-bullet, .mwai-chat .hljs-code {\n  color: #ccc;\n}\n\n.mwai-chat .hljs-meta .hljs-string {\n  color: #b5bd68;\n}\n\n.mwai-chat .hljs-deletion {\n  color: #de7176;\n}\n\n.mwai-chat .hljs-addition {\n  color: #76c490;\n}\n\n.mwai-chat .hljs-emphasis {\n  font-style: italic;\n}\n\n.mwai-chat .hljs-strong {\n  font-weight: 700;\n}\n\n@media (max-width: 760px) {\n  .mwai-chat .mwai-input button {\n    margin: 15px 0 0 0;\n    height: 40px;\n    width: inherit;\n  }\n  .mwai-chat .mwai-name {\n    margin-right: 0;\n    max-width: inherit;\n  }\n}\n<\/style>\t\t\t<div id=\"mwai-chat-69d282e299578\" class=\"mwai-chat mwai-chatgpt\">\n\t\t\t\t\t\t\t\t<div class=\"mwai-content\">\n\t\t\t\t\t<div class=\"mwai-conversation\">\n\t\t\t\t\t<\/div>\n\t\t\t\t\t<div class=\"mwai-input\">\n\t\t\t\t\t\t<textarea rows=\"1\" maxlength=\"512\" placeholder=\"Type your message...\"><\/textarea>\n\t\t\t\t\t\t<button><span>Send<\/span><\/button>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t<\/div>\n\n\t\t\t<script>\n\t\t\t(function () {\n\t\t\t\tlet isMobile = window.matchMedia( \"only screen and (max-width: 760px)\" ).matches;\n\t\t\t\tlet isWindow = false;\n\t\t\t\tlet isDebugMode = true;\n\t\t\t\tlet isFullscreen = false;\n\t\t\t\tlet restNonce = 'f6e4915142';\n\t\t\t\tlet apiURL = 'http:\/\/no1doctor.dratef.net\/index.php\/wp-json\/ai-chatbot\/v1\/chat';\n\t\t\t\tlet isCasuallyFineTuned = false;\n\t\t\t\tlet rawUserName = 'User: ';\n\t\t\t\tlet rawAiName = 'AI: ';\n\t\t\t\tlet userName = '<div class=\"mwai-name-text\">User:<\/div>';\n\t\t\t\tlet aiName = '<div class=\"mwai-name-text\">AI:<\/div>';\n\t\t\t\tlet sysName = 'System:';\n\t\t\t\tlet env = 'chatbot';\n\t\t\t\tlet apiKey = '';\n\t\t\t\tlet service = 'openai';\n\t\t\t\tlet session = 'N\/A';\n\t\t\t\tlet mode = 'chat';\n\t\t\t\tlet model = 'gpt-3.5-turbo';\n\t\t\t\tlet context = isCasuallyFineTuned ? null : 'Converse as if you were an AI assistant. Be friendly, creative.';\n\t\t\t\tlet embeddingsIndex = '';\n\t\t\t\tlet promptEnding = '';\n\t\t\t\tlet stop = '';\n\t\t\t\tlet startSentence = 'Hi! How can I help you?';\n\t\t\t\tlet maxSentences = 15;\n\t\t\t\tlet memorizeChat = false;\n\t\t\t\tlet maxTokens = 1024;\n\t\t\t\tlet maxResults = 1;\n\t\t\t\tlet temperature = 0.8;\n\t\t\t\tlet typewriter = true;\n\t\t\t\tlet copyButton = false;\n\t\t\t\tlet clientId = randomStr();\n\t\t\t\tlet memorizedChat = { clientId, messages: [] };\n\n\t\t\t\tif (isDebugMode) {\n\t\t\t\t\twindow.mwai_69d282e299578 = {\n\t\t\t\t\t\tmemorizedChat: memorizedChat,\n\t\t\t\t\t\tparameters: { mode: mode, model, temperature, maxTokens, context: context, startSentence,\n\t\t\t\t\t\t\tisMobile, isWindow, isFullscreen, isCasuallyFineTuned, memorizeChat, maxSentences,\n\t\t\t\t\t\t\trawUserName, rawAiName, embeddingsIndex, typewriter, maxResults, userName, aiName, env, apiKey, service, session\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t}\n\n\t\t\t\tfunction randomStr() {\n\t\t\t\t\treturn Math.random().toString(36).substring(2);\n\t\t\t\t}\n\n\t\t\t\t\/\/ Set button text\n\t\t\t\tfunction setButtonText() {\n\t\t\t\t\tlet input = document.querySelector('#mwai-chat-69d282e299578 .mwai-input textarea');\n\t\t\t\t\tlet button = document.querySelector('#mwai-chat-69d282e299578 .mwai-input button');\n\t\t\t\t\tlet buttonSpan = button.querySelector('span');\n\t\t\t\t\tif (memorizedChat.messages.length < 2) {\n\t\t\t\t\t\tbuttonSpan.innerHTML = 'Send';\n\t\t\t\t\t}\n\t\t\t\t\telse if (!input.value.length) {\n\t\t\t\t\t\tbutton.classList.add('mwai-clear');\n\t\t\t\t\t\tbuttonSpan.innerHTML = 'Clear';\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\tbutton.classList.remove('mwai-clear');\n\t\t\t\t\t\tbuttonSpan.innerHTML = 'Send';\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t\/\/ Inject timer\n\t\t\t\tfunction injectTimer(element) {\n\t\t\t\t\tlet intervalId;\n\t\t\t\t\tlet startTime = new Date();\n\t\t\t\t\tlet timerElement = null;\n\n\t\t\t\t\tfunction updateTimer() {\n\t\t\t\t\t\tlet now = new Date();\n\t\t\t\t\t\tlet timer = Math.floor((now - startTime) \/ 1000);\n\t\t\t\t\t\tif (!timerElement) {\n\t\t\t\t\t\t\tif (timer > 0.5) {\n\t\t\t\t\t\t\t\ttimerElement = document.createElement('div');\n\t\t\t\t\t\t\t\ttimerElement.classList.add('mwai-timer');\n\t\t\t\t\t\t\t\telement.appendChild(timerElement);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (timerElement) {\n\t\t\t\t\t\t\tlet minutes = Math.floor(timer \/ 60);\n\t\t\t\t\t\t\tlet seconds = timer - (minutes * 60);\n\t\t\t\t\t\t\tseconds = seconds < 10 ? '0' + seconds : seconds;\n\t\t\t\t\t\t\tlet display = minutes + ':' + seconds;\n\t\t\t\t\t\t\ttimerElement.innerHTML = display;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\tintervalId = setInterval(updateTimer, 500);\n\n\t\t\t\t\treturn function stopTimer() {\n\t\t\t\t\t\tclearInterval(intervalId);\n\t\t\t\t\t\tif (timerElement) {\n\t\t\t\t\t\t\ttimerElement.remove();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t}\n\n\t\t\t\t\/\/ Push the reply in the conversation\n\t\t\t\tfunction addReply(text, role = 'user', replay = false) {\n\t\t\t\t\tvar conversation = document.querySelector('#mwai-chat-69d282e299578 .mwai-conversation');\n\n\t\t\t\t\tif (memorizeChat) {\n\t\t\t\t\t\tlocalStorage.setItem('mwai-chat-69d282e299578', JSON.stringify(memorizedChat));\n\t\t\t\t\t}\n\n\t\t\t\t\t\/\/ If text is array, then it's image URLs. Let's create a simple gallery in HTML in $text.\n\t\t\t\t\tif (Array.isArray(text)) {\n\t\t\t\t\t\tvar newText = '<div class=\"mwai-gallery\">';\n\t\t\t\t\t\tfor (var i = 0; i < text.length; i++) {\n\t\t\t\t\t\t\tnewText += '<a href=\"' + text[i] + '\" target=\"_blank\"><img decoding=\"async\" src=\"' + text[i] + '\" \/>';\n\t\t\t\t\t\t}\n\t\t\t\t\t\ttext = newText + '<\/div>';\n\t\t\t\t\t}\n\n\t\t\t\t\tvar mwaiClasses = ['mwai-reply'];\n\t\t\t\t\tif (role === 'assistant') {\n\t\t\t\t\t\tmwaiClasses.push('mwai-ai');\n\t\t\t\t\t}\n\t\t\t\t\telse if (role === 'system') {\n\t\t\t\t\t\tmwaiClasses.push('mwai-system');\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\tmwaiClasses.push('mwai-user');\n\t\t\t\t\t}\n\t\t\t\t\tvar div = document.createElement('div');\n\t\t\t\t\tdiv.classList.add(...mwaiClasses);\n\t\t\t\t\tvar nameSpan = document.createElement('span');\n\t\t\t\t\tnameSpan.classList.add('mwai-name');\n\t\t\t\t\tif (role === 'assistant') {\n\t\t\t\t\t\tnameSpan.innerHTML = aiName;\n\t\t\t\t\t}\n\t\t\t\t\telse if (role === 'system') {\n\t\t\t\t\t\tnameSpan.innerHTML = sysName;\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\tnameSpan.innerHTML = userName;\n\t\t\t\t\t}\n\t\t\t\t\tvar textSpan = document.createElement('span');\n\t\t\t\t\ttextSpan.classList.add('mwai-text');\n\t\t\t\t\ttextSpan.innerHTML = text;\n\t\t\t\t\tdiv.appendChild(nameSpan);\n\t\t\t\t\tdiv.appendChild(textSpan);\n\n\t\t\t\t\t\/\/ Copy Button\n\t\t\t\t\tif (copyButton && role === 'assistant') {\n\t\t\t\t\t\tvar button = document.createElement('div');\n\t\t\t\t\t\tbutton.classList.add('mwai-copy-button');\n\t\t\t\t\t\tvar firstElement = document.createElement('div');\n\t\t\t\t\t\tfirstElement.classList.add('mwai-copy-button-one');\n\t\t\t\t\t\tvar secondElement = document.createElement('div');\n\t\t\t\t\t\tsecondElement.classList.add('mwai-copy-button-two');\n\t\t\t\t\t\tbutton.appendChild(firstElement);\n\t\t\t\t\t\tbutton.appendChild(secondElement);\n\t\t\t\t\t\tdiv.appendChild(button);\n\t\t\t\t\t\tbutton.addEventListener('click', function () {\n\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\tvar content = textSpan.textContent;\n\t\t\t\t\t\t\t\tnavigator.clipboard.writeText(content);\n\t\t\t\t\t\t\t\tbutton.classList.add('mwai-animate');\n\t\t\t\t\t\t\t\tsetTimeout(function () {\n\t\t\t\t\t\t\t\t\tbutton.classList.remove('mwai-animate');\n\t\t\t\t\t\t\t\t}, 1000);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tcatch (err) {\n\t\t\t\t\t\t\t\tconsole.warn('Not allowed to copy to clipboard. Make sure your website uses HTTPS.');\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\n\t\t\t\t\tconversation.appendChild(div);\n\n\t\t\t\t\tif (typewriter) {\n\t\t\t\t\t\tif (role === 'assistant' && text !== startSentence && !replay) {\n\t\t\t\t\t\t\tlet typewriter = new Typewriter(textSpan, {\n\t\t\t\t\t\t\t\tdeleteSpeed: 50, delay: 25, loop: false, cursor: '', autoStart: true,\n\t\t\t\t\t\t\t\twrapperClassName: 'mwai-typewriter',\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\ttypewriter.typeString(text).start().callFunction((state) => {\n\t\t\t\t\t\t\t\tstate.elements.cursor.setAttribute('hidden', 'hidden');\n\t\t\t\t\t\t\t\ttypewriter.stop();\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\tconversation.scrollTop = conversation.scrollHeight;\n\t\t\t\t\tsetButtonText();\n\n\t\t\t\t\t\/\/ Syntax coloring\n\t\t\t\t\tif (typeof hljs !== 'undefined') {\n\t\t\t\t\t\tdocument.querySelectorAll('pre code').forEach((el) => {\n\t\t\t\t\t\t\thljs.highlightElement(el);\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tfunction buildPrompt(last = 15) {\n\t\t\t\t\tlet prompt = context ? (context + '\\n\\n') : '';\n\t\t\t\t\tmemorizedChat.messages = memorizedChat.messages.slice(-last);\n\n\t\t\t\t\t\/\/ Casually fine tuned, let's use the last question\n\t\t\t\t\tif (isCasuallyFineTuned) {\n\t\t\t\t\t\tlet lastLine = memorizedChat.messages[memorizedChat.messages.length - 1];\n\t\t\t\t\t\tprompt = lastLine.content + promptEnding;\n\t\t\t\t\t\treturn prompt;\n\t\t\t\t\t}\n\n\t\t\t\t\t\/\/ Otherwise let's compile the latest conversation\n\t\t\t\t\tlet conversation = memorizedChat.messages.map(x => x.who + x.content);\n\t\t\t\t\tprompt += conversation.join('\\n');\n\t\t\t\t\tprompt += '\\n' + rawAiName;\n\t\t\t\t\treturn prompt;\n\t\t\t\t}\n\n\t\t\t\t\/\/ Function to request the completion\n\t\t\t\tfunction onSendClick() {\n\t\t\t\t\tlet input = document.querySelector('#mwai-chat-69d282e299578 .mwai-input textarea');\n\t\t\t\t\tlet inputText = input.value.trim();\n\n\t\t\t\t\t\/\/ Reset the conversation if empty\n\t\t\t\t\tif (inputText === '') {\n\t\t\t\t\t\tclientId = randomStr();\n\t\t\t\t\t\tdocument.querySelector('#mwai-chat-69d282e299578 .mwai-conversation').innerHTML = '';\n\t\t\t\t\t\tlocalStorage.removeItem('mwai-chat-69d282e299578')\n\t\t\t\t\t\tmemorizedChat = { clientId: clientId, messages: [] };\n\t\t\t\t\t\tmemorizedChat.messages.push({ \n\t\t\t\t\t\t\tid: randomStr(),\n\t\t\t\t\t\t\trole: 'assistant',\n\t\t\t\t\t\t\tcontent: startSentence,\n\t\t\t\t\t\t\twho: rawAiName,\n\t\t\t\t\t\t\thtml: startSentence\n\t\t\t\t\t\t});\n\t\t\t\t\t\taddReply(startSentence, 'assistant');\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\n\t\t\t\t\t\/\/ Disable the button\n\t\t\t\t\tvar button = document.querySelector('#mwai-chat-69d282e299578 .mwai-input button');\n\t\t\t\t\tbutton.disabled = true;\n\n\t\t\t\t\t\/\/ Add the user reply\n\t\t\t\t\tmemorizedChat.messages.push({\n\t\t\t\t\t\tid: randomStr(),\n\t\t\t\t\t\trole: 'user',\n\t\t\t\t\t\tcontent: inputText,\n\t\t\t\t\t\twho: rawUserName,\n\t\t\t\t\t\thtml: inputText\n\t\t\t\t\t});\n\t\t\t\t\taddReply(inputText, 'user');\n\t\t\t\t\tinput.value = '';\n\t\t\t\t\tinput.setAttribute('rows', 1);\n\t\t\t\t\tinput.disabled = true;\n\n\t\t\t\t\tlet prompt = buildPrompt(maxSentences);\n\n\t\t\t\t\tconst data = mode === 'images' ? {\n\t\t\t\t\t\tenv, session: session,\n\t\t\t\t\t\tprompt: inputText,\n\t\t\t\t\t\tnewMessage: inputText,\n\t\t\t\t\t\tmodel: model,\n\t\t\t\t\t\tmaxResults,\n\t\t\t\t\t\tapiKey: apiKey,\n\t\t\t\t\t\tservice: service,\n\t\t\t\t\t\tclientId: clientId,\n\t\t\t\t\t} : {\n\t\t\t\t\t\tenv, session: session,\n\t\t\t\t\t\tprompt: prompt,\n\t\t\t\t\t\tcontext: context,\n\t\t\t\t\t\tmessages: memorizedChat.messages,\n\t\t\t\t\t\tnewMessage: inputText,\n\t\t\t\t\t\tuserName: userName,\n\t\t\t\t\t\taiName: aiName,\n\t\t\t\t\t\tmodel: model,\n\t\t\t\t\t\ttemperature: temperature,\n\t\t\t\t\t\tmaxTokens: maxTokens,\n\t\t\t\t\t\tmaxResults: 1,\n\t\t\t\t\t\tapiKey: apiKey,\n\t\t\t\t\t\tservice: service,\n\t\t\t\t\t\tembeddingsIndex: embeddingsIndex,\n\t\t\t\t\t\tstop: stop,\n\t\t\t\t\t\tclientId: clientId,\n\t\t\t\t\t};\n\n\t\t\t\t\t\/\/ Start the timer\n\t\t\t\t\tconst stopTimer = injectTimer(button);\n\n\t\t\t\t\t\/\/ Send the request\n\t\t\t\t\tif (isDebugMode) {\n\t\t\t\t\t\tconsole.log('[BOT] Sent: ', data);\n\t\t\t\t\t}\n\t\t\t\t\tfetch(apiURL, { method: 'POST', headers: {\n\t\t\t\t\t\t\t'Content-Type': 'application\/json',\n\t\t\t\t\t\t\t'X-WP-Nonce': restNonce,\n\t\t\t\t\t\t},\n\t\t\t\t\t\tbody: JSON.stringify(data)\n\t\t\t\t\t})\n\t\t\t\t\t.then(response => response.json())\n\t\t\t\t\t.then(data => {\n\t\t\t\t\t\tif (isDebugMode) {\n\t\t\t\t\t\t\tconsole.log('[BOT] Recv: ', data);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!data.success) {\n\t\t\t\t\t\t\taddReply(data.message, 'system');\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse {\n\t\t\t\t\t\t\tlet html = data.images ? data.images : data.html;\n\t\t\t\t\t\t\tmemorizedChat.messages.push({\n\t\t\t\t\t\t\t\tid: randomStr(),\n\t\t\t\t\t\t\t\trole: 'assistant',\n\t\t\t\t\t\t\t\tcontent: data.answer,\n\t\t\t\t\t\t\t\twho: rawAiName,\n\t\t\t\t\t\t\t\thtml: html\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\taddReply(html, 'assistant');\n\t\t\t\t\t\t}\n\t\t\t\t\t\tbutton.disabled = false;\n\t\t\t\t\t\tinput.disabled = false;\n\t\t\t\t\t\tstopTimer();\n\n\t\t\t\t\t\t\/\/ Only focus only on desktop (to avoid the mobile keyboard to kick-in)\n\t\t\t\t\t\tif (!isMobile) {\n\t\t\t\t\t\t\tinput.focus();\n\t\t\t\t\t\t}\n\t\t\t\t\t})\n\t\t\t\t\t.catch(error => {\n\t\t\t\t\t\tconsole.error(error);\n\t\t\t\t\t\tbutton.disabled = false;\n\t\t\t\t\t\tinput.disabled = false;\n\t\t\t\t\t\tstopTimer();\n\t\t\t\t\t});\n\t\t\t\t}\n\n\t\t\t\t\/\/ Keep the textarea height in sync with the content\n\t\t\t\tfunction resizeTextArea(ev) {\n\t\t\t\t\tev.target.style.height = 'auto';\n\t\t\t\t\tev.target.style.height = ev.target.scrollHeight + 'px';\n\t\t\t\t}\n\n\t\t\t\t\/\/ Keep the textarea height in sync with the content\n\t\t\t\tfunction delayedResizeTextArea(ev) {\n\t\t\t\t\twindow.setTimeout(resizeTextArea, 0, event);\n\t\t\t\t}\n\n\t\t\t\t\/\/ Init the chatbot\n\t\t\t\tfunction initMeowChatbot() {\n\t\t\t\t\tvar input = document.querySelector('#mwai-chat-69d282e299578 .mwai-input textarea');\n\t\t\t\t\tvar button = document.querySelector('#mwai-chat-69d282e299578 .mwai-input button');\n\n\t\t\t\t\tinput.addEventListener('keypress', (event) => {\n\t\t\t\t\t\tlet text = event.target.value;\n\t\t\t\t\t\tif (event.keyCode === 13 && !text.length && !event.shiftKey) {\n\t\t\t\t\t\t\tevent.preventDefault();\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (event.keyCode === 13 && text.length && !event.shiftKey) {\n\t\t\t\t\t\t\tonSendClick();\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t\tinput.addEventListener('keydown', (event) => {\n\t\t\t\t\t\tvar rows = input.getAttribute('rows');\n\t\t\t\t\t\tif (event.keyCode === 13 && event.shiftKey) {\n\t\t\t\t\t\t\tvar lines = input.value.split('\\n').length + 1;\n\t\t\t\t\t\t\t\/\/mwaiSetTextAreaHeight(input, lines);\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t\tinput.addEventListener('keyup', (event) => {\n\t\t\t\t\t\tvar rows = input.getAttribute('rows');\n\t\t\t\t\t\tvar lines = input.value.split('\\n').length ;\n\t\t\t\t\t\t\/\/mwaiSetTextAreaHeight(input, lines);\n\t\t\t\t\t\tsetButtonText();\n\t\t\t\t\t});\n\n\t\t\t\t\tinput.addEventListener('change', resizeTextArea, false);\n\t\t\t\t\tinput.addEventListener('cut', delayedResizeTextArea, false);\n\t\t\t\t\tinput.addEventListener('paste', delayedResizeTextArea, false);\n\t\t\t\t\tinput.addEventListener('drop', delayedResizeTextArea, false);\n\t\t\t\t\tinput.addEventListener('keydown', delayedResizeTextArea, false);\n\n\t\t\t\t\tbutton.addEventListener('click', (event) => {\n\t\t\t\t\t\tonSendClick();\n\t\t\t\t\t});\n\n\t\t\t\t\t\/\/ If window, add event listener to mwai-open-button and mwai-close-button\n\t\t\t\t\tif ( isWindow ) {\n\t\t\t\t\t\tvar openButton = document.querySelector('#mwai-chat-69d282e299578 .mwai-open-button');\n\t\t\t\t\t\topenButton.addEventListener('click', (event) => {\n\t\t\t\t\t\t\tvar chat = document.querySelector('#mwai-chat-69d282e299578');\n\t\t\t\t\t\t\tchat.classList.add('mwai-open');\n\t\t\t\t\t\t\t\/\/ Only focus only on desktop (to avoid the mobile keyboard to kick-in)\n\t\t\t\t\t\t\tif (!isMobile) {\n\t\t\t\t\t\t\t\tinput.focus();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t});\n\t\t\t\t\t\tvar closeButton = document.querySelector('#mwai-chat-69d282e299578 .mwai-close-button');\n\t\t\t\t\t\tcloseButton.addEventListener('click', (event) => {\n\t\t\t\t\t\t\tvar chat = document.querySelector('#mwai-chat-69d282e299578');\n\t\t\t\t\t\t\tchat.classList.remove('mwai-open');\n\t\t\t\t\t\t});\n\t\t\t\t\t\tif (isFullscreen) {\n\t\t\t\t\t\t\tvar resizeButton = document.querySelector('#mwai-chat-69d282e299578 .mwai-resize-button');\n\t\t\t\t\t\t\tresizeButton.addEventListener('click', (event) => {\n\t\t\t\t\t\t\t\tvar chat = document.querySelector('#mwai-chat-69d282e299578');\n\t\t\t\t\t\t\t\tchat.classList.toggle('mwai-fullscreen');\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\t\/\/ Get back the previous chat if any for the same ID\n\t\t\t\t\tvar chatHistory = [];\n\t\t\t\t\tif (memorizeChat) {\n\t\t\t\t\t\tchatHistory = localStorage.getItem('mwai-chat-69d282e299578');\n\t\t\t\t\t\tif (chatHistory) {\n\t\t\t\t\t\t\tmemorizedChat = JSON.parse(chatHistory);\n\t\t\t\t\t\t\tif (memorizedChat && memorizedChat.clientId && memorizedChat.messages) {\n\t\t\t\t\t\t\t\tclientId = memorizedChat.clientId;\n\t\t\t\t\t\t\t\tmemorizedChat.messages = memorizedChat.messages.filter(x => x && x.html && x.role);\n\t\t\t\t\t\t\t\tmemorizedChat.messages.forEach(x => {\n\t\t\t\t\t\t\t\t\taddReply(x.html, x.role, true);\n\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\telse {\n\t\t\t\t\t\t\t\tmemorizedChat = null;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!memorizedChat) {\n\t\t\t\t\t\t\tmemorizedChat = {\n\t\t\t\t\t\t\t\tclientId: clientId,\n\t\t\t\t\t\t\t\tmessages: []\n\t\t\t\t\t\t\t};\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif (memorizedChat.messages.length === 0) {\n\t\t\t\t\t\tmemorizedChat.messages.push({ \n\t\t\t\t\t\t\tid: randomStr(),\n\t\t\t\t\t\t\trole: 'assistant',\n\t\t\t\t\t\t\tcontent: startSentence,\n\t\t\t\t\t\t\twho: rawAiName,\n\t\t\t\t\t\t\thtml: startSentence\n\t\t\t\t\t\t});\n\t\t\t\t\t\taddReply(startSentence, 'assistant');\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t\/\/ Let's go totally meoooow on this!\n\t\t\t\tinitMeowChatbot();\n\t\t\t})();\n\t\t\t<\/script>\n\n\t\t\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":3443,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"jetpack_post_was_ever_published":false,"footnotes":""},"class_list":["post-3441","page","type-page","status-publish","has-post-thumbnail","hentry"],"aioseo_notices":[],"jetpack-related-posts":[],"jetpack_likes_enabled":true,"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"http:\/\/no1doctor.dratef.net\/index.php\/wp-json\/wp\/v2\/pages\/3441","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/no1doctor.dratef.net\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"http:\/\/no1doctor.dratef.net\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"http:\/\/no1doctor.dratef.net\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/no1doctor.dratef.net\/index.php\/wp-json\/wp\/v2\/comments?post=3441"}],"version-history":[{"count":1,"href":"http:\/\/no1doctor.dratef.net\/index.php\/wp-json\/wp\/v2\/pages\/3441\/revisions"}],"predecessor-version":[{"id":3444,"href":"http:\/\/no1doctor.dratef.net\/index.php\/wp-json\/wp\/v2\/pages\/3441\/revisions\/3444"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/no1doctor.dratef.net\/index.php\/wp-json\/wp\/v2\/media\/3443"}],"wp:attachment":[{"href":"http:\/\/no1doctor.dratef.net\/index.php\/wp-json\/wp\/v2\/media?parent=3441"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}