@dataclouder/ngx-agent-cards 0.1.43 → 0.1.45
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
|
@@ -486,42 +486,6 @@ declare function provideAgentCardService(serviceImplementation: Type<DefaultAgen
|
|
|
486
486
|
|
|
487
487
|
declare function extractJsonFromResponse(content: string): any;
|
|
488
488
|
|
|
489
|
-
/**
|
|
490
|
-
* @deprecated use userService directly instead
|
|
491
|
-
*/
|
|
492
|
-
interface UserDataExchange {
|
|
493
|
-
imgUrl: string;
|
|
494
|
-
name: string;
|
|
495
|
-
gender: string;
|
|
496
|
-
age: number;
|
|
497
|
-
baseLang?: string;
|
|
498
|
-
targetLang?: string;
|
|
499
|
-
}
|
|
500
|
-
/**
|
|
501
|
-
* @deprecated use userService directly instead
|
|
502
|
-
*/
|
|
503
|
-
declare const USER_DATA_EXCHANGE: InjectionToken<UserDataExchangeAbstractService>;
|
|
504
|
-
/**
|
|
505
|
-
* @deprecated use userService directly instead
|
|
506
|
-
*/
|
|
507
|
-
declare function provideUserDataExchange(serviceImplementation: Type<UserDataExchangeAbstractService>): Provider[];
|
|
508
|
-
/**
|
|
509
|
-
* @deprecated use userService directly instead
|
|
510
|
-
*/
|
|
511
|
-
declare abstract class UserDataExchangeAbstractService {
|
|
512
|
-
abstract getUserDataExchange(): UserDataExchange;
|
|
513
|
-
abstract getUserDataDescriptions(): {
|
|
514
|
-
key: string;
|
|
515
|
-
value: any;
|
|
516
|
-
description: string;
|
|
517
|
-
}[];
|
|
518
|
-
abstract getParseDict(): {
|
|
519
|
-
[key: string]: string;
|
|
520
|
-
};
|
|
521
|
-
abstract getUserChatSettings(): ChatUserSettings;
|
|
522
|
-
abstract getUserDataInformation(): string;
|
|
523
|
-
}
|
|
524
|
-
|
|
525
489
|
declare const getMoodStateLabelsAsString: () => string;
|
|
526
490
|
declare const MOOD_STATE_PROMPT: string;
|
|
527
491
|
|
|
@@ -559,7 +523,6 @@ declare class AudioService {
|
|
|
559
523
|
}
|
|
560
524
|
|
|
561
525
|
declare class ConversationPromptBuilderService {
|
|
562
|
-
private userDataExchange;
|
|
563
526
|
private userService;
|
|
564
527
|
buildConversationSettings(agentCard: IAgentCard, parseDict?: {
|
|
565
528
|
[key: string]: string;
|
|
@@ -790,10 +753,10 @@ declare class DCChatComponent implements OnInit, OnDestroy {
|
|
|
790
753
|
private conversationInfoService;
|
|
791
754
|
private conversationService;
|
|
792
755
|
evaluationService: EvaluationService;
|
|
793
|
-
private userDataExchange;
|
|
794
756
|
messageStateService: MessagesStateService;
|
|
795
757
|
private dialogService;
|
|
796
758
|
private chatMonitorService;
|
|
759
|
+
private userService;
|
|
797
760
|
private chatFooterComponent;
|
|
798
761
|
chatUserSettings: ChatUserSettings;
|
|
799
762
|
conversationSettings: IConversationSettings;
|
|
@@ -961,6 +924,7 @@ declare class AgentCardUI implements OnInit {
|
|
|
961
924
|
isTaken: _angular_core.WritableSignal<boolean>;
|
|
962
925
|
userService: UserService;
|
|
963
926
|
speedDialModel: MenuItem[];
|
|
927
|
+
constructor();
|
|
964
928
|
ngOnInit(): void;
|
|
965
929
|
readonly card: _angular_core.InputSignal<IAgentCard>;
|
|
966
930
|
readonly showOptions: _angular_core.InputSignal<boolean>;
|
|
@@ -1184,5 +1148,5 @@ declare class CardsCreatorComponent {
|
|
|
1184
1148
|
|
|
1185
1149
|
declare const AGENT_CARDS_STATE_SERVICE: InjectionToken<MasterStateService<IAgentCard>>;
|
|
1186
1150
|
|
|
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,
|
|
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,
|
|
1151
|
+
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, VoiceTTSOption, VoiceTTSOptions, WordTimestamps, buildObjectTTSRequest, characterCardStringDataDefinition, convertToHTML, createAIModelFormGroup, defaultconvUserSettings, extractAudioAndTranscription, extractJsonFromResponse, getMoodStateLabelsAsString, markdownToHtml, matchTranscription, provideAgentCardService, removeEmojis, removeEmojisAndSpecialCharacters, removeSpecialCharacters };
|
|
1152
|
+
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, VoiceCloning, VoiceTTS, WordData };
|