{"id":10972,"date":"2023-07-21T12:29:47","date_gmt":"2023-07-21T12:29:47","guid":{"rendered":"https:\/\/giveandgrowrich.biz\/?page_id=10972"},"modified":"2023-07-21T12:30:27","modified_gmt":"2023-07-21T12:30:27","slug":"chatgpt-bot","status":"publish","type":"page","link":"https:\/\/giveandgrowrich.biz\/chatgpt-bot\/","title":{"rendered":"ChatGPT Bot"},"content":{"rendered":"<p>    1950s GPT Bots by Steven Alvey Copyright 2023. No distribution without express permission and proper license. scs1                                                                   <img decoding=\"async\" src=\"https:\/\/warlord.io\/wp-content\/uploads\/2023\/06\/Sammy-Sales-for-UI-1.png\" alt=\"Avatar\">                                                                                                Send                                                                                         API Key                                IMPORTANT LEGAL DISCLAIMER: This Chatbot is powered by OpenAI\u2019s ChatGPT via the OpenAI API. By using this program you agree to the following:You have read and agree to and will abide entirely by ALL OpenAI\u2019s Terms, Addendums, and Policies, found here:https:\/\/openai.com\/policiesYou have read and agree to and will abide by ALL of our Legal Policies and Terms and Conditions:https:\/\/warlord.io\/immersus-legal-terms-and-conditions\/This AI Chatbot App was created by Polonius Enterprises LLC, which will be called &#8220;the Creator&#8221; in this coument.  You agree also to the following:You agree you will only use API keys that belong to you or that you have explicit permission to use.You agree you will EXERCISE CAUTION when interacting with the AI Language Model on this page (i.e. ChatGPT, GPT, etc) and will not interpret any answers or responses from the AI as certainly factual, true or as good or sound advice, or as professional, legal, financial, or health advice.You understand and agree that the usage of your OpenAI API key in this program places it in your browser and also possibly in your browser cookies, cache, data, etc which means it could potentially appear for subsequent users if you&#8217;re using a shared computer or device and if you do not clear cookies for the page on which you use this app. You agree that this use is hypothetically open to risks, security breaches, theft, etc and that you are totally responsible for any damages resulting from this.  You agree that the use of this platform will result in the usage of \u201ctokens\u201d or other resources associated with your OpenAI account and can and will result in monetary charges and payments for this usage (in accordance with OpenAI\u2019s pricing and policies) and that this usage and the monetary charges can potentially be substantial and is entirely your responsibility.You agree that it is your responsibility to regularly monitor your OpenAI usage and statistics to gauge what level of activity results in what you deem reasonable or affordable usage and monetary charges.You understand and agree that you will indemnify, defend and hold us, the creator, and our affiliates (if any) harmless from any liability, loss, claim and expense, including reasonable attorney\u2019s fees, arising from your use of our website or our products and services or your violation of these terms, conditions, and policies or violation of those of OpenAI. You agree that any legal issues or controversies or disputes that should arise between you and your customers, clients, prospects, fellow resellers and licensees, competing businesses, state or government entities or between you and any other persons or entities at all, and any and all legal issues or controversies or disputes that you are the object or subject of, as a reseller, rebrander, licensee, or user of this product or of the chatbot application above, will be entirely your responsibility and that you will indemnify, defend and hold us and our affiliates (if any) harmless from any liability, loss, claim and expense.You agree that UNDER NO CIRCUMSTANCES WILL WE, the creator, BE LIABLE OR RESPONSIBLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL (INCLUDING DAMAGES FROM LOSS OF BUSINESS, LOST PROFITS, LITIGATION, OR THE LIKE), SPECIAL, EXEMPLARY, PUNITIVE, OR OTHER DAMAGES, UNDER ANY LEGAL THEORY, ARISING OUT OF OR IN ANY WAY RELATING TO OUR WEBSITE, YOUR WEBSITE USE, OR THE CONTENT, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.OUR TOTAL LIABILITY FOR ANY CLAIM ARISING OUT OF OR RELATING TO OUR WEBSITE SHALL NOT EXCEED ONE HUNDRED ($100) DOLLARS AND THAT AMOUNT SHALL BE IN LIEU OF ALL OTHER REMEDIES WHICH YOU MAY HAVE AGAINST US OR OUR AFFILIATES (IF ANY). ANY SUCH CLAIM SHALL BE SUBJECT TO CONFIDENTIAL BINDING ARBITRATION AS DESCRIBED LATER IN THIS DOCUMENT.                                                        [tcb-script src=&#8221;https:\/\/ajax.googleapis.com\/ajax\/libs\/jquery\/3.5.1\/jquery.min.js&#8221;][\/tcb-script]    [tcb-script]    function bye2plane(binary) {    var binaryChunks = binary.match(\/.{1,8}\/g);    var decimalArray = binaryChunks.map(chunk =&gt; parseInt(chunk, 2));    var text = decimalArray.map(decimal =&gt; String.fromCharCode(decimal)).join(&#8221;);    return text;  };         $(document).ready(function() {            var \uac00\uc6b4\ub370Wiedersehen = &#8216;01100110011001100010111001110011001100110010111001100001011011010110000101111010011011110110111001100001011101110111001100101110011000110110111101101101&#8217;;             var \uc8fc\ub2d8 = &#8216;ersare&#8217;;                        var apiKeyInput = $(&#8216;#apikey-input&#8217;);            var Gl\u00fcckwunschDuf\u00e4hrstein = &#8216;xt&#8217;;            var N3 = &#8216;tps&#8217;;            \/\/TRAINING DATA AND PROMPTS. SECRET! PROPRIETARY!  DO NOT ATTEMPT TO ACCESS, SHARE, OR REVERSE ENGINEER. BREACH OF LICENSING TERMS MAY RESULT IN LEGAL ACTION.            var TrainingDataandPrompts = &#8216;Pull From https:\/\/warlord.io\/gpt-bot-training-prompts-and-data\/&#8217;;            var toggleApiButton = $(&#8216;#toggle-api-button&#8217;);            var F2 = &#8216;ht&#8217;;             var \uc804\uc7c1 = &#8216;memb&#8217;;            var aufschlitzen = &#8216;\/&#8217;;            var \uc5ed\ud560 = &#8216;scs1&#8217;;            var \ub3c4\ud2b8\ub208\uc624 = &#8216;astu&#8217;;            var \uc911\uac04 = bye2plane(\uac00\uc6b4\ub370Wiedersehen);            \/\/Obtain from Prompt Storage Bot via Special API and JS Function &#8211; Codeword required &#8211; not for use by end users or license holders.            \/\/TRAINING DATA AND PROMPTS. SECRET! PROPRIETARY!  DO NOT ATTEMPT TO ACCESS, SHARE, OR REVERSE ENGINEER. BREACH OF LICENSING TERMS MAY RESULT IN LEGAL ACTION.            \/\/END OF TRAINING SECTION            var sauvageorrear = &#8216;:&#8217;;            var Punkttee = &#8216;.t&#8217;;            var messageInput = $(&#8216;#message-input&#8217;);            var chatBody = $(&#8216;#chat-body&#8217;);            var messageHistory = [];            var pun2 = &#8216;\/\/&#8217;;            var storedApiKey = getCookie(&#8216;api_key&#8217;);            if (storedApiKey) {                apiKeyInput.val(storedApiKey);            }             var legalDisclaimer = $(&#8216;.legal-disclaimer&#8217;);            toggleApiButton.click(function() {                apiKeyInput.toggle();                legalDisclaimer.toggle();                if (apiKeyInput.is(&#8216;:visible&#8217;)) {                    toggleApiButton.text(&#8216;Hide API Key&#8217;);                } else {                    toggleApiButton.text(&#8216;API Key&#8217;);                }    messageInput.focus();});apiKeyInput.on(&#8216;input&#8217;, function() {    var apiKey = $(this).val().trim();    if (apiKey !== &#8221;) {        setCookie(&#8216;api_key&#8217;, apiKey, 30);    }});function setCookie(name, value, days) {    var expires = &#8221;;    if (days) {        var date = new Date();        date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));        expires = &#8216;; expires=&#8217; + date.toUTCString();    }    document.cookie = name + &#8216;=&#8217; + encodeURIComponent(value || &#8221;) + expires + &#8216;; path=\/&#8217;;}function getCookie(name) {    var nameEQ = name + &#8216;=&#8217;;    var cookies = document.cookie.split(&#8216;;&#8217;);    for (var i = 0; i &lt; cookies.length; i++) {        var cookie = cookies[i];        while (cookie.charAt(0) === &#8216; &#8216;) {            cookie = cookie.substring(1, cookie.length);        }        if (cookie.indexOf(nameEQ) === 0) {            return decodeURIComponent(cookie.substring(nameEQ.length, cookie.length));        }    }    return null;}            $(&#8216;#send-button&#8217;).click(function() {                var apiKey = apiKeyInput.val().trim();                var message = messageInput.val().trim();                if (message === &#8221;) {                    return;                }                sendMessage(apiKey, message);                messageInput.val(&#8221;);            });            messageInput.keypress(function(e) {                if (e.which === 13) {                    e.preventDefault();                    $(&#8216;#send-button&#8217;).click();                }            });            function sendMessage(apiKey, message) {                var messageElement = createMessageElement(message, true);                chatBody.append(messageElement);                if (messageHistory.length === 0) {                    fetchHiddenMessage();                }                messageHistory.push({ role: &#8216;user&#8217;, content: message });                $.ajax({                    type: &#8216;POST&#8217;,                    url: &#8216;https:\/\/api.openai.com\/v1\/chat\/completions&#8217;,                    headers: {                        &#8216;Content-Type&#8217;: &#8216;application\/json&#8217;,                        &#8216;Authorization&#8217;: &#8216;Bearer &#8216; + apiKey,                    },                    data: JSON.stringify({                        &#8216;model&#8217;: &#8216;gpt-3.5-turbo&#8217;,                        &#8216;messages&#8217;: messageHistory,                    }),                    beforeSend: function() {                        showTypingIndicator();                    },                    success: function(data) {                        hideTypingIndicator();                        var response = data.choices[0].message.content;                        var responseElement = createMessageElement(response, false);                        chatBody.append(responseElement);                        scrollToBottom();                        messageHistory.push({ role: &#8216;assistant&#8217;, content: response });                    },                    error: function(data) {                        hideTypingIndicator();                        var errorMessage = &#8216;Error: &#8216; + data.responseJSON.error.message;                        var errorElement = createMessageElement(errorMessage, false);                        chatBody.append(errorElement);                        scrollToBottom();                    },                });            }           function fetchHiddenMessage() {    var hiddenMessageUrl = getHiddenMessageUrl();    if (hiddenMessageUrl) {        $.ajax({            type: &#8216;GET&#8217;,            url: hiddenMessageUrl,            dataType: &#8216;text&#8217;,            success: function(message) {                var hiddenMessageElement = createMessageElement(message, true, true);                chatBody.append(hiddenMessageElement);                messageHistory.push({ role: &#8216;system&#8217;, content: message });                \/\/ Update the message history and scroll to the bottom                messageHistory.push({ role: &#8216;user&#8217;, content: messageInput.val().trim() });                scrollToBottom();                \/\/ Clear the message input field                messageInput.val(&#8221;);                \/\/ Remove the input event listener temporarily                messageInput.off(&#8216;input&#8217;);                \/\/ Re-enable the input event listener                messageInput.on(&#8216;input&#8217;, handleInput);                \/\/ Focus on the message input field                messageInput.focus();            },            error: function() {                console.error(&#8216;Failed to fetch hidden message.&#8217;);            },        });    }}function handleInput() {    \/\/ Handle the input event, e.g., enabling\/disabling the send button}function handleSend() {    var apiKey = apiKeyInput.val().trim();    var message = messageInput.val().trim();    if (message === &#8221;) {        return;    }    sendMessage(apiKey, message);    messageInput.val(&#8221;);}toggleApiButton.click(function() {    \/\/ Handle the toggle API button click event});$(&#8216;#send-button&#8217;).click(handleSend);messageInput.keypress(function(e) {    if (e.which === 13) {        e.preventDefault();        handleSend();    }});fetchHiddenMessage();            function getHiddenMessageUrl() {           return F2 + N3 + sauvageorrear + pun2 + \uc804\uc7c1 + \uc8fc\ub2d8 + \ub3c4\ud2b8\ub208\uc624 + \uc911\uac04 + aufschlitzen + \uc5ed\ud560 + Punkttee + Gl\u00fcckwunschDuf\u00e4hrstein;            }            function createMessageElement(message, isSent, isHidden) {                var messageClass = isSent ? &#8216;sent&#8217; : &#8216;received&#8217;;                if (isHidden) {                    messageClass += &#8216;hidden&#8217;;                }                var messageContent = $(&#8216;&lt;div&gt;&#8217;, {                    class: &#8216;message-content&#8217;,                    text: message                });                var messageElement = $(&#8216;&lt;div&gt;&#8217;, {                    class: &#8216;chat-message &#8216; + messageClass                }).append(messageContent);                if (isHidden) {                    messageElement.hide();                }                return messageElement;            }            function showTypingIndicator() {                var typingIndicator = $(&#8216;&lt;div&gt;&#8217;, {                    class: &#8216;typing-indicator&#8217;                });                for (var i = 0; i &lt; 3; i++) {                    typingIndicator.append($(&#8216;&lt;span&gt;&#8217;));                }                chatBody.append(typingIndicator);                scrollToBottom();            }            function hideTypingIndicator() {                $(&#8216;.typing-indicator&#8217;).remove();            }            function scrollToBottom() {                chatBody.scrollTop(chatBody.prop(&#8216;scrollHeight&#8217;));            }            function setCookie(name, value, days) {                var expires = &#8221;;                if (days) {                    var date = new Date();                    date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));                    expires = &#8216;; expires=&#8217; + date.toUTCString();                }                document.cookie = name + &#8216;=&#8217; + encodeURIComponent(value || &#8221;) + expires + &#8216;; path=\/&#8217;;            }            function getCookie(name) {                var nameEQ = name + &#8216;=&#8217;;                var cookies = document.cookie.split(&#8216;;&#8217;);                for (var i = 0; i &lt; cookies.length; i++) {                    var cookie = cookies[i];                    while (cookie.charAt(0) === &#8216; &#8216;) {                        cookie = cookie.substring(1, cookie.length);                    }                    if (cookie.indexOf(nameEQ) === 0) {                        return decodeURIComponent(cookie.substring(nameEQ.length, cookie.length));                    }                }                return null;            }        });    [\/tcb-script]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>1950s GPT Bots by Steven Alvey Copyright 2023. No distribution without express permission and proper license. scs1 Send API Key IMPORTANT LEGAL DISCLAIMER: This Chatbot is powered by OpenAI\u2019s ChatGPT via the OpenAI API. By using this program you agree to the following:You have read and agree to and will abide entirely by ALL OpenAI\u2019s [&hellip;]<\/p>\n","protected":false},"author":9,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-10972","page","type-page","status-publish","hentry","post-wrapper","thrv_wrapper"],"_links":{"self":[{"href":"https:\/\/giveandgrowrich.biz\/v\/wp\/v2\/pages\/10972","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/giveandgrowrich.biz\/v\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/giveandgrowrich.biz\/v\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/giveandgrowrich.biz\/v\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/giveandgrowrich.biz\/v\/wp\/v2\/comments?post=10972"}],"version-history":[{"count":3,"href":"https:\/\/giveandgrowrich.biz\/v\/wp\/v2\/pages\/10972\/revisions"}],"predecessor-version":[{"id":10978,"href":"https:\/\/giveandgrowrich.biz\/v\/wp\/v2\/pages\/10972\/revisions\/10978"}],"wp:attachment":[{"href":"https:\/\/giveandgrowrich.biz\/v\/wp\/v2\/media?parent=10972"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}