@dataclouder/ngx-agent-cards 0.1.91 → 0.1.93

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
@@ -157,6 +157,7 @@ type ConversationFlowFormGroup = FormGroup<{
157
157
  useAssetStatesOnly: FormControl<boolean>;
158
158
  detectableStates: FormArray<DynamicCriteriaFormGroup>;
159
159
  }>;
160
+ performancePrompt: FormControl<string>;
160
161
  }>;
161
162
  type ConversationSettingsFormGroup = FormGroup<{
162
163
  textEngine: FormControl<TextEngines>;
@@ -358,12 +359,13 @@ interface IMoodState {
358
359
  detectableStates: string[];
359
360
  }
360
361
  interface IConversationFlow {
361
- goal: IDynamicFlowTask;
362
+ goal?: IDynamicFlowTask;
362
363
  tools?: IDynamicCriteria[];
363
- triggerTasks: Partial<Record<ConversationEvents, IDynamicFlowTask>>;
364
+ triggerTasks?: Partial<Record<ConversationEvents, IDynamicFlowTask>>;
364
365
  challenges?: IDynamicCriteria[];
365
- dynamicConditions: IDynamicCondition[];
366
- moodState: IMoodState;
366
+ dynamicConditions?: IDynamicCondition[];
367
+ moodState?: IMoodState;
368
+ performancePrompt?: string;
367
369
  }
368
370
  interface IChallengeState {
369
371
  id: string;
@@ -384,6 +386,8 @@ interface IMoodStateRuntime {
384
386
  interface IConversationFlowState {
385
387
  goal: {
386
388
  value: any;
389
+ deltaPoints?: number;
390
+ feedback?: string;
387
391
  };
388
392
  challenges: {
389
393
  name: string;
@@ -1085,7 +1089,7 @@ declare class EvaluationService {
1085
1089
  private _handleScoreUpdate;
1086
1090
  resetEvaluation(): void;
1087
1091
  resetScore(): void;
1088
- analylizePerformance(): Promise<any>;
1092
+ analylizePerformance(customPrompt?: string): Promise<any>;
1089
1093
  openFeedbackEvaluation(data?: PerformanceEvaluation): void;
1090
1094
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<EvaluationService, never>;
1091
1095
  static ɵprov: _angular_core.ɵɵInjectableDeclaration<EvaluationService>;
@@ -1194,6 +1198,7 @@ declare class DCAgentCardFormComponent extends EntityBaseFormComponent<IAgentCar
1194
1198
  useAssetStatesOnly: _angular_forms.FormControl<boolean>;
1195
1199
  detectableStates: FormArray<_dataclouder_ngx_agent_cards.DynamicCriteriaFormGroup>;
1196
1200
  }>;
1201
+ performancePrompt: _angular_forms.FormControl<string>;
1197
1202
  }>;
1198
1203
  manageable: _angular_forms.FormGroup<any>;
1199
1204
  learnable: _angular_forms.FormGroup<{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dataclouder/ngx-agent-cards",
3
- "version": "0.1.91",
3
+ "version": "0.1.93",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=18.0.0",
6
6
  "@angular/core": ">=18.0.0",