@dataclouder/ngx-agent-cards 0.1.89 → 0.1.92
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
|
@@ -358,12 +358,13 @@ interface IMoodState {
|
|
|
358
358
|
detectableStates: string[];
|
|
359
359
|
}
|
|
360
360
|
interface IConversationFlow {
|
|
361
|
-
goal
|
|
361
|
+
goal?: IDynamicFlowTask;
|
|
362
362
|
tools?: IDynamicCriteria[];
|
|
363
|
-
triggerTasks
|
|
363
|
+
triggerTasks?: Partial<Record<ConversationEvents, IDynamicFlowTask>>;
|
|
364
364
|
challenges?: IDynamicCriteria[];
|
|
365
|
-
dynamicConditions
|
|
366
|
-
moodState
|
|
365
|
+
dynamicConditions?: IDynamicCondition[];
|
|
366
|
+
moodState?: IMoodState;
|
|
367
|
+
performancePrompt?: string;
|
|
367
368
|
}
|
|
368
369
|
interface IChallengeState {
|
|
369
370
|
id: string;
|
|
@@ -384,6 +385,8 @@ interface IMoodStateRuntime {
|
|
|
384
385
|
interface IConversationFlowState {
|
|
385
386
|
goal: {
|
|
386
387
|
value: any;
|
|
388
|
+
deltaPoints?: number;
|
|
389
|
+
feedback?: string;
|
|
387
390
|
};
|
|
388
391
|
challenges: {
|
|
389
392
|
name: string;
|
|
@@ -674,6 +677,12 @@ declare class ConversationPromptBuilderService {
|
|
|
674
677
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<ConversationPromptBuilderService>;
|
|
675
678
|
}
|
|
676
679
|
|
|
680
|
+
declare class XKillsAgentCardsService extends DefaultAgentCardsService {
|
|
681
|
+
constructor();
|
|
682
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<XKillsAgentCardsService, never>;
|
|
683
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<XKillsAgentCardsService>;
|
|
684
|
+
}
|
|
685
|
+
|
|
677
686
|
interface WordData {
|
|
678
687
|
word: string;
|
|
679
688
|
index: number;
|
|
@@ -746,7 +755,7 @@ declare class DynamicFlowService {
|
|
|
746
755
|
* It sets the static configuration and resets the runtime state to match.
|
|
747
756
|
* @param conversationFlow The static `IConversationFlow` configuration object.
|
|
748
757
|
*/
|
|
749
|
-
initConversationFlow(conversationFlow: IConversationFlow): void;
|
|
758
|
+
initConversationFlow(conversationFlow: IConversationFlow | null): void;
|
|
750
759
|
/**
|
|
751
760
|
* @description
|
|
752
761
|
* Constructs a context object containing both the static configuration and the current runtime state.
|
|
@@ -1079,7 +1088,7 @@ declare class EvaluationService {
|
|
|
1079
1088
|
private _handleScoreUpdate;
|
|
1080
1089
|
resetEvaluation(): void;
|
|
1081
1090
|
resetScore(): void;
|
|
1082
|
-
analylizePerformance(): Promise<any>;
|
|
1091
|
+
analylizePerformance(customPrompt?: string): Promise<any>;
|
|
1083
1092
|
openFeedbackEvaluation(data?: PerformanceEvaluation): void;
|
|
1084
1093
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<EvaluationService, never>;
|
|
1085
1094
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<EvaluationService>;
|
|
@@ -1289,6 +1298,11 @@ declare class AgentCardUI implements OnInit {
|
|
|
1289
1298
|
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>;
|
|
1290
1299
|
}
|
|
1291
1300
|
|
|
1301
|
+
declare class XKillsAgentCardListComponent extends AgentCardListComponent {
|
|
1302
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<XKillsAgentCardListComponent, never>;
|
|
1303
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<XKillsAgentCardListComponent, "dc-agent-card-lists-x-kills", never, {}, {}, never, never, true, never>;
|
|
1304
|
+
}
|
|
1305
|
+
|
|
1292
1306
|
interface ModelData {
|
|
1293
1307
|
id: string;
|
|
1294
1308
|
name: string;
|
|
@@ -1596,5 +1610,5 @@ declare class ChatEngineTestComponent {
|
|
|
1596
1610
|
|
|
1597
1611
|
declare const AGENT_CARDS_STATE_SERVICE: InjectionToken<MasterStateService<IAgentCard>>;
|
|
1598
1612
|
|
|
1599
|
-
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, buildObjectTTSRequest, characterCardStringDataDefinition, convertToHTML, createAIModelFormGroup, defaultconvUserSettings, extractAudioAndTranscription, extractJsonFromResponse, getMoodStateLabelsAsString, getMoodStatePrompt, markdownToHtml, matchTranscription, provideAgentCardService, removeEmojis, removeEmojisAndSpecialCharacters, removeSpecialCharacters };
|
|
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 };
|
|
1600
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 };
|