[WordPress] 外掛分享: Simple AI Chat Embed

首頁外掛目錄 › Simple AI Chat Embed
10+
安裝啟用
尚無評分
329 天前
最後更新
問題解決
WordPress 6.0+ PHP 7.4+ v1.0.2 上架:2025-04-23

內容簡介

**總結:**
Simple AI Chat Embed 提供一個靈活方式將互動式人工智慧聊天功能添加到您的文章、頁面或小工具區域。只需配置一次 API 金鑰,選擇所需的模型,並使用您喜歡的方法嵌入聊天。

**問題與答案:**
1. 這個外掛的功能是什麼?
- 提供了將互動式人工智慧聊天功能添加到文章、頁面或小工具區域的靈活方式。

2. 這個外掛支援哪些人工智慧供應商?
- 支援 OpenAI(GPT 模型)、Anthropic(Claude 模型)、Google(Gemini 模型)。

3. 如何設置外掛的 API 金鑰?
- 前往 WordPress 管理區的 Settings > AI Chat Embed。
- 在 API 金鑰設置中,輸入您想要使用的服務的 API 金鑰。
- 對於不打算使用的服務,請留空。

4. 如何在文章或頁面中使用 Gutenberg Block?
- 在 Gutenberg 編輯器中編輯文章或頁面。
- 新增一個區塊,並搜索“AI Chat Embed”。
- 選擇區塊進行插入。
- 在區塊側欄(Inspector Controls)中,您可以覆蓋預設的特定人工智慧模型,並輸入初始系統提示。
- 儲存文章或頁面。

5. 如何在文章或頁面中使用 Shortcode?
- 在任何文章、頁面或文字小工具中插入以下 shortcode:[simple_ai_chat_embed]。
- 這將使用在外掛設定中配置的預設模型、提示和聊天機器人名稱。
- 您可以使用以下屬性覆蓋預設值。

6. 如何在使用 Elementor Widget 中編輯頁面或模板?
- 使用 Elementor 編輯頁面或模板。
- 在小工具面板中搜索“AI Chat Embed”。
- 將小工具拖放到您想要的區段/欄位中。
- 在小工具設置(Content tab)中,您可以覆蓋預設值。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.2) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Simple AI Chat Embed」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Simple AI Chat Embed provides a flexible way to add interactive AI chat functionality to your posts, pages, or widget areas. Configure API keys once, select your desired model, and embed the chat using your preferred method.
Features:

Supports multiple AI providers: OpenAI (GPT models), Anthropic (Claude models), Google (Gemini models).
Embed via Gutenberg Block, Shortcode, or Elementor Widget.
Global settings page for API Keys and default model/prompt.
Override default model and initial system prompt per instance (Block/Elementor).
Secure AJAX handling for chat interactions.

Configuration
Go to Settings > AI Chat Embed in your WordPress admin area.

API Key Settings: Enter the API keys for the services you wish to use (OpenAI, Anthropic, Google). Leave blank any services you don’t plan to use.
Default Chat Settings:

Default AI Model: Select the AI model to be used by default for new chat instances.
Default Initial Prompt: Enter an optional system prompt that will be prepended to user messages by default.

Click Save Settings.

Usage
Gutenberg Block

Edit a post or page using the Gutenberg editor.
Add a new block and search for “AI Chat Embed”.
Select the block to insert it.
In the block sidebar (Inspector Controls), you can:

Select a specific AI Model to override the default.
Enter an Initial System Prompt to override the default.

Save the post/page.

Shortcode
Insert the following shortcode into any post, page, or text widget:
[simple_ai_chat_embed]

This will use the default model, prompt, and chatbot name configured in the plugin settings.
You can override the defaults using the following attributes:

model: Specify the AI model ID to use (e.g., gpt-4, claude-3-opus-20240229).
prompt: Provide a custom initial system prompt.
name: Set a custom name for the chatbot.

Example:
[simple_ai_chat_embed model=”gpt-4-turbo” prompt=”You are a helpful assistant.” name=”Support Bot”]
Elementor Widget

Edit a page or template using Elementor.
In the widgets panel, search for “AI Chat Embed”.
Drag the widget into your desired section/column.
In the widget settings (Content tab):

Select a specific AI Model to override the default.
Enter an Initial System Prompt to override the default.

Save the page/template.

延伸相關外掛

文章
Filter
Mastodon