@sftech/ng-orchestrator 0.0.14 → 0.0.18
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.
- package/fesm2022/sftech-ng-orchestrator-agent-rag-upload.component-iqEbrzkb.mjs +189 -0
- package/fesm2022/sftech-ng-orchestrator-agent-rag-upload.component-iqEbrzkb.mjs.map +1 -0
- package/fesm2022/sftech-ng-orchestrator-agents.routes-CVcxzNAE.mjs +270 -0
- package/fesm2022/sftech-ng-orchestrator-agents.routes-CVcxzNAE.mjs.map +1 -0
- package/fesm2022/sftech-ng-orchestrator-chats.routes-BDe9JC4m.mjs +625 -0
- package/fesm2022/sftech-ng-orchestrator-chats.routes-BDe9JC4m.mjs.map +1 -0
- package/fesm2022/{sftech-ng-orchestrator-prompt-display.component-Dr3YvhU-.mjs → sftech-ng-orchestrator-prompt-display.component-BkSLQgGU.mjs} +59 -11
- package/fesm2022/sftech-ng-orchestrator-prompt-display.component-BkSLQgGU.mjs.map +1 -0
- package/fesm2022/sftech-ng-orchestrator-prompt.model-DhASegzq.mjs +57 -0
- package/fesm2022/sftech-ng-orchestrator-prompt.model-DhASegzq.mjs.map +1 -0
- package/fesm2022/{sftech-ng-orchestrator-prompts.routes-gyZH5vh-.mjs → sftech-ng-orchestrator-prompts.routes-DeR6lppF.mjs} +2 -3
- package/fesm2022/sftech-ng-orchestrator-prompts.routes-DeR6lppF.mjs.map +1 -0
- package/fesm2022/sftech-ng-orchestrator-sftech-ng-orchestrator-D9fLhC24.mjs +281 -0
- package/fesm2022/sftech-ng-orchestrator-sftech-ng-orchestrator-D9fLhC24.mjs.map +1 -0
- package/fesm2022/sftech-ng-orchestrator.mjs +1 -1
- package/lib/ng-orchestrator/{agents → admin/agents}/components/agent/agent-display/agent-display.component.d.ts +8 -8
- package/lib/ng-orchestrator/admin/agents/components/agent/agent-rag-upload/agent-rag-upload.component.d.ts +21 -0
- package/lib/ng-orchestrator/{agents → admin/agents}/components/agent/agents-list/agents-list.component.d.ts +6 -4
- package/lib/ng-orchestrator/{prompts → admin/prompts}/components/prompt/prompt-display/prompt-display.component.d.ts +4 -4
- package/lib/ng-orchestrator/{prompts → admin/prompts}/components/prompt/prompts-list/prompts-list.component.d.ts +4 -4
- package/lib/ng-orchestrator/{prompts → admin/prompts}/components/prompt-history/prompt-history-display/prompt-history-display.component.d.ts +5 -5
- package/lib/ng-orchestrator/{prompts → admin/prompts}/components/prompt-history/prompt-history-list/prompt-history-list.component.d.ts +5 -5
- package/lib/ng-orchestrator/chats/agent-chat/agent-chat-message/agent-chat-message.component.d.ts +11 -0
- package/lib/ng-orchestrator/chats/agent-chat/agent-chat-message-human-input/agent-chat-message-human-input.component.d.ts +21 -0
- package/lib/ng-orchestrator/chats/agent-chat/agent-chat-message-human-input-initial/agent-chat-message-human-input-initial.component.d.ts +20 -0
- package/lib/ng-orchestrator/chats/agent-chat/agent-chat.component.d.ts +50 -0
- package/lib/ng-orchestrator/chats/agent-selection/agent-selection.component.d.ts +22 -0
- package/lib/ng-orchestrator/chats/chats.component.d.ts +5 -0
- package/lib/ng-orchestrator/chats/chats.routes.d.ts +16 -0
- package/lib/ng-orchestrator/chats/core/dataprovider/agent-run-icon-text.dataprovider.d.ts +9 -0
- package/lib/ng-orchestrator/core/configuration/orchestrator-config.interface.d.ts +2 -0
- package/lib/ng-orchestrator/core/dataprovider/orchestrator-icon.provider.d.ts +13 -0
- package/lib/ng-orchestrator/{agents/core → core}/dtos/agent-create-request.dto.d.ts +2 -0
- package/lib/ng-orchestrator/{agents/core → core}/dtos/agent-response.dto.d.ts +3 -1
- package/lib/ng-orchestrator/core/dtos/agent-run-create-request.dto.d.ts +3 -0
- package/lib/ng-orchestrator/core/dtos/agent-run-response.dto.d.ts +12 -0
- package/lib/ng-orchestrator/{agents/core → core}/dtos/agent-update-request.dto.d.ts +2 -0
- package/lib/ng-orchestrator/core/dtos/chat-create-request.dto.d.ts +4 -0
- package/lib/ng-orchestrator/core/dtos/chat-message-response.dto.d.ts +6 -0
- package/lib/ng-orchestrator/core/dtos/chat-response.dto.d.ts +6 -0
- package/lib/ng-orchestrator/core/dtos/chat-update-request.dto.d.ts +3 -0
- package/lib/ng-orchestrator/core/dtos/rag-ingest-config.dto.d.ts +4 -0
- package/lib/ng-orchestrator/core/enums/agent-run-status.enum.d.ts +9 -0
- package/lib/ng-orchestrator/core/models/agent-run.model.d.ts +19 -0
- package/lib/ng-orchestrator/{agents/core → core}/models/agent.model.d.ts +4 -2
- package/lib/ng-orchestrator/core/models/chat-message.model.d.ts +10 -0
- package/lib/ng-orchestrator/core/models/chat.model.d.ts +8 -0
- package/lib/ng-orchestrator/core/service/agent-run.service.d.ts +19 -0
- package/lib/ng-orchestrator/{agents/core/services → core/service}/agent.service.d.ts +1 -1
- package/lib/ng-orchestrator/core/service/chat.service.d.ts +20 -0
- package/lib/ng-orchestrator/core/service/orchestrator.service.d.ts +23 -0
- package/lib/ng-orchestrator/{prompts/core/services → core/service}/prompt-history.service.d.ts +1 -1
- package/lib/ng-orchestrator/{prompts/core/services → core/service}/prompt.service.d.ts +1 -1
- package/lib/ng-orchestrator/core/validators/rag.validator.d.ts +2 -0
- package/lib/ng-orchestrator/orchestrator.module.d.ts +2 -1
- package/package.json +2 -2
- package/fesm2022/sftech-ng-orchestrator-agent.service-BI5zPQT-.mjs +0 -106
- package/fesm2022/sftech-ng-orchestrator-agent.service-BI5zPQT-.mjs.map +0 -1
- package/fesm2022/sftech-ng-orchestrator-agents.routes-CnV8ngf_.mjs +0 -214
- package/fesm2022/sftech-ng-orchestrator-agents.routes-CnV8ngf_.mjs.map +0 -1
- package/fesm2022/sftech-ng-orchestrator-chat.routes-BAF4OU_M.mjs +0 -154
- package/fesm2022/sftech-ng-orchestrator-chat.routes-BAF4OU_M.mjs.map +0 -1
- package/fesm2022/sftech-ng-orchestrator-prompt-display.component-Dr3YvhU-.mjs.map +0 -1
- package/fesm2022/sftech-ng-orchestrator-prompt.service-CkWDxT-Y.mjs +0 -107
- package/fesm2022/sftech-ng-orchestrator-prompt.service-CkWDxT-Y.mjs.map +0 -1
- package/fesm2022/sftech-ng-orchestrator-prompts.routes-gyZH5vh-.mjs.map +0 -1
- package/fesm2022/sftech-ng-orchestrator-sftech-ng-orchestrator-CICnJ35v.mjs +0 -158
- package/fesm2022/sftech-ng-orchestrator-sftech-ng-orchestrator-CICnJ35v.mjs.map +0 -1
- package/lib/ng-orchestrator/chat/chat.component.d.ts +0 -38
- package/lib/ng-orchestrator/chat/chat.routes.d.ts +0 -5
- package/lib/ng-orchestrator/core/dtos/llm-response.dto.d.ts +0 -10
- package/lib/ng-orchestrator/core/models/llm-response.model.d.ts +0 -12
- package/lib/ng-orchestrator/core/pipes/bold-input-vars.pipe.d.ts +0 -7
- package/lib/ng-orchestrator/core/service/orcherstrator.service.d.ts +0 -17
- /package/lib/ng-orchestrator/{agents → admin/agents}/agents.component.d.ts +0 -0
- /package/lib/ng-orchestrator/{agents → admin/agents}/agents.routes.d.ts +0 -0
- /package/lib/ng-orchestrator/{agents → admin/agents}/components/agent/agent-display/prompt-helper-modal/prompt-helper-modal.component.d.ts +0 -0
- /package/lib/ng-orchestrator/{prompts → admin/prompts}/prompts.component.d.ts +0 -0
- /package/lib/ng-orchestrator/{prompts → admin/prompts}/prompts.routes.d.ts +0 -0
- /package/lib/ng-orchestrator/{prompts/core → core}/dtos/prompt-history-create.dto.d.ts +0 -0
- /package/lib/ng-orchestrator/{prompts/core → core}/dtos/prompt-history-response.dto.d.ts +0 -0
- /package/lib/ng-orchestrator/{prompts/core → core}/dtos/prompt-history-update.dto.d.ts +0 -0
- /package/lib/ng-orchestrator/{prompts/core → core}/dtos/prompt-request.dto.d.ts +0 -0
- /package/lib/ng-orchestrator/{prompts/core → core}/dtos/prompt-update.dto.d.ts +0 -0
- /package/lib/ng-orchestrator/{prompts/core → core}/models/prompt-history.model.d.ts +0 -0
- /package/lib/ng-orchestrator/{prompts/core → core}/models/prompt.model.d.ts +0 -0
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { ElementRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { ActivatedRoute, Router } from '@angular/router';
|
|
3
|
+
import { IconProvider } from '@sftech/ng-shared';
|
|
4
|
+
import { MessageService } from 'primeng/api';
|
|
5
|
+
import { Subscription } from 'rxjs';
|
|
6
|
+
import { EAgentRunStatus } from '../../core/enums/agent-run-status.enum';
|
|
7
|
+
import { AgentRun } from '../../core/models/agent-run.model';
|
|
8
|
+
import { Agent } from '../../core/models/agent.model';
|
|
9
|
+
import { AgentRunService } from '../../core/service/agent-run.service';
|
|
10
|
+
import { AgentService } from '../../core/service/agent.service';
|
|
11
|
+
import { ChatService } from '../../core/service/chat.service';
|
|
12
|
+
import { OrchestratorService } from '../../core/service/orchestrator.service';
|
|
13
|
+
import { AgentRunIconTextDataprovider } from '../core/dataprovider/agent-run-icon-text.dataprovider';
|
|
14
|
+
import * as i0 from "@angular/core";
|
|
15
|
+
export declare class AgentChatComponent implements OnInit, OnDestroy {
|
|
16
|
+
protected readonly activeRoute: ActivatedRoute;
|
|
17
|
+
protected readonly router: Router;
|
|
18
|
+
protected readonly agentService: AgentService;
|
|
19
|
+
protected readonly agentRunService: AgentRunService;
|
|
20
|
+
protected readonly chatService: ChatService;
|
|
21
|
+
protected readonly orchestratorService: OrchestratorService;
|
|
22
|
+
protected readonly messageService: MessageService;
|
|
23
|
+
private readonly dialogService;
|
|
24
|
+
protected agent: Agent;
|
|
25
|
+
protected readonly agentRuns: import("@angular/core").WritableSignal<AgentRun[] | undefined>;
|
|
26
|
+
protected selectedAgentRun: import("@angular/core").WritableSignal<AgentRun | undefined>;
|
|
27
|
+
protected selectedAgent: import("@angular/core").WritableSignal<Agent | undefined>;
|
|
28
|
+
chatContainer?: ElementRef;
|
|
29
|
+
iconProvider: typeof IconProvider;
|
|
30
|
+
iconTextMapper: typeof AgentRunIconTextDataprovider;
|
|
31
|
+
agentRunStatus: typeof EAgentRunStatus;
|
|
32
|
+
subscriptions: Subscription[];
|
|
33
|
+
protected selectedAgentRunChanged$: import("@angular/core").EffectRef;
|
|
34
|
+
protected chatMessagesChanged$: import("@angular/core").EffectRef;
|
|
35
|
+
loading: import("@angular/core").Signal<boolean>;
|
|
36
|
+
ngOnInit(): void;
|
|
37
|
+
ngOnDestroy(): void;
|
|
38
|
+
startNewRun(): void;
|
|
39
|
+
selectAgentRun(agentRun: AgentRun): void;
|
|
40
|
+
startObservingAgentRun(agentRunId: number): void;
|
|
41
|
+
goBack(): void;
|
|
42
|
+
private _loadChat;
|
|
43
|
+
private _setRelativeUrl;
|
|
44
|
+
private _mapUpdateOnAgentRun;
|
|
45
|
+
openRagUploadModal(): void;
|
|
46
|
+
private startScrollingStrategy;
|
|
47
|
+
private scrollToBottom;
|
|
48
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AgentChatComponent, never>;
|
|
49
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AgentChatComponent, "sftech-agent-chat", never, {}, {}, never, never, true, never>;
|
|
50
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { BaseListComponent, IconProvider } from '@sftech/ng-shared';
|
|
3
|
+
import { MessageService } from 'primeng/api';
|
|
4
|
+
import { IAgentCreateDto } from '../../core/dtos/agent-create-request.dto';
|
|
5
|
+
import { IAgentResponseDto } from '../../core/dtos/agent-response.dto';
|
|
6
|
+
import { Agent } from '../../core/models/agent.model';
|
|
7
|
+
import { McpTool } from '../../core/models/mcp-tool.model';
|
|
8
|
+
import { AgentService } from '../../core/service/agent.service';
|
|
9
|
+
import { OrchestratorService } from '../../core/service/orchestrator.service';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
|
+
export declare class AgentSelectionComponent extends BaseListComponent<Agent, IAgentCreateDto, IAgentCreateDto, IAgentResponseDto> implements OnInit {
|
|
12
|
+
protected _repo: AgentService;
|
|
13
|
+
protected _route: string;
|
|
14
|
+
protected orchestratorService: OrchestratorService;
|
|
15
|
+
protected messageService: MessageService;
|
|
16
|
+
protected iconProvider: typeof IconProvider;
|
|
17
|
+
tools: import("@angular/core").WritableSignal<McpTool[] | undefined>;
|
|
18
|
+
ngOnInit(): void;
|
|
19
|
+
getToolNames(agent: Agent): string;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AgentSelectionComponent, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AgentSelectionComponent, "sftech-agent-selection", never, {}, {}, never, never, true, never>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { AuthenticationGuard } from '@sftech/ng-auth';
|
|
2
|
+
import { AgentChatComponent } from './agent-chat/agent-chat.component';
|
|
3
|
+
import { AgentSelectionComponent } from './agent-selection/agent-selection.component';
|
|
4
|
+
import { ChatsComponent } from './chats.component';
|
|
5
|
+
export declare const chatsRoutes: {
|
|
6
|
+
path: string;
|
|
7
|
+
component: typeof ChatsComponent;
|
|
8
|
+
children: ({
|
|
9
|
+
path: string;
|
|
10
|
+
component: typeof AgentSelectionComponent;
|
|
11
|
+
} | {
|
|
12
|
+
path: string;
|
|
13
|
+
component: typeof AgentChatComponent;
|
|
14
|
+
})[];
|
|
15
|
+
canActivate: (typeof AuthenticationGuard)[];
|
|
16
|
+
}[];
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IconDefinition } from '@fortawesome/angular-fontawesome';
|
|
2
|
+
import { EAgentRunStatus } from '../../../core/enums/agent-run-status.enum';
|
|
3
|
+
export declare class AgentRunIconTextDataprovider {
|
|
4
|
+
private static readonly UNKNOWN_TEXT;
|
|
5
|
+
static getTextForStatus(status: EAgentRunStatus | undefined): string;
|
|
6
|
+
static getIconForStatus(status: EAgentRunStatus | undefined): IconDefinition;
|
|
7
|
+
static getIconClassesForStatus(status: EAgentRunStatus | undefined): string;
|
|
8
|
+
static getIconForMessageType(messageType: string): IconDefinition;
|
|
9
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { IconProvider } from '@sftech/ng-shared';
|
|
2
|
+
export declare class OrchestratorIconProvider extends IconProvider {
|
|
3
|
+
static readonly agentRunStatusInit: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
4
|
+
static readonly agentRunStatusRunning: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
5
|
+
static readonly agentRunStatusCompleted: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
6
|
+
static readonly agentRunStatusFailed: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
7
|
+
static readonly agentRunStatusPrerun: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
8
|
+
static readonly agentRunStatusPostrun: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
9
|
+
static readonly agentRunStatusClarify: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
10
|
+
static readonly messageTypeAI: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
11
|
+
static readonly messageTypeHuman: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
12
|
+
static readonly messageTypeSystem: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
13
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IBaseDbResponseDto } from '@sftech/ng-shared';
|
|
2
|
-
import { IPromptHistoryResponseDto } from '
|
|
2
|
+
import { IPromptHistoryResponseDto } from './prompt-history-response.dto';
|
|
3
3
|
export interface IAgentResponseDto extends IBaseDbResponseDto {
|
|
4
4
|
identifier: string;
|
|
5
5
|
description: string;
|
|
@@ -21,4 +21,6 @@ export interface IAgentResponseDto extends IBaseDbResponseDto {
|
|
|
21
21
|
llmUserPromptHistory?: IPromptHistoryResponseDto;
|
|
22
22
|
llmSystemPromptHistoryId?: number;
|
|
23
23
|
llmSystemPromptHistory?: IPromptHistoryResponseDto;
|
|
24
|
+
ragModel?: string;
|
|
25
|
+
ragProvider?: string;
|
|
24
26
|
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { IBaseDbResponseDto } from '@sftech/ng-shared';
|
|
2
|
+
import { EAgentRunStatus } from '../enums/agent-run-status.enum';
|
|
3
|
+
import { IChatResponseDto } from './chat-response.dto';
|
|
4
|
+
export interface IAgentRunResponseDto extends IBaseDbResponseDto {
|
|
5
|
+
status: EAgentRunStatus;
|
|
6
|
+
step: string;
|
|
7
|
+
startedAt?: Date;
|
|
8
|
+
endedAt?: Date;
|
|
9
|
+
agentId?: number;
|
|
10
|
+
chatId?: number;
|
|
11
|
+
chat?: IChatResponseDto;
|
|
12
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { BaseDbModel, EFilterTypes } from '@sftech/ng-shared';
|
|
2
|
+
import { IAgentRunResponseDto } from '../dtos/agent-run-response.dto';
|
|
3
|
+
import { EAgentRunStatus } from '../enums/agent-run-status.enum';
|
|
4
|
+
import { Agent } from './agent.model';
|
|
5
|
+
import { Chat } from './chat.model';
|
|
6
|
+
export declare class AgentRun extends BaseDbModel {
|
|
7
|
+
status: EAgentRunStatus;
|
|
8
|
+
step: string;
|
|
9
|
+
startedAt?: Date;
|
|
10
|
+
endedAt?: Date;
|
|
11
|
+
agentId?: number;
|
|
12
|
+
agent?: Agent;
|
|
13
|
+
chatId?: number;
|
|
14
|
+
chat?: Chat;
|
|
15
|
+
propertiesToShow: string[];
|
|
16
|
+
propertyUINames: Map<string, string>;
|
|
17
|
+
propertyFilterType: Map<string, EFilterTypes>;
|
|
18
|
+
fromDto(dto: IAgentRunResponseDto): AgentRun;
|
|
19
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BaseDbModel, EFilterTypes } from '@sftech/ng-shared';
|
|
2
|
-
import { PromptHistory } from '../../../prompts/core/models/prompt-history.model';
|
|
3
|
-
import { Prompt } from '../../../prompts/core/models/prompt.model';
|
|
4
2
|
import { IAgentResponseDto } from '../dtos/agent-response.dto';
|
|
3
|
+
import { PromptHistory } from './prompt-history.model';
|
|
4
|
+
import { Prompt } from './prompt.model';
|
|
5
5
|
export declare class Agent extends BaseDbModel {
|
|
6
6
|
identifier: string;
|
|
7
7
|
description: string;
|
|
@@ -23,6 +23,8 @@ export declare class Agent extends BaseDbModel {
|
|
|
23
23
|
llmUserPromptHistory?: PromptHistory;
|
|
24
24
|
llmSystemPromptHistoryId?: number;
|
|
25
25
|
llmSystemPromptHistory?: PromptHistory;
|
|
26
|
+
ragModel?: string;
|
|
27
|
+
ragProvider?: string;
|
|
26
28
|
propertiesToShow: string[];
|
|
27
29
|
propertyUINames: Map<string, string>;
|
|
28
30
|
propertyFilterType: Map<string, EFilterTypes>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { BaseDbModel } from '@sftech/ng-shared';
|
|
2
|
+
import { IChatMessageResponseDto } from '../dtos/chat-message-response.dto';
|
|
3
|
+
import { Chat } from './chat.model';
|
|
4
|
+
export declare class ChatMessage extends BaseDbModel {
|
|
5
|
+
message: string;
|
|
6
|
+
messageType: string;
|
|
7
|
+
chatId: number;
|
|
8
|
+
chat?: Chat;
|
|
9
|
+
fromDto(dto: IChatMessageResponseDto): ChatMessage;
|
|
10
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { BaseDbModel } from '@sftech/ng-shared';
|
|
2
|
+
import { IChatResponseDto } from '../dtos/chat-response.dto';
|
|
3
|
+
import { ChatMessage } from './chat-message.model';
|
|
4
|
+
export declare class Chat extends BaseDbModel {
|
|
5
|
+
messages: ChatMessage[];
|
|
6
|
+
agentId: number;
|
|
7
|
+
fromDto(dto: IChatResponseDto): Chat;
|
|
8
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { BaseDbApiService, MappedApiError, MappedApiResponse } from '@sftech/ng-shared';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import { IOrchestratorConfig } from '../configuration/orchestrator-config.interface';
|
|
5
|
+
import { IAgentRunCreateRequestDto } from '../dtos/agent-run-create-request.dto';
|
|
6
|
+
import { IAgentRunResponseDto } from '../dtos/agent-run-response.dto';
|
|
7
|
+
import { AgentRun } from '../models/agent-run.model';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class AgentRunService extends BaseDbApiService<AgentRun, IAgentRunCreateRequestDto, IAgentRunResponseDto, IAgentRunResponseDto> {
|
|
10
|
+
protected readonly http: HttpClient;
|
|
11
|
+
protected readonly config: IOrchestratorConfig;
|
|
12
|
+
constructor(http: HttpClient, config: IOrchestratorConfig);
|
|
13
|
+
insert(dto: IAgentRunCreateRequestDto): Observable<MappedApiResponse<AgentRun> | MappedApiError>;
|
|
14
|
+
update(id: number, dto: IAgentRunResponseDto): Observable<MappedApiResponse<AgentRun> | MappedApiError>;
|
|
15
|
+
delete(id: number): Observable<MappedApiResponse<AgentRun> | MappedApiError>;
|
|
16
|
+
protected getNewModel(): AgentRun;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AgentRunService, never>;
|
|
18
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AgentRunService>;
|
|
19
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpClient } from '@angular/common/http';
|
|
2
2
|
import { BaseDbApiService } from '@sftech/ng-shared';
|
|
3
|
-
import { IOrchestratorConfig } from '
|
|
3
|
+
import { IOrchestratorConfig } from '../configuration/orchestrator-config.interface';
|
|
4
4
|
import { IAgentCreateDto } from '../dtos/agent-create-request.dto';
|
|
5
5
|
import { IAgentResponseDto } from '../dtos/agent-response.dto';
|
|
6
6
|
import { IAgentUpdateDto } from '../dtos/agent-update-request.dto';
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { BaseDbApiService, MappedApiError, MappedApiResponse, MappedOdataResponse, OData } from '@sftech/ng-shared';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import { IOrchestratorConfig } from '../configuration/orchestrator-config.interface';
|
|
5
|
+
import { IChatCreateRequestDto } from '../dtos/chat-create-request.dto';
|
|
6
|
+
import { IChatResponseDto } from '../dtos/chat-response.dto';
|
|
7
|
+
import { IChatUpdateRequestDto } from '../dtos/chat-update-request.dto';
|
|
8
|
+
import { Chat } from '../models/chat.model';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export declare class ChatService extends BaseDbApiService<Chat, IChatCreateRequestDto, IChatUpdateRequestDto, IChatResponseDto> {
|
|
11
|
+
protected readonly http: HttpClient;
|
|
12
|
+
protected readonly config: IOrchestratorConfig;
|
|
13
|
+
constructor(http: HttpClient, config: IOrchestratorConfig);
|
|
14
|
+
odata(odataQuery: OData): Observable<MappedOdataResponse<Chat> | MappedApiError>;
|
|
15
|
+
insert(dto: IChatCreateRequestDto): Observable<MappedApiResponse<Chat> | MappedApiError>;
|
|
16
|
+
update(id: number, dto: IChatUpdateRequestDto): Observable<MappedApiResponse<Chat> | MappedApiError>;
|
|
17
|
+
protected getNewModel(): Chat;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ChatService, never>;
|
|
19
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ChatService>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { NgZone } from '@angular/core';
|
|
3
|
+
import { MappedApiError, MappedApiResponseRaw } from '@sftech/ng-shared';
|
|
4
|
+
import { Observable } from 'rxjs';
|
|
5
|
+
import { IOrchestratorConfig } from '../configuration/orchestrator-config.interface';
|
|
6
|
+
import { IOrchestratorRunDto } from '../dtos/orchestrator-run.dto';
|
|
7
|
+
import { IRagInfoDto } from '../dtos/rag-ingest-config.dto';
|
|
8
|
+
import { AgentRun } from '../models/agent-run.model';
|
|
9
|
+
import { McpTool } from '../models/mcp-tool.model';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
|
+
export declare class OrchestratorService {
|
|
12
|
+
private readonly http;
|
|
13
|
+
private readonly zone;
|
|
14
|
+
private readonly config;
|
|
15
|
+
constructor(http: HttpClient, zone: NgZone, config: IOrchestratorConfig);
|
|
16
|
+
runAgent(runConfig: IOrchestratorRunDto): Observable<MappedApiError | number>;
|
|
17
|
+
observeAgentRun(agentRunId: number): Observable<MappedApiError | AgentRun>;
|
|
18
|
+
getTools(): Observable<MappedApiResponseRaw<McpTool[]>>;
|
|
19
|
+
storeRagDocuments(files: File[], ragInfo: IRagInfoDto): Observable<MappedApiError | boolean>;
|
|
20
|
+
chatAgent(agentRunId: number, message: string): Observable<MappedApiError | number>;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OrchestratorService, never>;
|
|
22
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<OrchestratorService>;
|
|
23
|
+
}
|
package/lib/ng-orchestrator/{prompts/core/services → core/service}/prompt-history.service.d.ts
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpClient } from '@angular/common/http';
|
|
2
2
|
import { BaseDbApiService } from '@sftech/ng-shared';
|
|
3
|
-
import { IOrchestratorConfig } from '
|
|
3
|
+
import { IOrchestratorConfig } from '../configuration/orchestrator-config.interface';
|
|
4
4
|
import { IPromptHistoryResponseDto } from '../dtos/prompt-history-response.dto';
|
|
5
5
|
import { IPromptHistoryUpdateDto } from '../dtos/prompt-history-update.dto';
|
|
6
6
|
import { PromptHistory } from '../models/prompt-history.model';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpClient } from '@angular/common/http';
|
|
2
2
|
import { BaseDbApiService } from '@sftech/ng-shared';
|
|
3
|
-
import { IOrchestratorConfig } from '
|
|
3
|
+
import { IOrchestratorConfig } from '../configuration/orchestrator-config.interface';
|
|
4
4
|
import { IPromptResponseDto } from '../dtos/prompt-request.dto';
|
|
5
5
|
import { IPromptUpdateDto } from '../dtos/prompt-update.dto';
|
|
6
6
|
import { Prompt } from '../models/prompt.model';
|
|
@@ -2,9 +2,10 @@ import { ModuleWithProviders } from '@angular/core';
|
|
|
2
2
|
import { IAppConfig } from '@sftech/ng-shared';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
import * as i1 from "@angular/common";
|
|
5
|
+
import * as i2 from "ngx-markdown";
|
|
5
6
|
export declare class OrchestratorModule {
|
|
6
7
|
static forRoot(config: IAppConfig): ModuleWithProviders<OrchestratorModule>;
|
|
7
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<OrchestratorModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<OrchestratorModule, never, [typeof i1.CommonModule], never>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<OrchestratorModule, never, [typeof i1.CommonModule, typeof i2.MarkdownModule], never>;
|
|
9
10
|
static ɵinj: i0.ɵɵInjectorDeclaration<OrchestratorModule>;
|
|
10
11
|
}
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sftech/ng-orchestrator",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.18",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": "^19.2.0",
|
|
6
6
|
"@angular/core": "^19.2.0",
|
|
7
|
-
"@sftech/ng-shared": ">=0.0.
|
|
7
|
+
"@sftech/ng-shared": ">=0.0.13"
|
|
8
8
|
},
|
|
9
9
|
"sideEffects": false,
|
|
10
10
|
"module": "fesm2022/sftech-ng-orchestrator.mjs",
|
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
import * as i1 from '@angular/common/http';
|
|
2
|
-
import * as i0 from '@angular/core';
|
|
3
|
-
import { Inject, Injectable } from '@angular/core';
|
|
4
|
-
import { BaseDbModel, EFilterTypes, BaseDbApiService } from '@sftech/ng-shared';
|
|
5
|
-
import { a as ORCHESTRATOR_CONFIGURATION } from './sftech-ng-orchestrator-sftech-ng-orchestrator-CICnJ35v.mjs';
|
|
6
|
-
import { b as Prompt } from './sftech-ng-orchestrator-prompt.service-CkWDxT-Y.mjs';
|
|
7
|
-
|
|
8
|
-
class Agent extends BaseDbModel {
|
|
9
|
-
identifier;
|
|
10
|
-
description;
|
|
11
|
-
name;
|
|
12
|
-
connectorUrl;
|
|
13
|
-
isGeneric;
|
|
14
|
-
answerSpecification;
|
|
15
|
-
tools;
|
|
16
|
-
llmProvider;
|
|
17
|
-
llmModel;
|
|
18
|
-
llmTemperature;
|
|
19
|
-
llmTimeout;
|
|
20
|
-
llmRetries;
|
|
21
|
-
llmUserPromptId;
|
|
22
|
-
llmUserPrompt;
|
|
23
|
-
llmSystemPromptId;
|
|
24
|
-
llmSystemPrompt;
|
|
25
|
-
llmUserPromptHistoryId;
|
|
26
|
-
llmUserPromptHistory;
|
|
27
|
-
llmSystemPromptHistoryId;
|
|
28
|
-
llmSystemPromptHistory;
|
|
29
|
-
propertiesToShow = ['name', 'identifier', 'description'];
|
|
30
|
-
propertyUINames = new Map([
|
|
31
|
-
['name', 'Name'],
|
|
32
|
-
['description', 'Beschreibung'],
|
|
33
|
-
['identifier', 'identifier'],
|
|
34
|
-
['llmUserPromptTemplateIdentifier', 'User Prompt Identifier'],
|
|
35
|
-
['connectorUrl', 'Connector-Url'],
|
|
36
|
-
['answerSpecification', 'Answer Specification'],
|
|
37
|
-
['isGeneric', 'Benutzerdefinierter Agent'],
|
|
38
|
-
['tools', 'LLM-Tools'],
|
|
39
|
-
['llmProvider', 'LLM-Provider'],
|
|
40
|
-
['llmModel', 'LLM-Model'],
|
|
41
|
-
['llmTemperature', 'LLM-Temperature'],
|
|
42
|
-
['llmTimeout', 'LLM-Timeout'],
|
|
43
|
-
['llmRetries', 'LLM-Retries'],
|
|
44
|
-
['llmUserPromptId', 'User Prompt ID'],
|
|
45
|
-
['llmUserPrompt', 'User Prompt Template'],
|
|
46
|
-
['llmSystemPromptId', 'System Prompt ID'],
|
|
47
|
-
['llmSystemPrompt', 'System Prompt Template'],
|
|
48
|
-
]);
|
|
49
|
-
propertyFilterType = new Map([
|
|
50
|
-
['name', EFilterTypes.STRING],
|
|
51
|
-
['template', EFilterTypes.STRING],
|
|
52
|
-
['identifier', EFilterTypes.STRING],
|
|
53
|
-
]);
|
|
54
|
-
fromDto(dto) {
|
|
55
|
-
const model = new Agent();
|
|
56
|
-
model.id = dto.id;
|
|
57
|
-
model.createdAt = new Date(dto.createdAt);
|
|
58
|
-
model.name = dto.name;
|
|
59
|
-
model.identifier = dto.identifier;
|
|
60
|
-
model.description = dto.description;
|
|
61
|
-
model.connectorUrl = dto.connectorUrl;
|
|
62
|
-
model.isGeneric = dto.isGeneric;
|
|
63
|
-
model.answerSpecification = dto.answerSpecification;
|
|
64
|
-
model.tools = dto.tools ? dto.tools : [];
|
|
65
|
-
model.llmProvider = dto.llmProvider;
|
|
66
|
-
model.llmModel = dto.llmModel;
|
|
67
|
-
model.llmTemperature = dto.llmTemperature;
|
|
68
|
-
model.llmTimeout = dto.llmTimeout;
|
|
69
|
-
model.llmRetries = dto.llmRetries;
|
|
70
|
-
model.llmUserPrompt = dto.llmUserPrompt ? Prompt.fromDto(dto.llmUserPrompt) : undefined;
|
|
71
|
-
model.llmUserPromptId = dto.llmUserPromptId;
|
|
72
|
-
model.llmSystemPrompt = dto.llmSystemPrompt ? Prompt.fromDto(dto.llmSystemPrompt) : undefined;
|
|
73
|
-
model.llmSystemPromptId = dto.llmSystemPromptId;
|
|
74
|
-
model.llmUserPromptHistory = dto.llmUserPromptHistory ? Prompt.fromDto(dto.llmUserPromptHistory) : undefined;
|
|
75
|
-
model.llmUserPromptHistoryId = dto.llmUserPromptHistoryId;
|
|
76
|
-
model.llmSystemPromptHistory = dto.llmSystemPromptHistory ? Prompt.fromDto(dto.llmSystemPromptHistory) : undefined;
|
|
77
|
-
model.llmSystemPromptHistoryId = dto.llmSystemPromptHistoryId;
|
|
78
|
-
return model;
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
class AgentService extends BaseDbApiService {
|
|
83
|
-
http;
|
|
84
|
-
config;
|
|
85
|
-
constructor(http, config) {
|
|
86
|
-
super(http, config);
|
|
87
|
-
this.http = http;
|
|
88
|
-
this.config = config;
|
|
89
|
-
this.url = `${this.config.orchestratorDbUrl}/agents`;
|
|
90
|
-
}
|
|
91
|
-
getNewModel() {
|
|
92
|
-
return new Agent();
|
|
93
|
-
}
|
|
94
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: AgentService, deps: [{ token: i1.HttpClient }, { token: ORCHESTRATOR_CONFIGURATION }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
95
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: AgentService, providedIn: 'root' });
|
|
96
|
-
}
|
|
97
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: AgentService, decorators: [{
|
|
98
|
-
type: Injectable,
|
|
99
|
-
args: [{ providedIn: 'root' }]
|
|
100
|
-
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
101
|
-
type: Inject,
|
|
102
|
-
args: [ORCHESTRATOR_CONFIGURATION]
|
|
103
|
-
}] }] });
|
|
104
|
-
|
|
105
|
-
export { AgentService as A, Agent as a };
|
|
106
|
-
//# sourceMappingURL=sftech-ng-orchestrator-agent.service-BI5zPQT-.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"sftech-ng-orchestrator-agent.service-BI5zPQT-.mjs","sources":["../../../../libs/ng-orchestrator/src/lib/ng-orchestrator/agents/core/models/agent.model.ts","../../../../libs/ng-orchestrator/src/lib/ng-orchestrator/agents/core/services/agent.service.ts"],"sourcesContent":["import { BaseDbModel, EFilterTypes, IBaseDbResponseDto } from '@sftech/ng-shared';\r\nimport { IPromptHistoryResponseDto } from '../../../prompts/core/dtos/prompt-history-response.dto';\r\nimport { PromptHistory } from '../../../prompts/core/models/prompt-history.model';\r\nimport { Prompt } from '../../../prompts/core/models/prompt.model';\r\nimport { IAgentResponseDto } from '../dtos/agent-response.dto';\r\n\r\nexport class Agent extends BaseDbModel {\r\n public identifier!: string;\r\n\r\n public description!: string;\r\n\r\n public name!: string;\r\n\r\n public connectorUrl!: string;\r\n\r\n public isGeneric!: boolean;\r\n\r\n public answerSpecification!: string;\r\n\r\n public tools!: string[];\r\n\r\n public llmProvider!: string;\r\n\r\n public llmModel!: string;\r\n\r\n public llmTemperature!: number;\r\n\r\n public llmTimeout?: number;\r\n\r\n public llmRetries?: number;\r\n\r\n public llmUserPromptId!: number;\r\n\r\n public llmUserPrompt?: Prompt;\r\n\r\n public llmSystemPromptId!: number;\r\n\r\n public llmSystemPrompt?: Prompt;\r\n\r\n public llmUserPromptHistoryId?: number;\r\n\r\n public llmUserPromptHistory?: PromptHistory;\r\n\r\n public llmSystemPromptHistoryId?: number;\r\n\r\n public llmSystemPromptHistory?: PromptHistory;\r\n\r\n public override propertiesToShow = ['name', 'identifier', 'description'];\r\n\r\n public override propertyUINames = new Map<string, string>([\r\n ['name', 'Name'],\r\n ['description', 'Beschreibung'],\r\n ['identifier', 'identifier'],\r\n ['llmUserPromptTemplateIdentifier', 'User Prompt Identifier'],\r\n ['connectorUrl', 'Connector-Url'],\r\n ['answerSpecification', 'Answer Specification'],\r\n ['isGeneric', 'Benutzerdefinierter Agent'],\r\n ['tools', 'LLM-Tools'],\r\n ['llmProvider', 'LLM-Provider'],\r\n ['llmModel', 'LLM-Model'],\r\n ['llmTemperature', 'LLM-Temperature'],\r\n ['llmTimeout', 'LLM-Timeout'],\r\n ['llmRetries', 'LLM-Retries'],\r\n ['llmUserPromptId', 'User Prompt ID'],\r\n ['llmUserPrompt', 'User Prompt Template'],\r\n ['llmSystemPromptId', 'System Prompt ID'],\r\n ['llmSystemPrompt', 'System Prompt Template'],\r\n ]);\r\n\r\n public override propertyFilterType = new Map<string, EFilterTypes>([\r\n ['name', EFilterTypes.STRING],\r\n ['template', EFilterTypes.STRING],\r\n ['identifier', EFilterTypes.STRING],\r\n ]);\r\n\r\n public override fromDto(dto: IAgentResponseDto): Agent {\r\n const model = new Agent();\r\n model.id = dto.id;\r\n model.createdAt = new Date(dto.createdAt);\r\n model.name = dto.name;\r\n model.identifier = dto.identifier;\r\n model.description = dto.description;\r\n model.connectorUrl = dto.connectorUrl;\r\n model.isGeneric = dto.isGeneric;\r\n model.answerSpecification = dto.answerSpecification;\r\n model.tools = dto.tools ? dto.tools : [];\r\n model.llmProvider = dto.llmProvider;\r\n model.llmModel = dto.llmModel;\r\n model.llmTemperature = dto.llmTemperature;\r\n model.llmTimeout = dto.llmTimeout;\r\n model.llmRetries = dto.llmRetries;\r\n model.llmUserPrompt = dto.llmUserPrompt ? (Prompt.fromDto(dto.llmUserPrompt) as Prompt) : undefined;\r\n model.llmUserPromptId = dto.llmUserPromptId;\r\n model.llmSystemPrompt = dto.llmSystemPrompt ? (Prompt.fromDto(dto.llmSystemPrompt) as Prompt) : undefined;\r\n model.llmSystemPromptId = dto.llmSystemPromptId;\r\n model.llmUserPromptHistory = dto.llmUserPromptHistory ? (Prompt.fromDto(dto.llmUserPromptHistory) as PromptHistory) : undefined;\r\n model.llmUserPromptHistoryId = dto.llmUserPromptHistoryId;\r\n model.llmSystemPromptHistory = dto.llmSystemPromptHistory ? (Prompt.fromDto(dto.llmSystemPromptHistory) as PromptHistory) : undefined;\r\n model.llmSystemPromptHistoryId = dto.llmSystemPromptHistoryId;\r\n return model;\r\n }\r\n}\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { Inject, Injectable } from '@angular/core';\r\nimport { BaseDbApiService } from '@sftech/ng-shared';\r\nimport { IOrchestratorConfig } from '../../../core/configuration/orchestrator-config.interface';\r\nimport { ORCHESTRATOR_CONFIGURATION } from '../../../core/configuration/orchestrator-configuration.token';\r\nimport { IAgentCreateDto } from '../dtos/agent-create-request.dto';\r\nimport { IAgentResponseDto } from '../dtos/agent-response.dto';\r\nimport { IAgentUpdateDto } from '../dtos/agent-update-request.dto';\r\nimport { Agent } from '../models/agent.model';\r\n\r\n@Injectable({ providedIn: 'root' })\r\nexport class AgentService extends BaseDbApiService<Agent, IAgentCreateDto, IAgentUpdateDto, IAgentResponseDto> {\r\n constructor(\r\n protected override readonly http: HttpClient,\r\n @Inject(ORCHESTRATOR_CONFIGURATION) protected override readonly config: IOrchestratorConfig,\r\n ) {\r\n super(http, config);\r\n this.url = `${this.config.orchestratorDbUrl}/agents`;\r\n }\r\n\r\n protected getNewModel(): Agent {\r\n return new Agent();\r\n }\r\n}\r\n"],"names":[],"mappings":";;;;;;;AAMM,MAAO,KAAM,SAAQ,WAAW,CAAA;AAC3B,IAAA,UAAU;AAEV,IAAA,WAAW;AAEX,IAAA,IAAI;AAEJ,IAAA,YAAY;AAEZ,IAAA,SAAS;AAET,IAAA,mBAAmB;AAEnB,IAAA,KAAK;AAEL,IAAA,WAAW;AAEX,IAAA,QAAQ;AAER,IAAA,cAAc;AAEd,IAAA,UAAU;AAEV,IAAA,UAAU;AAEV,IAAA,eAAe;AAEf,IAAA,aAAa;AAEb,IAAA,iBAAiB;AAEjB,IAAA,eAAe;AAEf,IAAA,sBAAsB;AAEtB,IAAA,oBAAoB;AAEpB,IAAA,wBAAwB;AAExB,IAAA,sBAAsB;IAEb,gBAAgB,GAAG,CAAC,MAAM,EAAE,YAAY,EAAE,aAAa,CAAC;IAExD,eAAe,GAAG,IAAI,GAAG,CAAiB;QACtD,CAAC,MAAM,EAAE,MAAM,CAAC;QAChB,CAAC,aAAa,EAAE,cAAc,CAAC;QAC/B,CAAC,YAAY,EAAE,YAAY,CAAC;QAC5B,CAAC,iCAAiC,EAAE,wBAAwB,CAAC;QAC7D,CAAC,cAAc,EAAE,eAAe,CAAC;QACjC,CAAC,qBAAqB,EAAE,sBAAsB,CAAC;QAC/C,CAAC,WAAW,EAAE,2BAA2B,CAAC;QAC1C,CAAC,OAAO,EAAE,WAAW,CAAC;QACtB,C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