विकासक

Zinn® Chat क्षमता संदर्भ

Zinn® Chat त्याच्या कृती WordPress Abilities API सह नोंदणी करते. त्याच क्षमता साइटच्या स्वतःच्या सर्व्हरवरील MCP टूल्स आणि /wp-json/wp-abilities/v1 अंतर्गत REST मार्ग आहेत. हे पृष्ठ प्लगइनच्या स्वतःच्या नोंदणीवरून तयार केले गेले आहे.

वापरकर्ता मार्गदर्शक: एक AI ॲप कनेक्ट करा

एंडपॉइंट्स

MCP HTTP वर (स्ट्रिम करण्यायोग्य)

https://example.com/wp-json/zinn-chat/v1/mcp

डब्ल्यूपी-सीएलआय (WP-CLI) द्वारे एमसीपी (MCP) (मानक इनपुट आणि आउटपुट)

wp mcp-adapter serve --server=zinn-chat --user=<login>

REST: क्षमतांची यादी करा

/wp-json/wp-abilities/v1/abilities?category=zinn-chat

REST: क्षमता चालवा

/wp-json/wp-abilities/v1/abilities/<name>/run

प्रमाणक आणि परवानग्या

HTTP विनंत्या WordPress ॲप्लिकेशन पासवर्डसह (HTTP Basic) प्रमाणीकृत होतात. MCP सर्व्हरशी कनेक्ट होण्यासाठी खाली दर्शविलेली क्षमता आवश्यक आहे; त्यानंतर प्रत्येक क्षमता प्रति ऑब्जेक्ट, स्वतःची परवानगी तपासते. रीड-ऑलवाय क्षमता GET सह आणि त्यांची इनपुट क्वेरी स्ट्रिंगमध्ये चालतात; इतर क्षमता POST आणि JSON बॉडी {"input": {…}} सह चालतात.

उदाहरणे

# REST: क्षमता चालवा
curl -u your-username:your-application-password \
  "https://example.com/wp-json/wp-abilities/v1/abilities/zinn-chat/get-overview/run"
# MCP (JSON-RPC over HTTP, after "initialize")
{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"zinn-chat-get-overview","arguments":{}}}

सर्व क्षमता

प्लगइनच्या abilities.json मधून जनरेट केलेले, जे स्वतः एका सुरु असलेल्या साइटवरून जनरेट केलेले असते; जेव्हा हे दोन्ही जुळत नाहीत तेव्हा चाचणी अयशस्वी होते.

क्षमताहे काय करतेआवृत्तीRESTपरवानगीपॅरामीटर्स
zinn-chat/answer-ticket
zinn-chat-answer-ticket
तिकीट तपासा
ईमेलद्वारे ग्राहकाला प्रतिसाद पाठवतो (मजकूर), किंवा अंतर्गत टीप जोडतो (note: true); स्थिती पर्याय टिकिटाची स्थिती बदलतो.
मोफत आवृत्तीPOST …/abilities/zinn-chat/answer-ticket/runthe REST route's own per-item permission checkid: string (आवश्यक)
zinn-chat/ask-assistant
zinn-chat-ask-assistant
सहाय्यकाला विचारा
साइटच्या एआय असिस्टंटला प्रश्न विचारतो आणि त्याला सापडलेल्या प्रत्येक स्रोतासह त्याचे उत्तर परत करतो.
मोफत आवृत्तीPOST …/abilities/zinn-chat/ask-assistant/runthe REST route's own per-item permission checkकाहीही नाही
zinn-chat/bulk-update-tickets
zinn-chat-bulk-update-tickets
एकाच वेळी अनेक तिकिटे बदला (Pro)
एकसाथ १०० पर्यंत तिकीट (आयडी) ची स्थिती, प्राधान्य किंवा नेमणूक बदलतो. प्रत्येक तिकीट वैयक्तिकरित्या बदलण्यासारख्याच तपासण्यांमधून जाते; निकाल प्रत्येकाची यादी देतो.
प्रो आवृत्तीPOST …/abilities/zinn-chat/bulk-update-tickets/runzinn_chat_answerids: array (आवश्यक), status: open|pending|solved|closed, priority: low|normal|high|urgent, assignee_id: integer
zinn-chat/chat-to-ticket
zinn-chat-chat-to-ticket
चॅटचे तिकीट मध्ये रूपांतर करा
चॅटमधून तिकीट उघडते जेणेकरून त्याचे उत्तर ईमेलद्वारे देता येईल (अभ्यागतचा ईमेल पत्ता आवश्यक आहे).
मोफत आवृत्तीPOST …/abilities/zinn-chat/chat-to-ticket/runthe REST route's own per-item permission checkid: string (आवश्यक)
zinn-chat/close-chat
zinn-chat-close-chat
चॅट बंद करा
चॅट समाप्त करते; अभ्यागत अद्याप ट्रान्सक्रिप्टसाठी विचारणा करू शकतो.
मोफत आवृत्तीPOST …/abilities/zinn-chat/close-chat/runthe REST route's own per-item permission checkid: string (आवश्यक)
zinn-chat/create-ticket
zinn-chat-create-ticket
तिकीट उघडा
ग्राहकाच्या वतीने तिकीट उघडते (त्यांचा ई-मेल, विषय आणि पहिला संदेश).
मोफत आवृत्तीPOST …/abilities/zinn-chat/create-ticket/runthe REST route's own per-item permission checkकाहीही नाही
zinn-chat/delete-canned-reply
zinn-chat-delete-canned-reply
जतन केलेले उत्तर हटवा (प्रो)
जतन केलेले उत्तर डिलीट करते.
प्रो आवृत्तीPOST …/abilities/zinn-chat/delete-canned-reply/runthe REST route's own per-item permission checkid: string (आवश्यक)
zinn-chat/delete-ticket
zinn-chat-delete-ticket
तिकीट हटवा
एक तिकीट आणि त्याचे संभाषण कायमचे हटवते (फक्त व्यवस्थापक).
मोफत आवृत्तीPOST …/abilities/zinn-chat/delete-ticket/runthe REST route's own per-item permission checkid: string (आवश्यक)
zinn-chat/draft-kb-article
zinn-chat-draft-kb-article
तिकिटावरून मदत लेख तयार करा (प्रो)
सोडवलेल्या तिकीटवरून ज्ञान-तळाचा (नॉलेज-बेस) एक मसुदा लेख तयार करते; जोपर्यंत एखादी व्यक्ती तो प्रकाशित करत नाही, तोपर्यंत तो मसुदाच राहतो.
प्रो आवृत्तीPOST …/abilities/zinn-chat/draft-kb-article/runedit_posts (the REST route's own check)काहीही नाही
zinn-chat/draft-kb-from-gaps
zinn-chat-draft-kb-from-gaps
न उत्तर दिलेल्या प्रश्नांसाठी मदत लेख मसुदा तयार करा (प्रो)
निवडलेल्या प्रश्नांची (ids) उत्तरे देणारे ज्ञान-तळाचे (knowledge-base) मसुदा लेख तयार करते; ते मसुदे तसेच राहतात.
प्रो आवृत्तीPOST …/abilities/zinn-chat/draft-kb-from-gaps/runedit_posts (the REST route's own check)काहीही नाही
zinn-chat/fill-canned-reply
zinn-chat-fill-canned-reply
जतन केलेले उत्तर भरा (प्रो)
एका चॅट किंवा तिकीटसाठी स्थानधारक भरलेले असलेल्या सेव्ह केलेल्या रिप्लायचा मजकूर परत करतो.
प्रो आवृत्तीPOST …/abilities/zinn-chat/fill-canned-reply/runthe REST route's own per-item permission checkid: string (आवश्यक)
zinn-chat/get-chat
zinn-chat-get-chat
चॅट वाचा
एक चॅटचे संदेश आणि अभ्यागत तपशील परत करते (नंतर: या आयडीपेक्षा नवीन असलेले केवळ संदेश).
मोफत आवृत्तीGET …/abilities/zinn-chat/get-chat/runthe REST route's own per-item permission checkid: string (आवश्यक)
zinn-chat/get-overview
zinn-chat-get-overview
सपोर्टचे विहंगावलोकन वाचा
प्रत्येक स्थितीमध्ये किती तिकीट आहेत, किती चॅट व्यक्तीच्या प्रतीक्षेत आहेत (आणि त्यांचे न वाचलेले संदेश) तसेच चॅट, असिस्टंट आणि तिकीट सुरू आहेत का हे परत करते.
मोफत आवृत्तीGET …/abilities/zinn-chat/get-overview/runzinn_chat_answerकाहीही नाही
zinn-chat/get-settings
zinn-chat-get-settings
चॅट सेटिंग्ज वाचा
प्रत्येक चॅट सेटिंग परत करते: विजेट, सहाय्यक, व्यक्ती आणि उघडण्याच्या वेळा, तिकिटे आणि ईमेल, साइट निर्देशांक, गोपनीयता आणि स्पॅम.
मोफत आवृत्तीGET …/abilities/zinn-chat/get-settings/runzinn_chat_manageकाहीही नाही
zinn-chat/get-stats
zinn-chat-get-stats
सपोर्ट आकडेवारी वाचा (प्रो)
गेल्या N दिवसांमधील (दिवस) चॅट आणि तिकीट क्रमांक, प्रतिसाद वेळा आणि रेटिंग परत करते.
प्रो आवृत्तीGET …/abilities/zinn-chat/get-stats/runthe REST route's own per-item permission checkकाहीही नाही
zinn-chat/get-ticket
zinn-chat-get-ticket
तिकीट वाचा
एक तिकीट त्याच्या संपूर्ण संभाषणासह, स्थितीसह, प्राधान्यक्रमासह आणि नियुक्त व्यक्तीसह परत करते.
मोफत आवृत्तीGET …/abilities/zinn-chat/get-ticket/runthe REST route's own per-item permission checkid: string (आवश्यक)
zinn-chat/hand-chat-to-assistant
zinn-chat-hand-chat-to-assistant
चॅट पुन्हा असिस्टंटकडे हस्तांतरित करा
एआय असिस्टंटला चॅट परत करते, जो साइटच्या मजकुरावरून अभ्यागतला उत्तर देतो.
मोफत आवृत्तीPOST …/abilities/zinn-chat/hand-chat-to-assistant/runthe REST route's own per-item permission checkid: string (आवश्यक)
zinn-chat/list-canned-replies
zinn-chat-list-canned-replies
जतन केलेली उत्तरे सूचीबद्ध करा (प्रो)
एजंट समाविष्ट करू शकतील अशी जतन केलेली उत्तरे, त्यांच्या शॉर्टकटसह सूचीबद्ध करते.
प्रो आवृत्तीGET …/abilities/zinn-chat/list-canned-replies/runthe REST route's own per-item permission checkकाहीही नाही
zinn-chat/list-chats
zinn-chat-list-chats
थेट चॅट सूची पहा
प्रतिक्षा करत असलेले, सुरू असलेले आणि अलीकडेच बंद केलेले चॅट्स, प्रत्येक चॅट कोण हाताळत आहे यासह सूचीबद्ध करते.
मोफत आवृत्तीGET …/abilities/zinn-chat/list-chats/runthe REST route's own per-item permission checkकाहीही नाही
zinn-chat/list-indexed-content
zinn-chat-list-indexed-content
सहाय्यकाला काय माहीत आहे याची यादी करा
सहाय्यक ज्या सामग्रीवरून उत्तर देतो तिची यादी, तिच्या अनुक्रमणिका स्थितीसह, एका वेळी एक पृष्ठ प्रदर्शित करते.
मोफत आवृत्तीGET …/abilities/zinn-chat/list-indexed-content/runthe REST route's own per-item permission checkकाहीही नाही
zinn-chat/list-kb-gaps
zinn-chat-list-kb-gaps
न उत्तर दिलेले प्रश्न सूचीबद्ध करा (प्रो)
ज्ञान भांडार ज्या प्रश्नांची उत्तरे देऊ शकले नाही, असे अभ्यागतांनी विचारलेले प्रश्न सूचीबद्ध करते.
प्रो आवृत्तीGET …/abilities/zinn-chat/list-kb-gaps/runthe REST route's own per-item permission checkकाहीही नाही
zinn-chat/list-tickets
zinn-chat-list-tickets
तिकीट सूची
स्थिती किंवा शोधाद्वारे फिल्टर केलेल्या सपोर्ट तिकीटची यादी एका वेळी एक पृष्ठ दाखवते.
मोफत आवृत्तीGET …/abilities/zinn-chat/list-tickets/runthe REST route's own per-item permission checkकाहीही नाही
zinn-chat/reembed-content
zinn-chat-reembed-content
सहाय्यकाचा शोध निर्देशांक पुन्हा तयार करा
एका आयटमसाठी (item_id) किंवा सर्वकाही (all: true) साठी शोध व्हॅक्टर पुनर्निर्माण करते (फक्त व्यवस्थापक).
मोफत आवृत्तीPOST …/abilities/zinn-chat/reembed-content/runthe REST route's own per-item permission checkकाहीही नाही
zinn-chat/reindex-content
zinn-chat-reindex-content
सामग्री सहाय्यकामध्ये पुन्हा वाचा
सहायकाच्या इंडेक्समध्ये एक आयटम (item_id) किंवा सर्व काही (all: true) पुन्हा वाचते (फक्त व्यवस्थापक).
मोफत आवृत्तीPOST …/abilities/zinn-chat/reindex-content/runthe REST route's own per-item permission checkकाहीही नाही
zinn-chat/reply-chat
zinn-chat-reply-chat
चॅटमध्ये उत्तर द्या
अभ्यागतला एक संदेश (मजकूर) पाठवतो किंवा केवळ एजंटना दिसणारी अंतर्गत नोंद जोडतो (note: true).
मोफत आवृत्तीPOST …/abilities/zinn-chat/reply-chat/runthe REST route's own per-item permission checkid: string (आवश्यक)
zinn-chat/save-canned-reply
zinn-chat-save-canned-reply
जतन केलेले उत्तर सेव्ह करा (प्रो)
जतन केलेले उत्तर तयार करते किंवा बदलते (शीर्षक, शॉर्टकट, मुख्य भाग, विभाग; एक बदलण्यासाठी आयडी).
प्रो आवृत्तीPOST …/abilities/zinn-chat/save-canned-reply/runthe REST route's own per-item permission checkकाहीही नाही
zinn-chat/save-kb-article
zinn-chat-save-kb-article
एक मदत लेख लिहा (प्रो)
ज्ञान-तळ लेख तयार करते, किंवा एखादा बदलते (id): शीर्षक, मजकूर, सारांश, श्रेणी आणि स्थिती (मसुदा, किंवा आपणप्रकाशित करू शकता तेव्हा प्रकाशित करा).
प्रो आवृत्तीPOST …/abilities/zinn-chat/save-kb-article/runedit_postsid: integer, title: string, content: string, excerpt: string, categories: array, status: draft|publish
zinn-chat/search-kb
zinn-chat-search-kb
ज्ञान आधार शोधा (प्रो)
उत्तरामध्‍ये लिंक करण्‍यासाठी मदत लेख शोधते (q: शोध).
प्रो आवृत्तीGET …/abilities/zinn-chat/search-kb/runthe REST route's own per-item permission checkकाहीही नाही
zinn-chat/set-conversation-details
zinn-chat-set-conversation-details
संभाषणाचा विभाग आणि टॅग्ज सेट करा (Pro)
चॅट किंवा तिकीटचे विभाग आणि टॅग्ज सेट करते (प्रकार: चॅट किंवा तिकीट; आयडी).
प्रो आवृत्तीPOST …/abilities/zinn-chat/set-conversation-details/runthe REST route's own per-item permission checkकाहीही नाही
zinn-chat/set-kb-gap-status
zinn-chat-set-kb-gap-status
न उत्तर दिलेले प्रश्न चिन्हांकित करा (प्रो)
न उत्तर दिलेले प्रश्न उघडे, नियोजित किंवा फेटाळलेले म्हणून चिन्हांकित करते (आयडी, स्थिती).
प्रो आवृत्तीPOST …/abilities/zinn-chat/set-kb-gap-status/runthe REST route's own per-item permission checkकाहीही नाही
zinn-chat/set-presence
zinn-chat-set-presence
तुमची उपलब्धता सेट करा
नवीन चॅट्ससाठी साइन-इन केलेल्या एजंटला उपलब्ध किंवा अनुपस्थित म्हणून चिन्हांकित करते (away: true किंवा false).
मोफत आवृत्तीPOST …/abilities/zinn-chat/set-presence/runthe REST route's own per-item permission checkकाहीही नाही
zinn-chat/suggest-reply
zinn-chat-suggest-reply
AI सह उत्तर मसुदा तयार करा (प्रो)
साइटवरील सामग्रीमधून चॅट किंवा तिकीटला उत्तर तयार केले जाते; काहीही पाठवले जात नाही.
प्रो आवृत्तीPOST …/abilities/zinn-chat/suggest-reply/runthe REST route's own per-item permission checkकाहीही नाही
zinn-chat/summarise-conversation
zinn-chat-summarise-conversation
एआय (प्रो) सह संभाषणाचा सारांश द्या
काही ओळींमध्ये चॅट किंवा तिकीट थोडक्यात सांगते.
प्रो आवृत्तीPOST …/abilities/zinn-chat/summarise-conversation/runthe REST route's own per-item permission checkकाहीही नाही
zinn-chat/take-chat
zinn-chat-take-chat
चॅट करा
साइन-इन केलेल्या एजंटला प्रतीक्षेत असलेली चॅट नियुक्त करतो, जेणेकरून व्हिजिटर एखाद्या व्यक्तीशी बोलू शकेल.
मोफत आवृत्तीPOST …/abilities/zinn-chat/take-chat/runthe REST route's own per-item permission checkid: string (आवश्यक)
zinn-chat/update-settings
zinn-chat-update-settings
चॅट सेटिंग्ज बदला
तुम्ही पाठवलेली सेटिंग्ज बदलतो (सेटिंग्ज: की ते व्हॅल्यू) आणि उर्वरित कायम ठेवतो. प्रत्येक व्हॅल्यू सेटिंग्ज स्क्रीनवर जशी आहे तशीच तपासली जाते; get-settings की सूची दाखवते.
मोफत आवृत्तीPOST …/abilities/zinn-chat/update-settings/runzinn_chat_managesettings: object (आवश्यक)
zinn-chat/update-ticket
zinn-chat-update-ticket
तिकीट बदला
तिकीटची स्थिती, प्राधान्य किंवा नियुक्त व्यक्ती बदलते.
मोफत आवृत्तीPOST …/abilities/zinn-chat/update-ticket/runthe REST route's own per-item permission checkid: string (आवश्यक)