This repository was archived by the owner on Oct 5, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathextension.json
More file actions
114 lines (114 loc) · 2.77 KB
/
extension.json
File metadata and controls
114 lines (114 loc) · 2.77 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
{
"name": "Wanda",
"namemsg": "wanda-name",
"version": "1.0.0",
"author": [
"Sanjay Thiyagarajan"
],
"url": "",
"descriptionmsg": "wanda-desc",
"load_composer_autoloader": true,
"license-name": "GPL-2.0-or-later",
"type": "specialpage",
"requires": {
"MediaWiki": ">= 1.36.0"
},
"MessagesDirs": {
"Wanda": [
"i18n"
]
},
"ExtensionMessagesFiles": {
"WandaAlias": "Wanda_Aliases.php"
},
"AutoloadNamespaces": {
"MediaWiki\\Extension\\Wanda": "includes"
},
"AutoloadClasses": {
"MediaWiki\\Extension\\Wanda\\SpecialAIChat": "includes/specials/SpecialAIChat.php",
"MediaWiki\\Extension\\Wanda\\APIChat": "includes/APIChat.php",
"MediaWiki\\Extension\\Wanda\\Maintenance\\ReindexAllPages": "maintenance/ReindexAllPages.php",
"MediaWiki\\Extension\\Wanda\\Hooks\\PageIndexUpdater": "includes/Hooks/PageIndexUpdater.php",
"MediaWiki\\Extension\\Wanda\\Hooks\\FloatingChatHook": "includes/Hooks/FloatingChatHook.php"
},
"SpecialPages": {
"Wanda": "MediaWiki\\Extension\\Wanda\\SpecialAIChat"
},
"APIModules": {
"chatbot": "MediaWiki\\Extension\\Wanda\\APIChat"
},
"ResourceModules": {
"ext.wanda.main": {
"scripts": [
"libs/index.js"
],
"styles": [
"libs/index.css"
],
"dependencies": [
"mediawiki.util",
"mediawiki.api",
"oojs-ui-core",
"oojs-ui-widgets"
],
"messages": [
"wanda-chat-welcometext",
"wanda-chat-welcomedesc",
"wanda-chat-instruction1",
"wanda-chat-instruction2",
"wanda-chat-pdftotext-error"
],
"targets": [
"desktop",
"mobile"
]
},
"ext.wanda.floating": {
"scripts": [
"libs/floating-chat.js"
],
"styles": [
"libs/floating-chat.css"
],
"dependencies": [
"mediawiki.util",
"mediawiki.api",
"oojs-ui-core",
"oojs-ui-widgets"
],
"messages": [
"wanda-chat-welcometext",
"wanda-chat-welcomedesc",
"wanda-chat-instruction1",
"wanda-chat-instruction2",
"wanda-floating-chat-title"
],
"targets": [
"desktop",
"mobile"
]
}
},
"ResourceFileModulePaths": {
"localBasePath": "",
"remoteExtPath": "Wanda"
},
"Hooks": {
"PageSaveComplete": "MediaWiki\\Extension\\Wanda\\Hooks\\PageIndexUpdater::onPageSaveComplete",
"FileUploadComplete": "MediaWiki\\Extension\\Wanda\\Hooks\\PageIndexUpdater::onFileUploadComplete",
"BeforePageDisplay": "MediaWiki\\Extension\\Wanda\\Hooks\\FloatingChatHook::onBeforePageDisplay"
},
"config": {
"LLMProvider": "ollama",
"LLMApiEndpoint": "http://ollama:11434/api/",
"LLMApiKey": "",
"LLMModel": "gemma:2b",
"LLMEmbeddingModel": "nomic-embed-text",
"LLMElasticsearchUrl": "http://elasticsearch:9200",
"LLMEmbeddingChunkSize": 8000,
"LLMMaxTokens": 1000,
"LLMTemperature": 0.7,
"LLMTimeout": 30
},
"manifest_version": 1
}