Jump to content

Extension:AI编辑助理

本頁使用了標題或全文手工轉換
From mediawiki.org
This page is a translated version of the page Extension:AIEditingAssistant and the translation is 64% complete.
MediaWiki扩展手册
AIEditingAssistant
发行状态: 稳定版
实现 Artificial intelligence
描述 提供用户使用人工智慧進行編輯。
作者 Hallo Welt! GmbH
维护者 Hallo Welt! GmbH
最新版本 -
兼容性政策 对于每个有长期支持的MediaWiki发行版本,扩展内都有对应的分支。
MediaWiki 1.43 (LTS)
  • $wgAIEditingAssistantActiveProviderConnection
  • $wgAIEditingAssistantActiveProvider
许可证 GNU General Public License 3.0 only
下載
前往translatewiki.net翻譯AIEditingAssistant扩展
 Community Forum

AIEditingAssistant 擴充功能提供了一個AI工具,其透過VisualEditorPlus VisualEditor 整合。 AI助理會根據預先定義的提示,對突出顯示的文字提出改進建議。

能力

  • Make text longer
  • Make text shorter
  • Summarize content
  • Improve writing
  • Fix grammar and spelling
  • Simplify language
    • The AI assistant suggests a replacement based on the selected prompt.
    • Follow-up prompts (for example, after initially prompting to "fix grammer and spelling") technically also allow text translation.

基础配置

First, install the extension.

配置一個活躍的提供商(在AIEditingAssistantProviders属性值中的其中一个选项) 目前公認的值是open-aiollama

$wgAIEditingAssistantActiveProvider = 'open-ai';

針對所选的提供商配置连接的参数。 如果是OpenAI,请设置密钥:

$wgAIEditingAssistantActiveProviderConnection = 'sk-...';

用法/特性

  • 此功能需要人工智慧服務提供者。
  • 在設定了提供者之後,VisualEditorPlus 檢查器彈出AI操作將連接到該服務。


Installation

{
	"repositories": [
		{
			"type": "vcs",
			"url": "https://github.com/wikimedia/mediawiki-extensions-AIEditingAssistant/zh.git"
		}
	],
	"require": {
		"mediawiki/AIEditingAssistant/zh": "dev-REL1_43"
	}
}
  • Run the following command in your MediaWiki installation path
composer update --no-dev
wfLoadExtension( 'AIEditingAssistant/zh' );
  • Yes 完成 Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
Bluespice图标

此扩展原本是为BlueSpice 而做的。 BlueSpice是一个用于商业和组织的MediaWiki再分发版本。 它提高了MediaWiki,特别是在地区质量管理、处理支持、管理上,编辑和安全。 您可以單獨下載此扩展。

BlueSpice: