@nocobase/plugin-ai 2.0.0-alpha.49 → 2.0.0-alpha.50

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. package/dist/client/e6260220a6286d8e.js +10 -0
  2. package/dist/client/index.js +1 -1
  3. package/dist/client/schemas/llms.d.ts +7 -0
  4. package/dist/externalVersion.js +11 -11
  5. package/dist/locale/de-DE.json +193 -15
  6. package/dist/locale/en-US.json +181 -179
  7. package/dist/locale/es-ES.json +203 -0
  8. package/dist/locale/fr-FR.json +203 -0
  9. package/dist/locale/hu-HU.json +203 -0
  10. package/dist/locale/id-ID.json +203 -0
  11. package/dist/locale/it-IT.json +193 -15
  12. package/dist/locale/ja-JP.json +203 -0
  13. package/dist/locale/ko-KR.json +203 -0
  14. package/dist/locale/nl-NL.json +202 -25
  15. package/dist/locale/pt-BR.json +203 -0
  16. package/dist/locale/ru-RU.json +181 -3
  17. package/dist/locale/tr-TR.json +203 -0
  18. package/dist/locale/uk-UA.json +203 -0
  19. package/dist/locale/vi-VN.json +203 -0
  20. package/dist/locale/zh-CN.json +180 -179
  21. package/dist/locale/zh-TW.json +203 -0
  22. package/dist/node_modules/@langchain/anthropic/package.json +1 -1
  23. package/dist/node_modules/@langchain/core/package.json +1 -1
  24. package/dist/node_modules/@langchain/deepseek/package.json +1 -1
  25. package/dist/node_modules/@langchain/google-genai/package.json +1 -1
  26. package/dist/node_modules/@langchain/ollama/package.json +1 -1
  27. package/dist/node_modules/@langchain/openai/package.json +1 -1
  28. package/dist/node_modules/nodejs-snowflake/package.json +1 -1
  29. package/dist/node_modules/zod/package.json +1 -1
  30. package/dist/node_modules/zod-to-json-schema/package.json +1 -1
  31. package/dist/server/resource/ai.js +7 -2
  32. package/package.json +2 -2
  33. package/dist/client/7f550cc4bd6786d8.js +0 -10
@@ -16,6 +16,13 @@ export declare const createLLMSchema: {
16
16
  'x-decorator': string;
17
17
  'x-use-decorator-props': string;
18
18
  properties: {
19
+ provider: {
20
+ type: string;
21
+ 'x-decorator': string;
22
+ title: string;
23
+ 'x-component': string;
24
+ 'x-pattern': string;
25
+ };
19
26
  name: {
20
27
  type: string;
21
28
  'x-decorator': string;
@@ -8,29 +8,29 @@
8
8
  */
9
9
 
10
10
  module.exports = {
11
- "@nocobase/plugin-acl": "2.0.0-alpha.49",
12
- "@nocobase/plugin-workflow": "2.0.0-alpha.49",
13
- "@nocobase/client": "2.0.0-alpha.49",
14
- "@nocobase/utils": "2.0.0-alpha.49",
15
- "@nocobase/database": "2.0.0-alpha.49",
16
- "@nocobase/server": "2.0.0-alpha.49",
11
+ "@nocobase/plugin-acl": "2.0.0-alpha.50",
12
+ "@nocobase/plugin-workflow": "2.0.0-alpha.50",
13
+ "@nocobase/client": "2.0.0-alpha.50",
14
+ "@nocobase/utils": "2.0.0-alpha.50",
15
+ "@nocobase/database": "2.0.0-alpha.50",
16
+ "@nocobase/server": "2.0.0-alpha.50",
17
17
  "axios": "1.7.7",
18
- "@nocobase/actions": "2.0.0-alpha.49",
18
+ "@nocobase/actions": "2.0.0-alpha.50",
19
19
  "react": "18.2.0",
20
20
  "antd": "5.24.2",
21
21
  "@formily/core": "2.3.7",
22
22
  "@formily/react": "2.3.7",
23
- "@nocobase/flow-engine": "2.0.0-alpha.49",
23
+ "@nocobase/flow-engine": "2.0.0-alpha.50",
24
24
  "@ant-design/icons": "5.6.1",
25
25
  "@formily/antd-v5": "1.2.3",
26
26
  "@formily/shared": "2.3.7",
27
27
  "lodash": "4.17.21",
28
- "@nocobase/plugin-file-manager": "2.0.0-alpha.49",
29
- "@nocobase/resourcer": "2.0.0-alpha.49",
28
+ "@nocobase/plugin-file-manager": "2.0.0-alpha.50",
29
+ "@nocobase/resourcer": "2.0.0-alpha.50",
30
30
  "@emotion/css": "11.13.0",
31
31
  "react-router-dom": "6.30.1",
32
32
  "react-i18next": "11.18.6",
33
- "@nocobase/plugin-data-source-manager": "2.0.0-alpha.49",
33
+ "@nocobase/plugin-data-source-manager": "2.0.0-alpha.50",
34
34
  "ahooks": "3.7.8",
35
35
  "@formily/reactive": "2.3.7"
36
36
  };
@@ -1,25 +1,203 @@
1
1
  {
2
+ "AI employee": "AI employee",
3
+ "AI employee event": "AI employee event",
4
+ "AI employees": "AI employees",
2
5
  "AI integration": "KI-Integration",
3
- "LLM services": "LLM-Dienste",
4
- "LLM service": "LLM-Dienst",
5
- "Model": "Modell",
6
- "Messages": "Nachrichten",
7
- "Structured output": "Strukturierte Ausgabe",
8
- "Message": "Nachricht",
9
- "Role": "Rolle",
10
- "UID": "UID",
6
+ "AI is searching": "{{ nickname }} is searching...",
7
+ "AI is thinking": "{{ nickname }} is thinking...",
8
+ "About me": "About me",
9
+ "About me placeholder": "Define the AI employee’s role, guide its work, and instruct it complete user-assigned tasks. This will be part of the prompt of this AI employee.",
10
+ "Actions": "Actions",
11
+ "Add collection": "Add collection",
11
12
  "Add content": "Inhalt hinzufügen",
13
+ "Add datasource": "Add data source",
14
+ "Add file": "Add file",
12
15
  "Add prompt": "Prompt hinzufügen",
13
- "Provider": "Anbieter",
14
- "Text": "Text",
15
- "Image": "Bild",
16
- "Timout (ms)": "Zeitüberschreitung (ms)",
17
- "Max retries": "Maximale Wiederholungen",
16
+ "Add skill": "Add skill",
17
+ "Add work context": "Add work context",
18
+ "Additional system prompt appended to the AI employee’s definition, used to refine instructions": "Additional system prompt appended to the AI employee’s definition, used to refine instructions",
19
+ "Applied": "Applied",
20
+ "Apply to editor": "Apply to editor",
21
+ "Are you sure delete this datasource?": "Are you sure delete this datasource?",
22
+ "Asc": "Asc",
23
+ "Auto skill description": "When auto skill usage is enabled, the AI employee will invoke tools automatically when needed. Otherwise, the tool call parameters will be returned in the conversation for the user to review and trigger manually.",
24
+ "Auto usage": "Auto usage",
25
+ "Automatically use skills when available": "Automatically use skills when available",
26
+ "Avatar": "Avatar",
27
+ "Background": "Background",
28
+ "Bio": "Bio",
29
+ "Bio placeholder": "The introduction to the AI employee will inform human colleagues about its skills and how to use it. This information will be displayed on the employee’s profile. This will not be part of the prompt of this AI employee.",
30
+ "Call": "Call",
31
+ "Cancel": "Cancel",
32
+ "Chart generator": "Chart generator",
33
+ "Chat error warning": "Failed to send message. Please contact the administrator or try again later.",
34
+ "Cite {{count}} pieces of information as references": "Cite {{count}} pieces of information as references",
35
+ "Code history": "Code history",
36
+ "Code review": "Code review",
37
+ "CodeEditor": "Code editor",
38
+ "CodeEditor actions": "Code editor actions",
39
+ "Collection": "Collection",
40
+ "Confirm whether to delete": "Confirm whether to delete",
41
+ "Conversation": "Conversation",
42
+ "Copied": "Copied",
43
+ "Copy": "Copy",
44
+ "Create a new datasource": "Create a new data source",
45
+ "Create or edit collections": "Create or edit collections",
46
+ "Created at": "Created at",
47
+ "Current language": "Current language",
48
+ "Data modeling": "Data modeling",
49
+ "Data modeling tools": "Data modeling tools",
50
+ "Data source query": "Data source query",
51
+ "Data source records counting": "Data source records counting",
52
+ "Data source settings description": "The selected collections will be included in the AI employee’s system definition. Metadata such as collection names and field details will be provided to the LLM at the start of each conversation, helping the AI understand and respond to natural language queries for data access or retrieval.",
53
+ "Datasource": "Data source",
54
+ "Datasource deleted successfully": "Data source deleted successfully",
55
+ "Default greeting message": "Hi, I am {{ nickname }}",
56
+ "Default user message": "Default user message",
57
+ "Define collections": "Define collections",
58
+ "Delete": "Delete",
59
+ "Delete conversation": "Delete conversation",
60
+ "Deleted successfully": "Deleted successfully",
61
+ "Desc": "Desc",
62
+ "Description": "Description",
63
+ "Diagnose and fix the error": "Diagnose and fix the error",
64
+ "Direction": "Direction",
65
+ "Disable search": "Disable search",
66
+ "Displays the AI employee’s assigned tasks on the profile when hovering over the button.": "Displays the AI employee’s assigned tasks on the profile when hovering over the button.",
67
+ "Down": "Down",
68
+ "Edit AI employee": "Edit AI employee",
69
+ "Edit datasource": "Edit data source",
70
+ "Edit personalized prompt": "Edit personalized prompt",
71
+ "Edit task": "Edit task",
72
+ "Edit tasks": "Edit tasks",
73
+ "Editing message for AI employee": "Editing message",
74
+ "Enable Knowledge Base": "Enable",
75
+ "Enable search": "Enable search",
76
+ "Enabled": "Enabled",
77
+ "Expand": "Expand",
78
+ "Field display name": "Field display name",
79
+ "Fields": "Fields",
80
+ "Files": "Files",
81
+ "Files storage": "Files storage",
82
+ "Fill the form with the given content": "Fill the form with the given content",
83
+ "Filter": "Filter",
84
+ "Filter group": "Filter group",
85
+ "Form filler": "Form filler",
18
86
  "Frequency penalty description": "Zahl zwischen -2,0 und 2,0. Positive Werte bestrafen neue Tokens basierend auf ihrer vorhandenen Häufigkeit im bisherigen Text und verringern so die Wahrscheinlichkeit, dass das Modell dieselbe Zeile wörtlich wiederholt.",
87
+ "Frontend": "Frontend",
88
+ "Frontend actions": "Frontend actions",
89
+ "Generates ECharts options (JSON) based on user input or data context.": "Generates ECharts options (JSON) based on user input or data context.",
90
+ "Get code snippet content": "Get code snippet content",
91
+ "Get code snippet list": "Get code snippet list",
92
+ "Get collection metadata": "Get collection metadata",
93
+ "Get collection names": "Get collection names",
94
+ "Get models list failed, you can enter a model name manually.": "Abrufen der Modellliste fehlgeschlagen, Sie können einen Modellnamen manuell eingeben.",
95
+ "Greeting message": "Greeting message",
96
+ "Greeting message placeholder": "Opening message sent to the user when starting a new conversation.",
97
+ "Image": "Bild",
98
+ "Image (send via Base64)": "Image (send via Base64)",
99
+ "Image (send via URL)": "Image (send via URL)",
100
+ "Insert current block UI Schema": "Insert current block UI Schema",
101
+ "Insert current block UI schema": "Insert current block UI schema",
102
+ "Intent Router": "Intent Router",
103
+ "Knowledge Base": "Knowledge Base",
104
+ "Knowledge Base Prompt": "Knowledge Base Prompt",
105
+ "Knowledge Base Prompt placeholder": "Knowledge Base Prompt placeholder",
106
+ "KnowledgeBase": "Knowledge Base",
107
+ "LLM service": "LLM-Dienst",
108
+ "LLM services": "LLM-Dienste",
109
+ "Label for task selection buttons when multiple tasks exist": "Label for task selection buttons when multiple tasks exist",
110
+ "Limit": "Limit",
19
111
  "Max completion tokens description": "Eine Obergrenze für die Anzahl der Tokens, die für eine Vervollständigung generiert werden können, einschließlich sichtbarer Ausgabe-Tokens und Reasoning-Tokens.",
112
+ "Max retries": "Maximale Wiederholungen",
113
+ "Message": "Nachricht",
114
+ "Message content": "Message content",
115
+ "Message type": "Message type",
116
+ "Messages": "Nachrichten",
117
+ "Model": "Modell",
118
+ "Model settings": "Model settings",
119
+ "New AI employee": "New AI employee",
120
+ "New conversation": "New conversation",
121
+ "New from template": "New from template",
122
+ "Next": "Next",
123
+ "Oops! Something went wrong. Let me diagnose and fix it.": "Oops! Something went wrong. Let me diagnose and fix it.",
124
+ "Other tools": "Other tools",
125
+ "Others": "Others",
126
+ "Parameter description": "Parameter description",
127
+ "Parameter name": "Parameter name",
128
+ "Parameter type": "Parameter type",
129
+ "Parameters": "Parameters",
130
+ "Personalized prompt": "Personalized prompt",
131
+ "Personalized prompt description": "You can set personalized prompt for the current AI employee which will be sent to the LLM at the start of each new conversation.",
132
+ "Pick block": "Pick block",
133
+ "Picking Block": "Picking Block",
134
+ "Please choose an AI employee": "Please choose an AI employee",
135
+ "Please select file objects.": "Please select file objects.",
136
+ "Position": "Position",
137
+ "Position description": "A short label indicating the AI employee’s responsibility.",
138
+ "Position placeholder": "e.g. Translator, etc.",
20
139
  "Presence penalty description": "Zahl zwischen -2,0 und 2,0. Positive Werte bestrafen neue Tokens basierend darauf, ob sie bisher im Text vorkommen, und erhöhen die Wahrscheinlichkeit, dass das Modell über neue Themen spricht.",
140
+ "Preview": "Preview",
141
+ "Previous": "Previous",
142
+ "Processing complete!": "New data source created successfully!",
143
+ "Profile": "Profile",
144
+ "Provider": "Anbieter",
145
+ "Rename": "Rename",
146
+ "Rename conversation": "Rename conversation",
21
147
  "Response format description": "Wichtig: Bei Verwendung des JSON-Modus müssen Sie das Modell auch selbst über eine System- oder Benutzernachricht anweisen, JSON zu erzeugen.",
148
+ "Retrieve metadata for specified collections and their fields": "Retrieve metadata for specified collections and their fields",
149
+ "Retrieve names and titles map of all collections": "Retrieve names and titles map of all collections",
150
+ "Role": "Rolle",
151
+ "Route intents to appropriate workflow": "Route intents to appropriate workflow",
152
+ "Run": "Run",
153
+ "Select an": "Select an",
154
+ "Select block UI schemas": "Select block UI schemas",
155
+ "Select datasource": "Select data source",
156
+ "Select field values": "Select field values",
157
+ "Send default user message automatically": "Send default user message automatically",
158
+ "Skills": "Skills",
159
+ "Sort": "Sort",
160
+ "Sort Fields": "Sort Fields",
161
+ "Start coding": "Start coding",
162
+ "Structured output": "Strukturierte Ausgabe",
163
+ "Submit": "Submit",
164
+ "Table": "Table",
165
+ "Task": "Task",
166
+ "Task description": "Task description",
167
+ "Task instruction": "Task instruction",
168
+ "Task settings": "Task settings",
169
+ "Tasks": "Tasks",
22
170
  "Temperature description": "Welche Sampling-Temperatur verwendet werden soll, zwischen 0 und 2. Höhere Werte wie 0,8 machen die Ausgabe zufälliger, während niedrigere Werte wie 0,2 sie fokussierter und deterministischer machen.",
171
+ "Test flight": "Test flight",
172
+ "Text": "Text",
173
+ "The parameters required by the tool": "Parameters required by the tool",
174
+ "Timout (ms)": "Zeitüberschreitung (ms)",
175
+ "Title": "Title",
176
+ "Tongyi": "Tongyi",
177
+ "Tools available for LLM function calling": "Tools available for LLM function calling",
23
178
  "Top P description": "Eine Alternative zum Sampling mit Temperatur, genannt Nucleus-Sampling, bei dem das Modell die Ergebnisse der Tokens mit der Wahrscheinlichkeitsmasse top_p berücksichtigt. 0,1 bedeutet also, dass nur die Tokens berücksichtigt werden, die die obersten 10% der Wahrscheinlichkeitsmasse ausmachen.",
24
- "Get models list failed, you can enter a model name manually.": "Abrufen der Modellliste fehlgeschlagen, Sie können einen Modellnamen manuell eingeben."
25
- }
179
+ "Total {{total}} items": "Total {{total}} items",
180
+ "Triggered by AI employees through tool calling.": "Triggered by AI employees through tool calling.",
181
+ "UID": "UID",
182
+ "Up": "Up",
183
+ "Upload files": "Upload files",
184
+ "Use dataSource, collectionName, and collection fields to query data from the database": "Use dataSource, collectionName, and collection fields to query data from the database",
185
+ "Use dataSource, collectionName, and collection fields to query data from the database, get total count of records": "Use dataSource, collectionName, and collection fields to query data from the database, get total count of records",
186
+ "Use skill": "Use skill",
187
+ "Use skills": "Use skills",
188
+ "Use workflow as a tool": "Use workflow as a tool",
189
+ "Web search": "Web search",
190
+ "Work context": "Work context",
191
+ "Work with your AI crew": "Work with your AI crew",
192
+ "Workflow caller": "Workflow caller",
193
+ "You are currently using the Gemini LLM service. When Web Search is enabled, AI employees will temporarily be unable to use skills": "You are currently using the Gemini LLM service. When Web Search is enabled, AI employees will temporarily be unable to use skills",
194
+ "defaults.form.required": "Required",
195
+ "invoke-status-error": "error",
196
+ "invoke-status-init": "init",
197
+ "invoke-status-pending": "pending",
198
+ "invoke-status-success": "success",
199
+ "knowledge Base Prompt default": "From knowledge base:\n{knowledgeBaseData}\nAnswer user's question using this information.",
200
+ "please fix the error": "please fix the error",
201
+ "please review the code": "please review the code",
202
+ "references {{index}}": "references {{index}}"
203
+ }