內容簡介
總結:這款外掛適合對在其WordPress網站上進行生成式人工智慧(GenAI)有興趣的任何人。它提供了一種連接到第三方人工智慧提供者並提交請求的方式,其中包括使用者對該特定提供者的API金鑰。
問題與答案:
1. 這款外掛適合對什麼有興趣的人使用?
- 這款外掛適合對在其WordPress網站上進行生成式人工智慧(GenAI)有興趣的任何人使用。
2. 這款外掛提供什麼功能?
- 這款外掛提供了一種連接到第三方人工智慧提供者並提交請求的方式,其中包括使用者對該特定提供者的API金鑰。
3. 外掛的開發初期的目標是什麼?
- 外掛的開發初期的目標是建立基本功能:連接到AI API、提交提示並接收、儲存和使用響應。
4. 外掛目前接受什麼輸入並接收什麼響應?
- 外掛目前接受文字輸入並接收文字響應,並可選擇將其保存為WordPress中的草稿頁面。
5. 使用者可以如何處理回應後的頁面?
- 使用者可以編輯該頁面,必要時進行修改,並在幾分鐘內將其發布。
6. 每當成功接收到回應時,外掛會執行什麼操作?
- 每當成功接收到回應時,外掛會發布一個"entgenai_completion_response"動作,其中包含AI提供者的名稱、提交的提示和接收到的響應的文本內容。
7. 外掛新增了一個什麼功能,其他外掛可以利用?
- 外掛新增了一個鉤子(hook)(entgenai_generation_request),其他外掛可以利用這個功能向外掛提交完成請求(生成文字請求)。
8. 這款外掛未來能夠讓用戶建立什麼樣的功能?
- 這款外掛未來將會成為我們所稱之為"EntGenAi for applications"的一部分,這將允許在未來版本中建立複雜的AI驅動工作流程。
外掛標籤
開發者團隊
原文外掛簡介
This Plugin is for anyone interested in doing Generative AI (GenAI) right within their WordPress website. It provides a way to connect to a 3rd party AI Provider, and submit requests, together with the user’s API key for that particular provider.
Code for this Plugin was originally created for our EV-Crosswords plugin, but extracted and modified to have a “life of its own”, as generative AI is useful and trending, and the blend between the power of WordPress as a CMS, and genAI can lead to many interesting applications, and potentially to quite a bit of innovation.
This is an early stage of this Plugin, to have the basics in place: the ability to connect to an AI API and submit prompts and receive, store and use the response in your own pages.
At the moment, it accepts text input and receives text responses, which are shown to the user, with an option to save them, as a WordPress page in draft.
The user can then edit that page, modified if necessary, and publish it, all within a couple of minutes.
Additionally, everytime a successful response is received, the plugin publishes a ‘entgenai_completion_response’ action, with arguments, which contains the name of the AI Provider, the prompt submitted and the text content of the response received.
Lastly, a hook has been added (entgenai_generation_request), which other plugins can use to submit a completion request (generative text request) to this plugin.
Those two hooks, set the basis for other plugins or themes to hook into this plugin’s functionality.
This will be part of what we will refer to as EntGenAi for applications, which will allow in future versions to build complex AI driven workflows.
Read carefully the FAQ section below, for additional information, and to understand how your data is used as part of the regular functionality of this Plugin.
Development
Development happens in Github:
entgenai
