@dataclouder/ngx-agent-cards 0.1.41 → 0.1.43
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/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ImgStorageData,
|
|
1
|
+
import { ImgStorageData, BasicStorage, AudioStorage, IAssetable, StorageImageSettings, FileStorageData } from '@dataclouder/ngx-cloud-storage';
|
|
2
2
|
import * as _dataclouder_ngx_core from '@dataclouder/ngx-core';
|
|
3
|
-
import { ChatUserSettings, EModelQuality, IAIModel, IManageable, EntityCommunicationService, FiltersConfig, IFilterQueryResponse, EntityBaseFormComponent, EntityBaseListComponent, ICustomFilter, PColumn, OnActionEvent } from '@dataclouder/ngx-core';
|
|
3
|
+
import { ChatUserSettings, EModelQuality, IAIModel, IManageable, EntityCommunicationService, FiltersConfig, IFilterQueryResponse, HttpCoreService, EntityBaseFormComponent, EntityBaseListComponent, ICustomFilter, PColumn, OnActionEvent } from '@dataclouder/ngx-core';
|
|
4
4
|
import * as _angular_forms from '@angular/forms';
|
|
5
5
|
import { FormGroup, FormControl, FormArray } from '@angular/forms';
|
|
6
6
|
import { AudioEffectType, TTSRequest } from '@dataclouder/ngx-vertex';
|
|
@@ -8,6 +8,8 @@ import * as _angular_core from '@angular/core';
|
|
|
8
8
|
import { InjectionToken, Type, Provider, WritableSignal, Injector, Signal, OnInit, OnDestroy, TemplateRef } from '@angular/core';
|
|
9
9
|
import { MicSettings } from '@dataclouder/ngx-mic';
|
|
10
10
|
import * as _dataclouder_ngx_agent_cards from '@dataclouder/ngx-agent-cards';
|
|
11
|
+
import * as _dataclouder_ngx_knowledge from '@dataclouder/ngx-knowledge';
|
|
12
|
+
import { MasterStateService } from '@dataclouder/ngx-knowledge';
|
|
11
13
|
import { MenuItem } from 'primeng/api';
|
|
12
14
|
import { UserService } from '@dataclouder/ngx-users';
|
|
13
15
|
|
|
@@ -137,6 +139,7 @@ type ConversationFlowFormGroup = FormGroup<{
|
|
|
137
139
|
challenges: FormArray<DynamicCriteriaFormGroup>;
|
|
138
140
|
tools: FormArray<DynamicCriteriaFormGroup>;
|
|
139
141
|
dynamicConditions: FormArray<DynamicConditionFormGroup>;
|
|
142
|
+
moodStateEnabled: FormControl<boolean>;
|
|
140
143
|
}>;
|
|
141
144
|
type ConversationSettingsFormGroup = FormGroup<{
|
|
142
145
|
textEngine: FormControl<TextEngines>;
|
|
@@ -219,6 +222,7 @@ interface IConversationSettings {
|
|
|
219
222
|
}
|
|
220
223
|
type IConversationSettingsDTO = Partial<IConversationSettings> & {
|
|
221
224
|
returnJson?: boolean;
|
|
225
|
+
type?: string;
|
|
222
226
|
};
|
|
223
227
|
interface IAgentResponseDTO {
|
|
224
228
|
role: ChatRole;
|
|
@@ -236,7 +240,7 @@ interface IAgentResponseDTO {
|
|
|
236
240
|
}
|
|
237
241
|
interface IAgentAssets {
|
|
238
242
|
image?: ImgStorageData;
|
|
239
|
-
motion?:
|
|
243
|
+
motion?: BasicStorage;
|
|
240
244
|
bannerImg?: ImgStorageData;
|
|
241
245
|
stickers?: Array<ImgStorageData>;
|
|
242
246
|
}
|
|
@@ -289,17 +293,23 @@ interface IConversationFlow {
|
|
|
289
293
|
triggerTasks: Partial<Record<ConversationEvents, IDynamicFlowTask>>;
|
|
290
294
|
challenges?: IDynamicCriteria[];
|
|
291
295
|
dynamicConditions: IDynamicCondition[];
|
|
296
|
+
moodStateEnabled: boolean;
|
|
292
297
|
}
|
|
293
298
|
declare enum EAgentType {
|
|
294
299
|
None,
|
|
295
300
|
Social = "social",
|
|
296
301
|
Character = "character"
|
|
297
302
|
}
|
|
303
|
+
interface VoiceCloning {
|
|
304
|
+
sample: AudioStorage;
|
|
305
|
+
transcription: string;
|
|
306
|
+
}
|
|
298
307
|
interface IAgentCard {
|
|
299
308
|
version?: string;
|
|
300
309
|
_id?: string;
|
|
301
310
|
id?: string;
|
|
302
311
|
title?: string;
|
|
312
|
+
name?: string;
|
|
303
313
|
description?: string;
|
|
304
314
|
agentType?: EAgentType;
|
|
305
315
|
lang?: string;
|
|
@@ -449,6 +459,7 @@ declare enum ContextType {
|
|
|
449
459
|
|
|
450
460
|
declare class DefaultAgentCardsService extends EntityCommunicationService<IAgentCard> {
|
|
451
461
|
private conversationCostService;
|
|
462
|
+
randomSeed: number;
|
|
452
463
|
constructor();
|
|
453
464
|
partialUpdateAgentCard(agentCard: IAgentCard): Promise<IAgentCard>;
|
|
454
465
|
generateMainImage(idCard: string): Promise<any>;
|
|
@@ -475,6 +486,9 @@ declare function provideAgentCardService(serviceImplementation: Type<DefaultAgen
|
|
|
475
486
|
|
|
476
487
|
declare function extractJsonFromResponse(content: string): any;
|
|
477
488
|
|
|
489
|
+
/**
|
|
490
|
+
* @deprecated use userService directly instead
|
|
491
|
+
*/
|
|
478
492
|
interface UserDataExchange {
|
|
479
493
|
imgUrl: string;
|
|
480
494
|
name: string;
|
|
@@ -483,8 +497,17 @@ interface UserDataExchange {
|
|
|
483
497
|
baseLang?: string;
|
|
484
498
|
targetLang?: string;
|
|
485
499
|
}
|
|
500
|
+
/**
|
|
501
|
+
* @deprecated use userService directly instead
|
|
502
|
+
*/
|
|
486
503
|
declare const USER_DATA_EXCHANGE: InjectionToken<UserDataExchangeAbstractService>;
|
|
504
|
+
/**
|
|
505
|
+
* @deprecated use userService directly instead
|
|
506
|
+
*/
|
|
487
507
|
declare function provideUserDataExchange(serviceImplementation: Type<UserDataExchangeAbstractService>): Provider[];
|
|
508
|
+
/**
|
|
509
|
+
* @deprecated use userService directly instead
|
|
510
|
+
*/
|
|
488
511
|
declare abstract class UserDataExchangeAbstractService {
|
|
489
512
|
abstract getUserDataExchange(): UserDataExchange;
|
|
490
513
|
abstract getUserDataDescriptions(): {
|
|
@@ -537,6 +560,7 @@ declare class AudioService {
|
|
|
537
560
|
|
|
538
561
|
declare class ConversationPromptBuilderService {
|
|
539
562
|
private userDataExchange;
|
|
563
|
+
private userService;
|
|
540
564
|
buildConversationSettings(agentCard: IAgentCard, parseDict?: {
|
|
541
565
|
[key: string]: string;
|
|
542
566
|
}): IConversationSettings;
|
|
@@ -667,6 +691,26 @@ declare class AIGenerationService {
|
|
|
667
691
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AIGenerationService>;
|
|
668
692
|
}
|
|
669
693
|
|
|
694
|
+
interface IGenerateConversationCardsDto {
|
|
695
|
+
idea: string;
|
|
696
|
+
langCode?: string;
|
|
697
|
+
numCards?: number;
|
|
698
|
+
}
|
|
699
|
+
declare class AgentCardsGenerationService {
|
|
700
|
+
private httpService;
|
|
701
|
+
constructor(httpService: HttpCoreService);
|
|
702
|
+
generateConversationCard(idea: string, targetLang: string): Promise<any>;
|
|
703
|
+
generateIdeasConversationCards(options: IGenerateConversationCardsDto & {
|
|
704
|
+
language: string;
|
|
705
|
+
}): Promise<any>;
|
|
706
|
+
completePendingCards(): Promise<any>;
|
|
707
|
+
generateImagePendingConversationCards(): Promise<any>;
|
|
708
|
+
generateImageForCard(id: string): Promise<any>;
|
|
709
|
+
generateMissingDataConversationCards(id: string): Promise<any>;
|
|
710
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AgentCardsGenerationService, never>;
|
|
711
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AgentCardsGenerationService>;
|
|
712
|
+
}
|
|
713
|
+
|
|
670
714
|
type EvaluationLevel = 1 | 2 | 3 | 4 | 5;
|
|
671
715
|
type CommunicationLevel = 'Beginner' | 'Intermediate' | 'Advanced' | 'Native-like';
|
|
672
716
|
type DominantRegister = 'formal' | 'informal' | 'mixed';
|
|
@@ -721,7 +765,7 @@ declare class EvaluationService {
|
|
|
721
765
|
private evaluationResultSignal;
|
|
722
766
|
isGoalCompleted: _angular_core.WritableSignal<boolean>;
|
|
723
767
|
evaluateGoal(goalTask: IDynamicFlowTask): Promise<any>;
|
|
724
|
-
evaluateConversation(task: SimpleAgentTask, contextType?: ContextType): Promise<IEvaluationResponse>;
|
|
768
|
+
evaluateConversation(task: SimpleAgentTask, contextType?: ContextType, metaType?: string): Promise<IEvaluationResponse>;
|
|
725
769
|
/**
|
|
726
770
|
* Diference with evaluateConversation is task is already processed here.
|
|
727
771
|
* Evaluates a conversation context based on a specific task and attaches the result to a designated message.
|
|
@@ -812,6 +856,7 @@ declare class DCAgentCardFormComponent extends EntityBaseFormComponent<IAgentCar
|
|
|
812
856
|
version: _angular_forms.FormControl<string>;
|
|
813
857
|
id: _angular_forms.FormControl<string>;
|
|
814
858
|
title: _angular_forms.FormControl<string>;
|
|
859
|
+
name: _angular_forms.FormControl<string>;
|
|
815
860
|
description: _angular_forms.FormControl<string>;
|
|
816
861
|
lang: _angular_forms.FormControl<string>;
|
|
817
862
|
agentType: _angular_forms.FormControl<EAgentType>;
|
|
@@ -837,8 +882,15 @@ declare class DCAgentCardFormComponent extends EntityBaseFormComponent<IAgentCar
|
|
|
837
882
|
challenges: FormArray<_dataclouder_ngx_agent_cards.DynamicCriteriaFormGroup>;
|
|
838
883
|
tools: FormArray<_dataclouder_ngx_agent_cards.DynamicCriteriaFormGroup>;
|
|
839
884
|
dynamicConditions: FormArray<_dataclouder_ngx_agent_cards.DynamicConditionFormGroup>;
|
|
885
|
+
moodStateEnabled: _angular_forms.FormControl<boolean>;
|
|
840
886
|
}>;
|
|
841
887
|
manageable: FormGroup<any>;
|
|
888
|
+
learnable: FormGroup<{
|
|
889
|
+
level: _angular_forms.FormControl<number | null>;
|
|
890
|
+
takenCount: _angular_forms.FormControl<number | null>;
|
|
891
|
+
tags: FormArray<_angular_forms.FormControl<string | null>>;
|
|
892
|
+
}>;
|
|
893
|
+
voiceCloning: FormGroup<any>;
|
|
842
894
|
}>;
|
|
843
895
|
protected patchForm(agentCard: IAgentCard): void;
|
|
844
896
|
save(): Promise<IAgentCard | undefined>;
|
|
@@ -855,6 +907,8 @@ declare class DCAgentCardFormComponent extends EntityBaseFormComponent<IAgentCar
|
|
|
855
907
|
assets: Partial<IAssetable>;
|
|
856
908
|
}): void;
|
|
857
909
|
onAssetsChange(event: IAssetable): void;
|
|
910
|
+
goToCardsCreator(): void;
|
|
911
|
+
onFileUploaded(event: FileStorageData): void;
|
|
858
912
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DCAgentCardFormComponent, never>;
|
|
859
913
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DCAgentCardFormComponent, "dc-agent-form", never, { "storageSettings": { "alias": "storageSettings"; "required": false; "isSignal": true; }; }, { "onSave": "onSave"; "onGoDetails": "onGoDetails"; "onTranslate": "onTranslate"; }, never, never, true, never>;
|
|
860
914
|
}
|
|
@@ -864,15 +918,15 @@ declare class AgentCardListComponent extends EntityBaseListComponent<IAgentCard>
|
|
|
864
918
|
readonly showOptions: _angular_core.InputSignal<boolean>;
|
|
865
919
|
readonly gridLayout: _angular_core.InputSignal<boolean>;
|
|
866
920
|
readonly customGetButtons: _angular_core.InputSignal<(card: IAgentCard) => MenuItem[]>;
|
|
921
|
+
readonly agentCardsMasterStateService: _dataclouder_ngx_knowledge.MasterStateService<IAgentCard>;
|
|
922
|
+
userService: UserService;
|
|
867
923
|
protected entityCommunicationService: DefaultAgentCardsService;
|
|
868
|
-
private toastService;
|
|
869
924
|
columns: PColumn[];
|
|
870
925
|
customFilters: ICustomFilter[];
|
|
871
926
|
constructor();
|
|
872
927
|
getCustomButtons(item: IAgentCard): MenuItem[];
|
|
873
928
|
ngOnInit(): Promise<void>;
|
|
874
929
|
handleTableAction(actionEvent: OnActionEvent): void;
|
|
875
|
-
getCardMeta(card: IAgentCard): IAgentCardMeta;
|
|
876
930
|
handleAction(actionEvent: OnActionEvent): void;
|
|
877
931
|
applyFilterBarEvent(filterEvent: OnActionEvent): void;
|
|
878
932
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AgentCardListComponent, never>;
|
|
@@ -904,13 +958,16 @@ declare enum EventCard {
|
|
|
904
958
|
}
|
|
905
959
|
declare class AgentCardUI implements OnInit {
|
|
906
960
|
eventType: typeof EventCard;
|
|
961
|
+
isTaken: _angular_core.WritableSignal<boolean>;
|
|
907
962
|
userService: UserService;
|
|
908
963
|
speedDialModel: MenuItem[];
|
|
909
964
|
ngOnInit(): void;
|
|
910
965
|
readonly card: _angular_core.InputSignal<IAgentCard>;
|
|
911
966
|
readonly showOptions: _angular_core.InputSignal<boolean>;
|
|
912
967
|
readonly onAction: _angular_core.OutputEmitterRef<OnActionEvent>;
|
|
968
|
+
readonly agentCardsMasterStateService: _dataclouder_ngx_knowledge.MasterStateService<IAgentCard>;
|
|
913
969
|
eventCard(eventType: EventCard): void;
|
|
970
|
+
getTaken(): Promise<void>;
|
|
914
971
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AgentCardUI, never>;
|
|
915
972
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AgentCardUI, "dc-agent-card-ui", never, { "card": { "alias": "card"; "required": false; "isSignal": true; }; "showOptions": { "alias": "showOptions"; "required": false; "isSignal": true; }; }, { "onAction": "onAction"; }, never, never, true, never>;
|
|
916
973
|
}
|
|
@@ -976,10 +1033,12 @@ interface IWordMetadata {
|
|
|
976
1033
|
index: number;
|
|
977
1034
|
isHighlighted?: boolean;
|
|
978
1035
|
tag?: string;
|
|
1036
|
+
marked?: boolean;
|
|
979
1037
|
}
|
|
980
1038
|
type AudioState = 'idle' | 'playing' | 'paused' | 'loading' | 'playable';
|
|
981
1039
|
declare class MessageContentDisplayer implements OnDestroy {
|
|
982
1040
|
message: _angular_core.InputSignal<MessageContent>;
|
|
1041
|
+
markWord: _angular_core.InputSignal<string>;
|
|
983
1042
|
readonly playAudio: _angular_core.OutputEmitterRef<MessageContent>;
|
|
984
1043
|
readonly audioCompleted: _angular_core.OutputEmitterRef<MessageContent>;
|
|
985
1044
|
readonly wordClicked: _angular_core.OutputEmitterRef<{
|
|
@@ -989,23 +1048,21 @@ declare class MessageContentDisplayer implements OnDestroy {
|
|
|
989
1048
|
}>;
|
|
990
1049
|
wordWithMeta: _angular_core.WritableSignal<IWordMetadata[]>;
|
|
991
1050
|
audioState: _angular_core.WritableSignal<AudioState>;
|
|
992
|
-
alreadyPlayed: boolean
|
|
1051
|
+
alreadyPlayed: _angular_core.WritableSignal<boolean>;
|
|
993
1052
|
wordsWithMetaState: IWordMetadata[];
|
|
1053
|
+
private audioElement;
|
|
1054
|
+
private destroyRef;
|
|
994
1055
|
iconState: _angular_core.Signal<"paused" | "idle" | "playing" | "loading" | "playable">;
|
|
995
1056
|
shouldPlayAudio: _angular_core.Signal<boolean>;
|
|
996
1057
|
messageText: _angular_core.Signal<string>;
|
|
997
1058
|
classTag: _angular_core.Signal<string>;
|
|
998
1059
|
hasTranscription: _angular_core.Signal<boolean>;
|
|
999
|
-
private audioElement;
|
|
1000
|
-
private destroy$;
|
|
1001
|
-
private destroyRef;
|
|
1002
1060
|
constructor();
|
|
1003
1061
|
trackByIndex(index: number, item: any): number;
|
|
1004
1062
|
ngOnDestroy(): void;
|
|
1005
1063
|
private initializeBasedOnMessage;
|
|
1006
1064
|
private initializeAudio;
|
|
1007
|
-
private
|
|
1008
|
-
private subscribeToEndAudio;
|
|
1065
|
+
private setupAudioEventListeners;
|
|
1009
1066
|
private cleanupAudio;
|
|
1010
1067
|
onPlayMessage(): void;
|
|
1011
1068
|
private initializePlainTextWords;
|
|
@@ -1014,8 +1071,9 @@ declare class MessageContentDisplayer implements OnDestroy {
|
|
|
1014
1071
|
index: number;
|
|
1015
1072
|
} | IWordMetadata): void;
|
|
1016
1073
|
private startAudioPlayback;
|
|
1074
|
+
debug(): void;
|
|
1017
1075
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MessageContentDisplayer, never>;
|
|
1018
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MessageContentDisplayer, "message-content-displayer", never, { "message": { "alias": "message"; "required": true; "isSignal": true; }; }, { "playAudio": "playAudio"; "audioCompleted": "audioCompleted"; "wordClicked": "wordClicked"; }, never, never, true, never>;
|
|
1076
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MessageContentDisplayer, "message-content-displayer", never, { "message": { "alias": "message"; "required": true; "isSignal": true; }; "markWord": { "alias": "markWord"; "required": false; "isSignal": true; }; }, { "playAudio": "playAudio"; "audioCompleted": "audioCompleted"; "wordClicked": "wordClicked"; }, never, never, true, never>;
|
|
1019
1077
|
}
|
|
1020
1078
|
|
|
1021
1079
|
declare function matchTranscription(originalText: string, transcription: any[]): any[];
|
|
@@ -1026,12 +1084,13 @@ declare class ChatMessageOrchestratorComponent implements OnInit {
|
|
|
1026
1084
|
private orchestrationService;
|
|
1027
1085
|
messages: _angular_core.InputSignal<MessageContent[]>;
|
|
1028
1086
|
messageRole: _angular_core.InputSignal<ChatRole>;
|
|
1087
|
+
audioCompleted: _angular_core.OutputEmitterRef<MessageContent>;
|
|
1029
1088
|
messagesSignal: _angular_core.Signal<MessageContent[]>;
|
|
1030
1089
|
ngOnInit(): void;
|
|
1031
1090
|
onAudioCompleted(message: MessageContent): void;
|
|
1032
1091
|
onWordClicked(wordData: WordData): void;
|
|
1033
1092
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ChatMessageOrchestratorComponent, never>;
|
|
1034
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ChatMessageOrchestratorComponent, "dc-message-orchestrator", never, { "messages": { "alias": "messages"; "required": true; "isSignal": true; }; "messageRole": { "alias": "messageRole"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
1093
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ChatMessageOrchestratorComponent, "dc-message-orchestrator", never, { "messages": { "alias": "messages"; "required": true; "isSignal": true; }; "messageRole": { "alias": "messageRole"; "required": true; "isSignal": true; }; }, { "audioCompleted": "audioCompleted"; }, never, never, true, never>;
|
|
1035
1094
|
}
|
|
1036
1095
|
|
|
1037
1096
|
declare class DCConversationUserChatSettingsComponent implements OnInit {
|
|
@@ -1083,5 +1142,47 @@ declare class DCConversationUserChatSettingsComponent implements OnInit {
|
|
|
1083
1142
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DCConversationUserChatSettingsComponent, "dc-chat-settings-dialog", never, { "showFeature": { "alias": "showFeature"; "required": false; "isSignal": true; }; }, { "onSettingsChange": "onSettingsChange"; "closeClicked": "closeClicked"; "settingsApplied": "settingsApplied"; }, never, never, true, never>;
|
|
1084
1143
|
}
|
|
1085
1144
|
|
|
1086
|
-
|
|
1087
|
-
|
|
1145
|
+
declare enum GenerationType {
|
|
1146
|
+
GenerateConversationCard = "GenerateConversationCard",
|
|
1147
|
+
GenerateIdeas = "GenerateIdeas",
|
|
1148
|
+
CompletePendingCards = "CompletePendingCards",
|
|
1149
|
+
GeneratePendingImages = "GeneratePendingImages",
|
|
1150
|
+
GenerateImage = "GenerateImage",
|
|
1151
|
+
GenerateMissingData = "GenerateMissingData"
|
|
1152
|
+
}
|
|
1153
|
+
interface IGenerationOptions {
|
|
1154
|
+
type: GenerationType;
|
|
1155
|
+
idea?: string;
|
|
1156
|
+
targetLang?: string;
|
|
1157
|
+
language?: string;
|
|
1158
|
+
id?: string;
|
|
1159
|
+
options?: IGenerateConversationCardsDto & {
|
|
1160
|
+
language: string;
|
|
1161
|
+
numCards?: number;
|
|
1162
|
+
};
|
|
1163
|
+
}
|
|
1164
|
+
|
|
1165
|
+
declare class CardsCreatorComponent {
|
|
1166
|
+
private readonly agentCardsGenerationService;
|
|
1167
|
+
idea: _angular_core.WritableSignal<string>;
|
|
1168
|
+
targetLang: _angular_core.WritableSignal<string>;
|
|
1169
|
+
language: _angular_core.WritableSignal<string>;
|
|
1170
|
+
cardId: _angular_core.WritableSignal<string>;
|
|
1171
|
+
numCards: _angular_core.WritableSignal<number>;
|
|
1172
|
+
result: _angular_core.WritableSignal<any>;
|
|
1173
|
+
loading: _angular_core.WritableSignal<boolean>;
|
|
1174
|
+
generate(options: IGenerationOptions): Promise<any>;
|
|
1175
|
+
generateConversationCard(): void;
|
|
1176
|
+
generateIdeas(): void;
|
|
1177
|
+
completePendingCards(): void;
|
|
1178
|
+
generatePendingImages(): void;
|
|
1179
|
+
generateImageForCard(): void;
|
|
1180
|
+
generateMissingData(): void;
|
|
1181
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CardsCreatorComponent, never>;
|
|
1182
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CardsCreatorComponent, "app-cards-creator", never, {}, {}, never, never, true, never>;
|
|
1183
|
+
}
|
|
1184
|
+
|
|
1185
|
+
declare const AGENT_CARDS_STATE_SERVICE: InjectionToken<MasterStateService<IAgentCard>>;
|
|
1186
|
+
|
|
1187
|
+
export { AGENT_CARDS_STATE_SERVICE, AIGenerationService, AgentCardListComponent, AgentCardUI, AgentCardsGenerationService, AudioService, AudioSpeed, CONVERSATION_AI_TOKEN, CardsCreatorComponent, ChatEventType, ChatMessage, ChatMessageOrchestratorComponent, ChatMonitorService, ChatRole, ConditionOperator, ConditionType, ContextEngineService, ContextType, ConversationDTO, ConversationEvents, ConversationMessagesDTO, ConversationPromptBuilderService, ConversationType$1 as ConversationType, ConversationTypeOptions, DCAgentCardFormComponent, DCChatComponent, DCConversationUserChatSettingsComponent, DcAgentCardDetailsComponent, DefaultAgentCardsService, DoActionTypeOptions, DynamicFlowService, DynamicFlowTaskTypeOptions, EAccountsPlatform, EAgentType, EDoActionType, EDynamicFlowTaskType, EntityThen, EntityWhatOptions, EntityWhenOptions, EvalResultStringDefinition, GlobalToolsService, MOOD_STATE_PROMPT, MessageContent, MessageContentDisplayer, MessagesStateService, ModelSelectorComponent, PopupService, SystemPromptType, TextEngineOptions, TextEngines, USER_DATA_EXCHANGE, UserDataExchangeAbstractService, VoiceTTSOption, VoiceTTSOptions, WordTimestamps, buildObjectTTSRequest, characterCardStringDataDefinition, convertToHTML, createAIModelFormGroup, defaultconvUserSettings, extractAudioAndTranscription, extractJsonFromResponse, getMoodStateLabelsAsString, markdownToHtml, matchTranscription, provideAgentCardService, provideUserDataExchange, removeEmojis, removeEmojisAndSpecialCharacters, removeSpecialCharacters };
|
|
1188
|
+
export type { Appearance, AudioGenerated, AudioState, BackgroundTask, ChangePromptAction, CharacterCardData, ChatEvent, ConversationFlowFormGroup, ConversationSettingsFormGroup, DoAction, DoActionFormGroup, DynamicConditionFormGroup, DynamicCriteriaFormGroup, IAccounts, IAgentAssets, IAgentCard, IAgentCardMeta, IAgentMetadata, IAgentResponseDTO, ICharacterCardDC, IConversationFlow, IConversationSettings, IConversationSettingsDTO, IDynamicCondition, IDynamicCriteria, IDynamicFlowTask, IGenerateConversationCardsDto, ISimpleAgent, ITTS, IWordMetadata, ModelFormGroup, ModelName, SimpleAgentTask, SimpleAgentTaskFormGroup, SimpleEvalResult, TranscriptionsWhisper, TriggerTasksFormGroup, UserDataExchange, VoiceCloning, VoiceTTS, WordData };
|