{"id":4840,"date":"2023-02-16T21:07:19","date_gmt":"2023-02-16T21:07:19","guid":{"rendered":"https:\/\/blog.ultramsg.com\/how-make-whatsapp-chatbot-with-chatgpt\/"},"modified":"2023-02-16T21:07:19","modified_gmt":"2023-02-16T21:07:19","slug":"how-make-whatsapp-chatbot-with-chatgpt","status":"publish","type":"post","link":"https:\/\/blog.ultramsg.com\/hi\/how-make-whatsapp-chatbot-with-chatgpt\/","title":{"rendered":"\u091a\u0948\u091f\u091c\u0940\u092a\u0940\u091f\u0940 \u0915\u0947 \u0938\u093e\u0925 \u0935\u094d\u0939\u093e\u091f\u094d\u0938\u090f\u092a \u091a\u0948\u091f\u092c\u0949\u091f"},"content":{"rendered":"\n<p><\/p>\n\n<p>\u091a\u0948\u091f\u092c\u0949\u091f \u092c\u0928\u093e\u0928\u093e \u090f\u0915 \u092e\u091c\u0947\u0926\u093e\u0930 \u0914\u0930 \u092b\u093e\u092f\u0926\u0947\u092e\u0902\u0926 \u092a\u094d\u0930\u094b\u091c\u0947\u0915\u094d\u091f \u0939\u094b \u0938\u0915\u0924\u093e \u0939\u0948\u0964 \u0907\u0938 \u0917\u093e\u0907\u0921 \u092e\u0947\u0902, \u0939\u092e \u0906\u092a\u0915\u094b OpenAI \u0914\u0930 Ultramsg \u0915\u093e \u0909\u092a\u092f\u094b\u0917 \u0915\u0930\u0915\u0947 \u0935\u094d\u0939\u093e\u091f\u094d\u0938\u090f\u092a \u0915\u0947 \u0932\u093f\u090f \u091a\u0948\u091f\u092c\u0949\u091f \u092c\u0928\u093e\u0928\u0947 \u0915\u0940 \u092a\u094d\u0930\u0915\u094d\u0930\u093f\u092f\u093e \u0915\u0947 \u092c\u093e\u0930\u0947 \u092e\u0947\u0902 \u092c\u0924\u093e\u090f\u0902\u0917\u0947\u0964<\/p>\n\n<h2 class=\"wp-block-heading\">\u091a\u0930\u0923 1: OpenAI API \u0915\u0941\u0902\u091c\u0940 \u092a\u094d\u0930\u093e\u092a\u094d\u0924 \u0915\u0930\u0947\u0902<\/h2>\n\n<p>OpenAI API \u0915\u0947 \u0932\u093f\u090f API \u0915\u0941\u0902\u091c\u0940 \u092a\u094d\u0930\u093e\u092a\u094d\u0924 \u0915\u0930\u0928\u0947 \u0915\u0947 \u0932\u093f\u090f, \u0906\u092a\u0915\u094b OpenAI \u0935\u0947\u092c\u0938\u093e\u0907\u091f ( <a href=\"https:\/\/openai.com\/\" rel=\"nofollow noopener\" target=\"_blank\">https:\/\/openai.com\/<\/a> ) \u092a\u0930 \u0928\u093f\u0903\u0936\u0941\u0932\u094d\u0915 OpenAI \u0916\u093e\u0924\u0947 \u0915\u0947 \u0932\u093f\u090f \u0938\u093e\u0907\u0928 \u0905\u092a \u0915\u0930\u0928\u093e \u0939\u094b\u0917\u093e:<\/p>\n\n<p>\u0916\u093e\u0924\u093e \u0916\u094b\u0932\u0928\u0947 \u0915\u0947 \u092c\u093e\u0926 ( <a href=\"https:\/\/beta.openai.com\/account\/api-keys\" rel=\"nofollow noopener\" target=\"_blank\">https:\/\/beta.openai.com\/account\/api-keys<\/a> ) \u092a\u0930 \u091c\u093e\u090f\u0902 \u0914\u0930 &#8220;\u092a\u0930 \u0915\u094d\u0932\u093f\u0915 \u0915\u0930\u0947\u0902&#8221;<code>Create new secret Key<\/code> &#8220;\u092c\u091f\u0928, \u0907\u0938\u0947 \u091a\u0930\u0923 2 \u092e\u0947\u0902 \u092c\u093e\u0926 \u092e\u0947\u0902 \u0909\u092a\u092f\u094b\u0917 \u0915\u0947 \u0932\u093f\u090f \u0938\u0939\u0947\u091c\u0947\u0902\u0964<\/p>\n\n<p><\/p>\n\n<h2 class=\"wp-block-heading\">\u091a\u0930\u0923 2: \u0935\u0947\u092c\u0939\u0941\u0915 \u0915\u094b Ultramsg \u092e\u0947\u0902 \u0938\u0915\u094d\u0930\u093f\u092f \u0914\u0930 \u0938\u0947\u091f \u0915\u0930\u0947\u0902<\/h2>\n\n<p>\u0906\u092a\u0915\u094b \u0938\u0915\u094d\u0937\u092e \u0915\u0930\u0928\u0947 \u0915\u0940 \u0906\u0935\u0936\u094d\u092f\u0915\u0924\u093e \u0939\u0948<code>Webhook on Received<\/code> \u0935\u093f\u0915\u0932\u094d\u092a \u0914\u0930 \u0928\u093f\u092e\u094d\u0928 \u0932\u093f\u0902\u0915 \u0915\u094b Ultramsg \u092e\u0947\u0902 \u0935\u0947\u092c\u0939\u0941\u0915 URL \u092e\u0947\u0902 \u0930\u0916\u0947\u0902\u0964 <\/p>\n\n<pre class=\"wp-block-preformatted\">https:\/\/integration.ultramsg.com\/chatgpt\/?instance_id=xxxxxx&amp;token=xxxxxx&amp;gpt_api_key=xxxxxx<\/pre>\n\n<p>\u092e\u093e\u092a\u0926\u0902\u0921\u094b\u0902 \u0915\u094b \u092c\u0926\u0932\u0928\u093e \u0928 \u092d\u0942\u0932\u0947\u0902<code><strong>instance_id <\/strong>&amp;<strong> token <\/strong>&amp;<strong> gpt_api_key<\/strong><\/code> .<\/p>\n\n<p><strong><code>instance_id<\/code><\/strong> = Ultramsg \u092e\u0947\u0902 \u0906\u092a\u0915\u0940 \u0907\u0902\u0938\u094d\u091f\u0947\u0902\u0938 \u0906\u0908\u0921\u0940 \u091c\u0948\u0938\u0947 \u0915\u093f <strong>inst950<\/strong> \u0964<\/p>\n\n<p><strong><code>token<\/code><\/strong> = Ultramsg \u092e\u0947\u0902 \u0906\u092a\u0915\u0947 \u0909\u0926\u093e\u0939\u0930\u0923 \u0915\u0947 \u0932\u093f\u090f \u091f\u094b\u0915\u0928\u0964<\/p>\n\n<p><strong><code>gpt_api_key<\/code><\/strong> = GPT API-KEY \u0906\u092a\u0915\u094b \u092a\u0939\u0932\u0947 \u091a\u0930\u0923 \u092e\u0947\u0902 Openai \u0938\u0947 \u092e\u093f\u0932\u0940 \u0925\u0940\u0964<\/p>\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"747\" src=\"https:\/\/blog.ultramsg.com\/wp-content\/uploads\/2023\/01\/image-1-1024x747.png\" alt=\"\" class=\"wp-image-4726\" title=\"\" srcset=\"https:\/\/blog.ultramsg.com\/wp-content\/uploads\/2023\/01\/image-1-1024x747.png 1024w, https:\/\/blog.ultramsg.com\/wp-content\/uploads\/2023\/01\/image-1-300x219.png 300w, https:\/\/blog.ultramsg.com\/wp-content\/uploads\/2023\/01\/image-1-768x561.png 768w, https:\/\/blog.ultramsg.com\/wp-content\/uploads\/2023\/01\/image-1.png 1370w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure><\/div>\n<p><\/p>\n\n<p>\u092c\u0927\u093e\u0908 \u0939\u094b, \u092c\u0938\u0964 \u0905\u092c \u0906\u092a \u0905\u092a\u0928\u0947 \u0909\u0926\u093e\u0939\u0930\u0923 \u0938\u0947 \u091c\u0941\u0921\u093c\u0947 \u0935\u094d\u0939\u093e\u091f\u094d\u0938\u090f\u092a \u0928\u0902\u092c\u0930 \u0938\u0947 \u092c\u093e\u0924\u091a\u0940\u0924 \u0915\u0930 \u0938\u0915\u0924\u0947 \u0939\u0948\u0902\u0964<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u091a\u0948\u091f\u092c\u0949\u091f \u092c\u0928\u093e\u0928\u093e \u090f\u0915 \u092e\u091c\u0947\u0926\u093e\u0930 \u0914\u0930 \u092b\u093e\u092f\u0926\u0947\u092e\u0902\u0926 \u092a\u094d\u0930\u094b\u091c\u0947\u0915\u094d\u091f \u0939\u094b \u0938\u0915\u0924\u093e \u0939\u0948\u0964 \u0907\u0938 \u0917\u093e\u0907\u0921 \u092e\u0947\u0902, \u0939\u092e \u0906\u092a\u0915\u094b &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"\u091a\u0948\u091f\u091c\u0940\u092a\u0940\u091f\u0940 \u0915\u0947 \u0938\u093e\u0925 \u0935\u094d\u0939\u093e\u091f\u094d\u0938\u090f\u092a \u091a\u0948\u091f\u092c\u0949\u091f\" class=\"read-more button\" href=\"https:\/\/blog.ultramsg.com\/hi\/how-make-whatsapp-chatbot-with-chatgpt\/#more-4840\" aria-label=\"Read more about \u091a\u0948\u091f\u091c\u0940\u092a\u0940\u091f\u0940 \u0915\u0947 \u0938\u093e\u0925 \u0935\u094d\u0939\u093e\u091f\u094d\u0938\u090f\u092a \u091a\u0948\u091f\u092c\u0949\u091f\">Read More<\/a><\/p>\n","protected":false},"author":1,"featured_media":4739,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[186],"tags":[189],"class_list":["post-4840","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-186","tag-189","infinite-scroll-item","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-25","no-featured-image-padding"],"_links":{"self":[{"href":"https:\/\/blog.ultramsg.com\/hi\/wp-json\/wp\/v2\/posts\/4840","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.ultramsg.com\/hi\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.ultramsg.com\/hi\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.ultramsg.com\/hi\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.ultramsg.com\/hi\/wp-json\/wp\/v2\/comments?post=4840"}],"version-history":[{"count":1,"href":"https:\/\/blog.ultramsg.com\/hi\/wp-json\/wp\/v2\/posts\/4840\/revisions"}],"predecessor-version":[{"id":4841,"href":"https:\/\/blog.ultramsg.com\/hi\/wp-json\/wp\/v2\/posts\/4840\/revisions\/4841"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.ultramsg.com\/hi\/wp-json\/wp\/v2\/media\/4739"}],"wp:attachment":[{"href":"https:\/\/blog.ultramsg.com\/hi\/wp-json\/wp\/v2\/media?parent=4840"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.ultramsg.com\/hi\/wp-json\/wp\/v2\/categories?post=4840"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.ultramsg.com\/hi\/wp-json\/wp\/v2\/tags?post=4840"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}