@dataclouder/ngx-agent-cards 0.1.92 → 0.1.95
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dataclouder/ngx-agent-cards",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.95",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": ">=18.0.0",
|
|
6
6
|
"@angular/core": ">=18.0.0",
|
|
@@ -32,13 +32,13 @@
|
|
|
32
32
|
},
|
|
33
33
|
"sideEffects": false,
|
|
34
34
|
"module": "fesm2022/dataclouder-ngx-agent-cards.mjs",
|
|
35
|
-
"typings": "
|
|
35
|
+
"typings": "types/dataclouder-ngx-agent-cards.d.ts",
|
|
36
36
|
"exports": {
|
|
37
37
|
"./package.json": {
|
|
38
38
|
"default": "./package.json"
|
|
39
39
|
},
|
|
40
40
|
".": {
|
|
41
|
-
"types": "./
|
|
41
|
+
"types": "./types/dataclouder-ngx-agent-cards.d.ts",
|
|
42
42
|
"default": "./fesm2022/dataclouder-ngx-agent-cards.mjs"
|
|
43
43
|
}
|
|
44
44
|
}
|
|
@@ -10,10 +10,11 @@ import { UserService } from '@dataclouder/ngx-users';
|
|
|
10
10
|
import * as rxjs from 'rxjs';
|
|
11
11
|
import { MicSettings } from '@dataclouder/ngx-mic';
|
|
12
12
|
import * as _dataclouder_ngx_agent_cards from '@dataclouder/ngx-agent-cards';
|
|
13
|
-
import * as
|
|
14
|
-
import { MasterStateService } from '@dataclouder/ngx-knowledge';
|
|
13
|
+
import * as dist_dataclouder_ngx_knowledge_types_dataclouder_ngx_knowledge from 'dist/dataclouder/ngx-knowledge/types/dataclouder-ngx-knowledge';
|
|
15
14
|
import { MenuItem } from 'primeng/api';
|
|
15
|
+
import * as dist_dataclouder_ngx_core_types_dataclouder_ngx_core from 'dist/dataclouder/ngx-core/types/dataclouder-ngx-core';
|
|
16
16
|
import * as _angular_router from '@angular/router';
|
|
17
|
+
import { MasterStateService } from '@dataclouder/ngx-knowledge';
|
|
17
18
|
|
|
18
19
|
declare const defaultconvUserSettings: ChatUserSettings;
|
|
19
20
|
declare class VoiceTTSOption {
|
|
@@ -157,6 +158,7 @@ type ConversationFlowFormGroup = FormGroup<{
|
|
|
157
158
|
useAssetStatesOnly: FormControl<boolean>;
|
|
158
159
|
detectableStates: FormArray<DynamicCriteriaFormGroup>;
|
|
159
160
|
}>;
|
|
161
|
+
performancePrompt: FormControl<string>;
|
|
160
162
|
}>;
|
|
161
163
|
type ConversationSettingsFormGroup = FormGroup<{
|
|
162
164
|
textEngine: FormControl<TextEngines>;
|
|
@@ -573,6 +575,22 @@ declare enum ContextType {
|
|
|
573
575
|
LastUserAndPreviousAssistant = "LastUserAndPreviousAssistant",
|
|
574
576
|
AllConversation = "AllConversation"
|
|
575
577
|
}
|
|
578
|
+
declare enum ConversationStatus {
|
|
579
|
+
Ongoing = "ongoing",
|
|
580
|
+
Completed = "completed"
|
|
581
|
+
}
|
|
582
|
+
interface IConversationSession {
|
|
583
|
+
_id?: string;
|
|
584
|
+
id?: string;
|
|
585
|
+
name?: string;
|
|
586
|
+
description?: string;
|
|
587
|
+
userId?: string;
|
|
588
|
+
agentCardId?: string;
|
|
589
|
+
status?: string;
|
|
590
|
+
messages?: any[];
|
|
591
|
+
conversationAnalysis?: any;
|
|
592
|
+
performanceEvaluation?: any;
|
|
593
|
+
}
|
|
576
594
|
|
|
577
595
|
declare class DefaultAgentCardsService extends EntityCommunicationService<IAgentCard> {
|
|
578
596
|
private conversationCostService;
|
|
@@ -1197,6 +1215,7 @@ declare class DCAgentCardFormComponent extends EntityBaseFormComponent<IAgentCar
|
|
|
1197
1215
|
useAssetStatesOnly: _angular_forms.FormControl<boolean>;
|
|
1198
1216
|
detectableStates: FormArray<_dataclouder_ngx_agent_cards.DynamicCriteriaFormGroup>;
|
|
1199
1217
|
}>;
|
|
1218
|
+
performancePrompt: _angular_forms.FormControl<string>;
|
|
1200
1219
|
}>;
|
|
1201
1220
|
manageable: _angular_forms.FormGroup<any>;
|
|
1202
1221
|
learnable: _angular_forms.FormGroup<{
|
|
@@ -1233,7 +1252,7 @@ declare class AgentCardListComponent extends EntityBaseListV2Component<IAgentCar
|
|
|
1233
1252
|
readonly showOptions: _angular_core.InputSignal<boolean>;
|
|
1234
1253
|
readonly gridLayout: _angular_core.InputSignal<boolean>;
|
|
1235
1254
|
readonly customGetButtons: _angular_core.InputSignal<(card: IAgentCard) => MenuItem[]>;
|
|
1236
|
-
readonly agentCardsMasterStateService:
|
|
1255
|
+
readonly agentCardsMasterStateService: dist_dataclouder_ngx_knowledge_types_dataclouder_ngx_knowledge.MasterStateService<IAgentCard>;
|
|
1237
1256
|
userService: UserService<any>;
|
|
1238
1257
|
protected entityCommunicationService: DefaultAgentCardsService;
|
|
1239
1258
|
columns: PColumn[];
|
|
@@ -1291,7 +1310,7 @@ declare class AgentCardUI implements OnInit {
|
|
|
1291
1310
|
readonly card: _angular_core.InputSignal<IAgentCard>;
|
|
1292
1311
|
readonly showOptions: _angular_core.InputSignal<boolean>;
|
|
1293
1312
|
readonly onAction: _angular_core.OutputEmitterRef<OnActionEvent>;
|
|
1294
|
-
readonly agentCardsMasterStateService:
|
|
1313
|
+
readonly agentCardsMasterStateService: dist_dataclouder_ngx_knowledge_types_dataclouder_ngx_knowledge.MasterStateService<IAgentCard>;
|
|
1295
1314
|
eventCard(eventType: EventCard): void;
|
|
1296
1315
|
getTaken(): Promise<void>;
|
|
1297
1316
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AgentCardUI, never>;
|
|
@@ -1492,7 +1511,7 @@ declare class DCConversationUserChatSettingsComponent implements OnInit {
|
|
|
1492
1511
|
assistantMessageTask: _angular_forms.FormControl<boolean>;
|
|
1493
1512
|
voice: _angular_forms.FormControl<string>;
|
|
1494
1513
|
model: _angular_forms.FormGroup<{
|
|
1495
|
-
quality: _angular_forms.FormControl<
|
|
1514
|
+
quality: _angular_forms.FormControl<dist_dataclouder_ngx_core_types_dataclouder_ngx_core.EModelQuality>;
|
|
1496
1515
|
modelName: _angular_forms.FormControl<string>;
|
|
1497
1516
|
provider: _angular_forms.FormControl<string>;
|
|
1498
1517
|
id: _angular_forms.FormControl<string>;
|
|
@@ -1610,5 +1629,5 @@ declare class ChatEngineTestComponent {
|
|
|
1610
1629
|
|
|
1611
1630
|
declare const AGENT_CARDS_STATE_SERVICE: InjectionToken<MasterStateService<IAgentCard>>;
|
|
1612
1631
|
|
|
1613
|
-
export { ACCDataGenerationComponent, AGENT_CARDS_STATE_SERVICE, AIGenerationService, AgentCardListComponent, AgentCardUI, AgentCardsGenerationService, AudioService, AudioSpeed, BACKGROUND_SERVICE_TOKEN, CONVERSATION_AI_TOKEN, CardsCreatorComponent, ChatEngineTestComponent, ChatEventType, ChatMessage, ChatMessageOrchestratorComponent, ChatMonitorService, ChatRole, ConditionOperator, ConditionType, ContextEngineService, ContextType, ConversationDTO, ConversationEvents, ConversationFlowStateService, ConversationMessagesDTO, ConversationPromptBuilderService, ConversationRuleService, ConversationRulesComponent, ConversationType$1 as ConversationType, ConversationTypeOptions, DCAgentCardFormComponent, DCChatComponent, DCConversationUserChatSettingsComponent, DcAgentCardDetailsComponent, DefaultAgentCardsService, DoActionTypeOptions, DynamicFlowService, DynamicFlowTaskTypeOptions, EAccountsPlatform, EAgentType, EDoActionType, EDynamicFlowTaskType, EntityThen, EntityWhatOptions, EntityWhenOptions, EvalResultStringDefinition, GlobalToolsService, MessageContent, MessageContentDisplayer, MessagesStateService, ModelSelectorComponent, PopupService, PromptPreviewComponent, SectionType, SystemPromptType, TextEngineOptions, TextEngines, VIDEO_PLAYER_SERVICE_TOKEN, VideoPlayerNativeService, VideoPlayerService, VoiceTTSOption, VoiceTTSOptions, WordTimestamps, XKillsAgentCardListComponent, XKillsAgentCardsService, buildObjectTTSRequest, characterCardStringDataDefinition, convertToHTML, createAIModelFormGroup, defaultconvUserSettings, extractAudioAndTranscription, extractJsonFromResponse, getMoodStateLabelsAsString, getMoodStatePrompt, markdownToHtml, matchTranscription, provideAgentCardService, removeEmojis, removeEmojisAndSpecialCharacters, removeSpecialCharacters };
|
|
1614
|
-
export type { Appearance, AudioGenerated, AudioState, BackgroundTask, CardTranslation, ChangePromptAction, CharacterCardData, ChatEvent, ConversationFlowFormGroup, ConversationSettingsFormGroup, DoAction, DoActionFormGroup, DynamicConditionFormGroup, DynamicCriteriaFormGroup, IAccounts, IAgentAssets, IAgentCard, IAgentCardMeta, IAgentMetadata, IAgentResponseDTO, IBackgroundService, IChallengeState, ICharacterCardDC, IConversationFlow, IConversationFlowState, IConversationSettings, IConversationSettingsDTO, IDynamicCondition, IDynamicCriteria, IDynamicFlowTask, IGenerateConversationCardsDto, IGoalState, IMoodState, IMoodStateRuntime, IRule, ISimpleAgent, ITTS, IVideoPlayerService, IWordMetadata, ModelFormGroup, ModelName, MultiLanguage, Persona, SimpleAgentTask, SimpleAgentTaskFormGroup, SimpleEvalResult, TextHTMLTag, TranscriptionsWhisper, TriggerTasksFormGroup, VoiceCloning, VoiceTTS, WordData };
|
|
1632
|
+
export { ACCDataGenerationComponent, AGENT_CARDS_STATE_SERVICE, AIGenerationService, AgentCardListComponent, AgentCardUI, AgentCardsGenerationService, AudioService, AudioSpeed, BACKGROUND_SERVICE_TOKEN, CONVERSATION_AI_TOKEN, CardsCreatorComponent, ChatEngineTestComponent, ChatEventType, ChatMessage, ChatMessageOrchestratorComponent, ChatMonitorService, ChatRole, ConditionOperator, ConditionType, ContextEngineService, ContextType, ConversationDTO, ConversationEvents, ConversationFlowStateService, ConversationMessagesDTO, ConversationPromptBuilderService, ConversationRuleService, ConversationRulesComponent, ConversationStatus, ConversationType$1 as ConversationType, ConversationTypeOptions, DCAgentCardFormComponent, DCChatComponent, DCConversationUserChatSettingsComponent, DcAgentCardDetailsComponent, DefaultAgentCardsService, DoActionTypeOptions, DynamicFlowService, DynamicFlowTaskTypeOptions, EAccountsPlatform, EAgentType, EDoActionType, EDynamicFlowTaskType, EntityThen, EntityWhatOptions, EntityWhenOptions, EvalResultStringDefinition, GlobalToolsService, MessageContent, MessageContentDisplayer, MessagesStateService, ModelSelectorComponent, PopupService, PromptPreviewComponent, SectionType, SystemPromptType, TextEngineOptions, TextEngines, VIDEO_PLAYER_SERVICE_TOKEN, VideoPlayerNativeService, VideoPlayerService, VoiceTTSOption, VoiceTTSOptions, WordTimestamps, XKillsAgentCardListComponent, XKillsAgentCardsService, buildObjectTTSRequest, characterCardStringDataDefinition, convertToHTML, createAIModelFormGroup, defaultconvUserSettings, extractAudioAndTranscription, extractJsonFromResponse, getMoodStateLabelsAsString, getMoodStatePrompt, markdownToHtml, matchTranscription, provideAgentCardService, removeEmojis, removeEmojisAndSpecialCharacters, removeSpecialCharacters };
|
|
1633
|
+
export type { Appearance, AudioGenerated, AudioState, BackgroundTask, CardTranslation, ChangePromptAction, CharacterCardData, ChatEvent, ConversationFlowFormGroup, ConversationSettingsFormGroup, DoAction, DoActionFormGroup, DynamicConditionFormGroup, DynamicCriteriaFormGroup, IAccounts, IAgentAssets, IAgentCard, IAgentCardMeta, IAgentMetadata, IAgentResponseDTO, IBackgroundService, IChallengeState, ICharacterCardDC, IConversationFlow, IConversationFlowState, IConversationSession, IConversationSettings, IConversationSettingsDTO, IDynamicCondition, IDynamicCriteria, IDynamicFlowTask, IGenerateConversationCardsDto, IGoalState, IMoodState, IMoodStateRuntime, IRule, ISimpleAgent, ITTS, IVideoPlayerService, IWordMetadata, ModelFormGroup, ModelName, MultiLanguage, Persona, SimpleAgentTask, SimpleAgentTaskFormGroup, SimpleEvalResult, TextHTMLTag, TranscriptionsWhisper, TriggerTasksFormGroup, VoiceCloning, VoiceTTS, WordData };
|