@memberjunction/aiengine 3.4.0 → 4.1.0

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/README.md +123 -666
  2. package/dist/AIEngine.d.ts +243 -13
  3. package/dist/AIEngine.d.ts.map +1 -1
  4. package/dist/AIEngine.js +406 -154
  5. package/dist/AIEngine.js.map +1 -1
  6. package/dist/index.d.ts +8 -8
  7. package/dist/index.js +8 -24
  8. package/dist/index.js.map +1 -1
  9. package/dist/services/ActionEmbeddingService.d.ts +72 -1
  10. package/dist/services/ActionEmbeddingService.d.ts.map +1 -1
  11. package/dist/services/ActionEmbeddingService.js +88 -12
  12. package/dist/services/ActionEmbeddingService.js.map +1 -1
  13. package/dist/services/AgentEmbeddingService.d.ts +70 -1
  14. package/dist/services/AgentEmbeddingService.d.ts.map +1 -1
  15. package/dist/services/AgentEmbeddingService.js +87 -13
  16. package/dist/services/AgentEmbeddingService.js.map +1 -1
  17. package/dist/services/ConversationAttachmentService.d.ts +126 -0
  18. package/dist/services/ConversationAttachmentService.d.ts.map +1 -1
  19. package/dist/services/ConversationAttachmentService.js +180 -25
  20. package/dist/services/ConversationAttachmentService.js.map +1 -1
  21. package/dist/types/ActionMatchResult.d.ts +48 -0
  22. package/dist/types/ActionMatchResult.d.ts.map +1 -1
  23. package/dist/types/ActionMatchResult.js +1 -2
  24. package/dist/types/AgentMatchResult.d.ts +52 -0
  25. package/dist/types/AgentMatchResult.d.ts.map +1 -1
  26. package/dist/types/AgentMatchResult.js +1 -2
  27. package/dist/types/ExampleMatchResult.d.ts +8 -0
  28. package/dist/types/ExampleMatchResult.d.ts.map +1 -1
  29. package/dist/types/ExampleMatchResult.js +1 -2
  30. package/dist/types/NoteMatchResult.d.ts +8 -0
  31. package/dist/types/NoteMatchResult.d.ts.map +1 -1
  32. package/dist/types/NoteMatchResult.js +1 -2
  33. package/package.json +16 -15
@@ -5,12 +5,15 @@ import { BaseSingleton } from "@memberjunction/global";
5
5
  import { AIActionEntity, ActionEntity, AIAgentActionEntity, AIAgentNoteEntity, AIAgentNoteTypeEntity, AIModelActionEntity, AIPromptModelEntity, AIPromptTypeEntity, AIResultCacheEntity, AIVendorTypeDefinitionEntity, ArtifactTypeEntity, EntityAIActionEntity, VectorDatabaseEntity, AIAgentPromptEntity, AIAgentTypeEntity, AIVendorEntity, AIModelVendorEntity, AIModelTypeEntity, AIModelCostEntity, AIModelPriceTypeEntity, AIModelPriceUnitTypeEntity, AIConfigurationEntity, AIConfigurationParamEntity, AIAgentStepEntity, AIAgentStepPathEntity, AIAgentRelationshipEntity, AIAgentPermissionEntity, AIAgentDataSourceEntity, AIAgentConfigurationEntity, AIAgentExampleEntity, AICredentialBindingEntity, AIModalityEntity, AIAgentModalityEntity, AIModelModalityEntity } from "@memberjunction/core-entities";
6
6
  import { AIEngineBase } from "@memberjunction/ai-engine-base";
7
7
  import { SimpleVectorService } from "@memberjunction/ai-vectors-memory";
8
- import { AgentEmbeddingMetadata, AgentMatchResult } from "./types/AgentMatchResult";
9
- import { ActionEmbeddingMetadata, ActionMatchResult } from "./types/ActionMatchResult";
10
- import { NoteMatchResult } from "./types/NoteMatchResult";
11
- import { ExampleMatchResult } from "./types/ExampleMatchResult";
8
+ import { AgentEmbeddingMetadata, AgentMatchResult } from "./types/AgentMatchResult.js";
9
+ import { ActionEmbeddingMetadata, ActionMatchResult } from "./types/ActionMatchResult.js";
10
+ import { NoteEmbeddingMetadata, NoteMatchResult } from "./types/NoteMatchResult.js";
11
+ import { ExampleEmbeddingMetadata, ExampleMatchResult } from "./types/ExampleMatchResult.js";
12
12
  import { AIAgentEntityExtended, AIModelEntityExtended, AIPromptEntityExtended, AIPromptCategoryEntityExtended } from "@memberjunction/ai-core-plus";
13
13
  import { EffectiveAgentPermissions } from "@memberjunction/ai-engine-base";
14
+ /**
15
+ * @deprecated AI Actions are deprecated. Use AIPromptRunner with the new AI Prompt system instead.
16
+ */
14
17
  export declare class AIActionParams {
15
18
  actionId: string;
16
19
  modelId: string;
@@ -18,10 +21,22 @@ export declare class AIActionParams {
18
21
  systemPrompt?: string;
19
22
  userPrompt?: string;
20
23
  }
24
+ /**
25
+ * @deprecated Entity AI Actions are deprecated. Use AIPromptRunner with the new AI Prompt system instead.
26
+ */
21
27
  export declare class EntityAIActionParams extends AIActionParams {
22
28
  entityAIActionId: string;
23
29
  entityRecord: BaseEntity;
24
30
  }
31
+ /**
32
+ * Server-side AI Engine that wraps AIEngineBase and adds server-only capabilities.
33
+ *
34
+ * This class uses composition (containment) rather than inheritance to avoid duplicate
35
+ * data loading. It delegates all base functionality to AIEngineBase.Instance while
36
+ * adding server-specific features like embeddings, vector search, and LLM execution.
37
+ *
38
+ * @description ONLY USE ON SERVER-SIDE. For metadata only, use the AIEngineBase class which can be used anywhere.
39
+ */
25
40
  export declare class AIEngine extends BaseSingleton<AIEngine> {
26
41
  readonly EmbeddingModelTypeName: string;
27
42
  readonly LocalEmbeddingModelVendorName: string;
@@ -38,7 +53,9 @@ export declare class AIEngine extends BaseSingleton<AIEngine> {
38
53
  private _loadingPromise;
39
54
  private _contextUser;
40
55
  static get Instance(): AIEngine;
56
+ /** Access to the underlying AIEngineBase instance */
41
57
  protected get Base(): AIEngineBase;
58
+ /** Returns true if both the base engine and server capabilities are loaded */
42
59
  get Loaded(): boolean;
43
60
  get Agents(): AIAgentEntityExtended[];
44
61
  get AgentRelationships(): AIAgentRelationshipEntity[];
@@ -74,7 +91,9 @@ export declare class AIEngine extends BaseSingleton<AIEngine> {
74
91
  get AgentSteps(): AIAgentStepEntity[];
75
92
  get AgentStepPaths(): AIAgentStepPathEntity[];
76
93
  get ModelActions(): AIModelActionEntity[];
94
+ /** @deprecated Use the new Action system instead */
77
95
  get Actions(): AIActionEntity[];
96
+ /** @deprecated Use the new Action system instead */
78
97
  get EntityAIActions(): EntityAIActionEntity[];
79
98
  get Modalities(): AIModalityEntity[];
80
99
  get AgentModalities(): AIAgentModalityEntity[];
@@ -97,7 +116,24 @@ export declare class AIEngine extends BaseSingleton<AIEngine> {
97
116
  AgenteNoteTypeIDByName(agentNoteTypeName: string): string;
98
117
  GetConfigurationParams(configurationId: string): AIConfigurationParamEntity[];
99
118
  GetConfigurationParam(configurationId: string, paramName: string): AIConfigurationParamEntity | null;
119
+ /**
120
+ * Returns the inheritance chain for a configuration, starting with the specified
121
+ * configuration and walking up through parent configurations to the root.
122
+ * Delegates to AIEngineBase.GetConfigurationChain.
123
+ *
124
+ * @param configurationId - The ID of the configuration to get the chain for
125
+ * @returns Array of AIConfigurationEntity objects representing the inheritance chain
126
+ * @throws Error if a circular reference is detected in the configuration hierarchy
127
+ */
100
128
  GetConfigurationChain(configurationId: string): AIConfigurationEntity[];
129
+ /**
130
+ * Returns all configuration parameters for a configuration, including inherited
131
+ * parameters from parent configurations. Child parameters override parent parameters.
132
+ * Delegates to AIEngineBase.GetConfigurationParamsWithInheritance.
133
+ *
134
+ * @param configurationId - The ID of the configuration to get parameters for
135
+ * @returns Array of AIConfigurationParamEntity objects, with child overrides applied
136
+ */
101
137
  GetConfigurationParamsWithInheritance(configurationId: string): AIConfigurationParamEntity[];
102
138
  GetAgentSteps(agentId: string, status?: string): AIAgentStepEntity[];
103
139
  GetAgentStepByID(stepId: string): AIAgentStepEntity | null;
@@ -112,46 +148,240 @@ export declare class AIEngine extends BaseSingleton<AIEngine> {
112
148
  GetAccessibleAgents(user: UserInfo, permission: 'view' | 'run' | 'edit' | 'delete'): Promise<AIAgentEntityExtended[]>;
113
149
  ClearAgentPermissionsCache(): void;
114
150
  RefreshAgentPermissionsCache(agentId: string, user: UserInfo): Promise<void>;
151
+ /**
152
+ * Get the agent vector service for semantic search.
153
+ * Initialized during Config - will be null before AIEngine.Config() completes.
154
+ */
115
155
  get AgentVectorService(): SimpleVectorService<AgentEmbeddingMetadata> | null;
156
+ /**
157
+ * Get the action vector service for semantic search.
158
+ * Initialized during Config - will be null before AIEngine.Config() completes.
159
+ */
116
160
  get ActionVectorService(): SimpleVectorService<ActionEmbeddingMetadata> | null;
161
+ /**
162
+ * Get all available actions loaded from the database.
163
+ * Loaded during Config() - will be empty before AIEngine.Config() completes.
164
+ * NOTE: This returns ActionEntity (MJ Action system), not the deprecated AIActionEntity.
165
+ * For deprecated AI Actions, see the inherited Actions property.
166
+ */
117
167
  get SystemActions(): ActionEntity[];
168
+ /**
169
+ * Configures the AIEngine by first ensuring AIEngineBase is configured,
170
+ * then loading server-specific capabilities (embeddings, actions, etc.).
171
+ *
172
+ * This method is safe to call from multiple places concurrently - it will
173
+ * return the same promise to all callers during loading.
174
+ *
175
+ * @param forceRefresh - If true, forces a full reload even if already loaded
176
+ * @param contextUser - User context for server-side operations (required)
177
+ * @param provider - Optional metadata provider override
178
+ */
118
179
  Config(forceRefresh?: boolean, contextUser?: UserInfo, provider?: IMetadataProvider): Promise<void>;
180
+ /**
181
+ * Internal loading logic - separated for clean promise management
182
+ */
119
183
  private innerLoad;
120
- private loadServerCapabilities;
184
+ /**
185
+ * Refreshes the server metadata including active actions.
186
+ * Refreshes the embeddings in the engine's vector service for
187
+ * - Agents (dynamic recalc of embeddings)
188
+ * - Actions (dynamic recalc of embeddings)
189
+ * - Notes (parsed from DB)
190
+ * - Examples (parsed from DB)
191
+ *
192
+ * If you only need to refresh specific elements noted above, call the individual methods:
193
+ * - RefreshActions (refreshes just the server side action metadata - e.g. 'Active' Actions)
194
+ * - RefreshActionEmbeddings (dynamic recalc of embedings from stored data)
195
+ * - RefreshAgentEmbeddings (dynamic recalc of embeddings from stored data)
196
+ * - RefreshNoteEmbeddings
197
+ * - RefreshExampleEmbeddings
198
+ */
199
+ RefreshServerSpecificMetadata(contextUser?: UserInfo): Promise<void>;
200
+ /**
201
+ * Force regeneration of all embeddings for agents and actions.
202
+ *
203
+ * Use this method when:
204
+ * - Switching to a different embedding model
205
+ * - Agent or Action descriptions have been significantly updated
206
+ * - You want to ensure embeddings are up-to-date after bulk changes
207
+ * - Troubleshooting embedding-related issues
208
+ *
209
+ * Note: This is an expensive operation and should not be called frequently.
210
+ * Normal auto-refresh operations will NOT regenerate embeddings to avoid performance issues.
211
+ *
212
+ * @param contextUser - User context for database operations (required on server-side)
213
+ */
121
214
  RegenerateEmbeddings(contextUser?: UserInfo): Promise<void>;
122
- private loadAgentEmbeddings;
123
- private loadActions;
124
- private loadActionEmbeddings;
125
- private loadNoteEmbeddings;
126
- private loadExampleEmbeddings;
127
- private generateSingleAgentEmbedding;
128
- private generateSingleActionEmbedding;
215
+ /**
216
+ * Refreshes Agent embeddings - agents are pre-loaded at this point, but we need
217
+ * to generate, dynamically, embeddings from the text stored in the agent. This is not a
218
+ * cheap operation, use it sparingly.
219
+ */
220
+ RefreshAgentEmbeddings(): Promise<void>;
221
+ /**
222
+ * Loads Active actions from the base engine (contained within this class). Does **not** refresh from the database, simply
223
+ * pulls the latest `Active` actions from the base class into its server side only array.
224
+ */
225
+ RefreshActions(contextUser?: UserInfo): Promise<void>;
226
+ /**
227
+ * Dynamically calculation of embeddings for all `Active` actions. Assumes that the internal Actions array is up to date, call
228
+ * @see RefreshActions first if you do not think they are already.
229
+ *
230
+ * This operation dynamically calculates embeddings from the text in the Action metadata and is an expensive operation, use it
231
+ * sparingly.
232
+ */
233
+ RefreshActionEmbeddings(): Promise<void>;
234
+ /**
235
+ * Refresh the vector service with the latest persisted vectors that are stored in the Agent Notes
236
+ * table. This does **not** calculate embeddings, that is done by the AI Agent Note sub-class upon save
237
+ * as needed. This method simply uses the stored vectors and parses them from their JSON serialized format into
238
+ * vectors that are used by the vector service.
239
+ */
240
+ RefreshNoteEmbeddings(contextUser?: UserInfo): Promise<void>;
241
+ /**
242
+ * Takes in a note and packages up the metadata for the vector service
243
+ * @param note
244
+ */
245
+ protected packageNoteMetadata(note: AIAgentNoteEntity): NoteEmbeddingMetadata;
246
+ /**
247
+ * Updates the vector service to the latest vector containd within the specified agent note that is passed in
248
+ * @param note
249
+ */
250
+ AddOrUpdateSingleNoteEmbedding(note: AIAgentNoteEntity): void;
251
+ /**
252
+ * Takes in an example and packages up the metadata for the vector service
253
+ * @param example
254
+ */
255
+ protected packageExampleMetadata(example: AIAgentExampleEntity): ExampleEmbeddingMetadata;
256
+ /**
257
+ * Updates the vector service to the latest vector contained within the specified agent example that is passed in
258
+ * @param example
259
+ */
260
+ AddOrUpdateSingleExampleEmbedding(example: AIAgentExampleEntity): void;
261
+ /**
262
+ * Refresh the vector service with the latest persisted vectors that are stored in the Agent Examples
263
+ * table. This does **not** calculate embeddings, that is done by the AI Agent Example sub-class upon save
264
+ * as needed. This method simply uses the stored vectors and parses them from their JSON serialized format into
265
+ * vectors that are used by the vector service.
266
+ */
267
+ RefreshExampleEmbeddings(contextUser?: UserInfo): Promise<void>;
268
+ /**
269
+ * Prepares standard chat parameters with system and user messages.
270
+ *
271
+ * @param userPrompt The user message/query to send to the model
272
+ * @param systemPrompt Optional system prompt to set context/persona for the model
273
+ * @returns Array of properly formatted chat messages
274
+ */
129
275
  PrepareChatMessages(userPrompt: string, systemPrompt?: string): ChatMessage[];
276
+ /**
277
+ * Prepares an LLM model instance with the appropriate parameters.
278
+ * This method handles common tasks needed before calling an LLM:
279
+ * - Loading AI metadata if needed
280
+ * - Selecting the appropriate model (user-provided or highest power)
281
+ * - Getting the correct API key
282
+ * - Creating the LLM instance
283
+ *
284
+ * @param contextUser The user context for authentication and permissions
285
+ * @param model Optional specific model to use, otherwise uses highest power LLM
286
+ * @param apiKey Optional API key to use with the model
287
+ * @returns Object containing the prepared model instance and model information
288
+ */
130
289
  PrepareLLMInstance(contextUser: UserInfo, model?: AIModelEntityExtended, apiKey?: string): Promise<{
131
290
  modelInstance: BaseLLM;
132
291
  modelToUse: AIModelEntityExtended;
133
292
  }>;
293
+ /**
294
+ * Executes a simple completion task using the provided parameters.
295
+ *
296
+ * @param userPrompt The user message/query to send to the model
297
+ * @param contextUser The user context for authentication and permissions
298
+ * @param systemPrompt Optional system prompt to set context/persona for the model
299
+ * @param model Optional specific model to use, otherwise uses highest power LLM
300
+ * @param apiKey Optional API key to use with the model
301
+ * @returns The text response from the LLM
302
+ * @throws Error if user prompt is not provided or if there are issues with model creation
303
+ */
134
304
  SimpleLLMCompletion(userPrompt: string, contextUser: UserInfo, systemPrompt?: string, model?: AIModelEntityExtended, apiKey?: string): Promise<string>;
305
+ /**
306
+ * Executes multiple parallel chat completions with the same model but potentially different parameters.
307
+ *
308
+ * @param userPrompt The user's message/question to send to the model
309
+ * @param contextUser The user context for authentication and logging
310
+ * @param systemPrompt Optional system prompt to set the context/persona
311
+ * @param iterations Number of parallel completions to run (default: 3)
312
+ * @param temperatureIncrement The amount to increment temperature for each iteration (default: 0.1)
313
+ * @param baseTemperature The starting temperature value (default: 0.7)
314
+ * @param model Optional specific model to use, otherwise uses highest power LLM
315
+ * @param apiKey Optional API key to use with the model
316
+ * @param callbacks Optional callbacks for monitoring progress
317
+ * @returns Array of ChatResult objects, one for each parallel completion
318
+ */
135
319
  ParallelLLMCompletions(userPrompt: string, contextUser: UserInfo, systemPrompt?: string, iterations?: number, temperatureIncrement?: number, baseTemperature?: number, model?: AIModelEntityExtended, apiKey?: string, callbacks?: ParallelChatCompletionsCallbacks): Promise<ChatResult[]>;
320
+ /**
321
+ * Returns an array of the local embedding models, sorted with the highest power models first
322
+ */
136
323
  get LocalEmbeddingModels(): AIModelEntityExtended[];
324
+ /**
325
+ * Returns the highest power local embedding model
326
+ */
137
327
  get HighestPowerLocalEmbeddingModel(): AIModelEntityExtended | null;
328
+ /**
329
+ * Returns the lowest power local embedding model
330
+ */
138
331
  get LowestPowerLocalEmbeddingModel(): AIModelEntityExtended | null;
332
+ /**
333
+ * Helper method that generates an embedding for the given text using the highest power local embedding model.
334
+ */
139
335
  EmbedTextLocal(text: string): Promise<{
140
336
  result: EmbedTextResult;
141
337
  model: AIModelEntityExtended;
142
338
  } | null>;
339
+ /**
340
+ * Helper method to instantiate a class instance for the given model and calculate an embedding
341
+ * vector from the provided text.
342
+ */
143
343
  EmbedText(model: AIModelEntityExtended, text: string, apiKey?: string): Promise<EmbedTextResult | null>;
344
+ /**
345
+ * Find agents similar to a task description using semantic search.
346
+ */
144
347
  FindSimilarAgents(taskDescription: string, topK?: number, minSimilarity?: number): Promise<AgentMatchResult[]>;
348
+ /**
349
+ * Find actions similar to a task description using semantic search.
350
+ */
145
351
  FindSimilarActions(taskDescription: string, topK?: number, minSimilarity?: number): Promise<ActionMatchResult[]>;
352
+ /**
353
+ * Find notes similar to query text using semantic search.
354
+ * Falls back to returning notes from cache if vector service is unavailable.
355
+ */
146
356
  FindSimilarAgentNotes(queryText: string, agentId?: string, userId?: string, companyId?: string, topK?: number, minSimilarity?: number): Promise<NoteMatchResult[]>;
357
+ /**
358
+ * Fallback method to get notes from cache when vector service is unavailable.
359
+ * Returns notes filtered by scope, sorted by creation date.
360
+ */
147
361
  private fallbackGetNotesFromCache;
362
+ /**
363
+ * Find examples similar to query text using semantic search.
364
+ * Falls back to returning examples from cache if vector service is unavailable.
365
+ */
148
366
  FindSimilarAgentExamples(queryText: string, agentId?: string, userId?: string, companyId?: string, topK?: number, minSimilarity?: number): Promise<ExampleMatchResult[]>;
367
+ /**
368
+ * Fallback method to get examples from cache when vector service is unavailable.
369
+ * Returns examples filtered by scope, sorted by success score then creation date.
370
+ */
149
371
  private fallbackGetExamplesFromCache;
372
+ /**
373
+ * @deprecated Entity AI Actions are deprecated. Use AIPromptRunner with the new AI Prompt system instead.
374
+ */
150
375
  ExecuteEntityAIAction(params: EntityAIActionParams): Promise<BaseResult>;
151
376
  protected markupUserMessage(entityRecord: BaseEntity, userMessage: string): string;
377
+ /**
378
+ * @deprecated AI Actions are deprecated. Use AIPromptRunner with the new AI Prompt system instead.
379
+ */
152
380
  ExecuteAIAction(params: AIActionParams): Promise<BaseResult>;
381
+ /**
382
+ * @deprecated This method is related to deprecated AI Actions. Use AIPromptRunner instead.
383
+ */
153
384
  protected GetStringOutputFromActionResults(action: AIActionEntity, result: BaseResult): string;
154
385
  protected getDriver(model: AIModelEntityExtended, apiKey: string): Promise<BaseModel>;
155
386
  }
156
- export declare function LoadAIEngine(): void;
157
387
  //# sourceMappingURL=AIEngine.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AIEngine.d.ts","sourceRoot":"","sources":["../src/AIEngine.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,UAAU,EAAc,WAAW,EACvD,gCAAgC,EAChC,eAAe,EAEA,MAAM,oBAAoB,CAAC;AAGnD,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,UAAU,EAAsB,QAAQ,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACnG,OAAO,EAAE,aAAa,EAAY,MAAM,wBAAwB,CAAC;AACjE,OAAO,EAAE,cAAc,EAAE,YAAY,EAC5B,mBAAmB,EAAE,iBAAiB,EAAE,qBAAqB,EAC7D,mBAAmB,EAAE,mBAAmB,EAAE,kBAAkB,EAC5D,mBAAmB,EAAE,4BAA4B,EAAE,kBAAkB,EACrE,oBAAoB,EAAE,oBAAoB,EAAE,mBAAmB,EAC/D,iBAAiB,EAAE,cAAc,EAAE,mBAAmB,EAAE,iBAAiB,EACzE,iBAAiB,EAAE,sBAAsB,EAAE,0BAA0B,EACrE,qBAAqB,EAAE,0BAA0B,EAAE,iBAAiB,EACpE,qBAAqB,EAAE,yBAAyB,EAAE,uBAAuB,EACzE,uBAAuB,EAAE,0BAA0B,EAAE,oBAAoB,EACzE,yBAAyB,EAAE,gBAAgB,EAAE,qBAAqB,EAClE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AACtE,OAAO,EAAE,YAAY,EAAoB,MAAM,gCAAgC,CAAC;AAChF,OAAO,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AAGxE,OAAO,EAAE,sBAAsB,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AACpF,OAAO,EAAE,uBAAuB,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,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