@squiz/dxp-ai-client
Advanced tools
Comparing version 0.22.0 to 0.23.0
# @squiz/dxp-ai-client | ||
## 0.23.0 | ||
### Minor Changes | ||
- 73253e4: Updated AI service to populate tags on threads and close threads after inactivity (generative threads are closed immediately). | ||
## 0.22.0 | ||
@@ -4,0 +10,0 @@ |
@@ -18,3 +18,3 @@ export type AiAuthType = 'none' | 'dxp'; | ||
}; | ||
export type ChatbotCommand = 'processChatMessage' | 'processArticleAddUpdate' | 'processArticleDelete' | 'populateThreadTags'; | ||
export type ChatbotCommand = 'closeThread' | 'processChatMessage' | 'processArticleAddUpdate' | 'processArticleDelete' | 'populateThreadTags' | 'populateThreadTitle'; | ||
export interface Context { | ||
@@ -42,3 +42,3 @@ description: string; | ||
finishedAt: string | null; | ||
outputs: RecordStringActionFlowsGetExecutionOutputsActionEnumDatumReference3APath3F3AstringOrStringArrayReferenceIdStringTypeFlowsGetExecutionOutputsTypeEnum1ExperienceIdStringTypeFlowsGetExecutionOutputsTypeEnumValue3AStringOrNumberOrRecordStringStringOrNumberOrNullOrActionFlowsGetExecutionOutputsActionEnum1DatumReference3APath3F3AstringOrStringArrayReferenceIdStringTypeFlowsGetExecutionOutputsTypeEnum3EntityIdStringOrNullExperienceIdStringSchemaIdStringTypeFlowsGetExecutionOutputsTypeEnum2OrActionFlowsGetExecutionOutputsActionEnum2To3ATypeFlowsGetExecutionOutputsTypeEnum5UrlStringOrPathStringTypeFlowsGetExecutionOutputsTypeEnum6OrDatumInputs3F3ARecordStringRecordStringStringOrNumberOrBooleanExperienceIdStringExperiencePathStringSpaceIdStringTypeFlowsGetExecutionOutputsTypeEnum7OrEntityId3F3AstringOrNullSchemaIdStringSpaceIdStringTypeFlowsGetExecutionOutputsTypeEnum8TypeFlowsGetExecutionOutputsTypeEnum4OrFlowsGetExecutionOutputsOutputsEnumOrAnyOrStringOrNumberOrBooleanOrAllowedBlocksFlowsGetExecutionOutputsAllowedBlocksEnumArrayAllowedMarksFlowsGetExecutionOutputsAllowedMarksEnumArrayDescriptionStringOrNullHoveringToolbar3F3AbooleanNameStringOrderNumberRequiredBooleanOrNullShowInTable3F3AbooleanOrNullTypeFlowsGetExecutionOutputsTypeEnum9OrAnyArrayOrRecordStringAny; | ||
outputs: RecordStringActionFlowsGetExecutionOutputsActionEnumDatumReference3APath3F3AstringOrStringArrayReferenceIdStringTypeFlowsGetExecutionOutputsTypeEnum1ExperienceIdStringTypeFlowsGetExecutionOutputsTypeEnumValueStringOrNumberOrBooleanOrFlowsGetExecutionOutputsValueEnumOrRecordStringStringOrNumberOrBooleanOrFlowsGetExecutionOutputsValueEnum1OrFlowsGetExecutionOutputsValueEnum2OrActionFlowsGetExecutionOutputsActionEnum1DatumReference3APath3F3AstringOrStringArrayReferenceIdStringTypeFlowsGetExecutionOutputsTypeEnum3EntityIdStringOrNullExperienceIdStringSchemaIdStringTypeFlowsGetExecutionOutputsTypeEnum2OrActionFlowsGetExecutionOutputsActionEnum2To3ATypeFlowsGetExecutionOutputsTypeEnum5UrlStringOrPathStringTypeFlowsGetExecutionOutputsTypeEnum6OrDatumInputs3F3ARecordStringStringOrNumberOrBooleanOrFlowsGetExecutionOutputsDatumInputsEnumOrRecordStringStringOrNumberOrBooleanOrFlowsGetExecutionOutputsDatumInputsEnum1OrFlowsGetExecutionOutputsDatumInputsEnum2ExperienceIdStringExperiencePathStringSpaceIdStringTypeFlowsGetExecutionOutputsTypeEnum7OrEntityId3F3AstringOrNullSchemaIdStringSpaceIdStringTypeFlowsGetExecutionOutputsTypeEnum8TypeFlowsGetExecutionOutputsTypeEnum4OrFlowsGetExecutionOutputsOutputsEnumOrAnyOrStringOrNumberOrBooleanOrAllowedBlocks3F3AFlowsGetExecutionOutputsAllowedBlocksEnumArrayAllowedMarks3F3AFlowsGetExecutionOutputsAllowedMarksEnumArrayDescriptionStringOrNullHoveringToolbar3F3AbooleanNameStringOrderNumberRequiredBooleanOrNullShowInTable3F3AbooleanOrNullTypeFlowsGetExecutionOutputsTypeEnum9OrAnyArrayOrRecordStringAny; | ||
startedAt: string | null; | ||
@@ -64,4 +64,4 @@ status: FlowsGetExecutionOutputsStatusEnum; | ||
}; | ||
export type FlowsGetExecutionOutputsStatusEnum = 'pending' | 'executing' | 'failed' | 'succeeded' | 'cancelled'; | ||
export type GenerativeCommand = 'populateThreadTags' | 'processMessage'; | ||
export type FlowsGetExecutionOutputsStatusEnum = 'scheduled' | 'pending' | 'executing' | 'failed' | 'succeeded' | 'cancelled'; | ||
export type GenerativeCommand = 'closeThread' | 'populateThreadTags' | 'populateThreadTitle' | 'processMessage'; | ||
export type GenerativePatch = PartialGenerativeWrite; | ||
@@ -344,3 +344,3 @@ export type GenerativeWrite = AiWrite & { | ||
} | ||
export type RecordStringActionFlowsGetExecutionOutputsActionEnumDatumReference3APath3F3AstringOrStringArrayReferenceIdStringTypeFlowsGetExecutionOutputsTypeEnum1ExperienceIdStringTypeFlowsGetExecutionOutputsTypeEnumValue3AStringOrNumberOrRecordStringStringOrNumberOrNullOrActionFlowsGetExecutionOutputsActionEnum1DatumReference3APath3F3AstringOrStringArrayReferenceIdStringTypeFlowsGetExecutionOutputsTypeEnum3EntityIdStringOrNullExperienceIdStringSchemaIdStringTypeFlowsGetExecutionOutputsTypeEnum2OrActionFlowsGetExecutionOutputsActionEnum2To3ATypeFlowsGetExecutionOutputsTypeEnum5UrlStringOrPathStringTypeFlowsGetExecutionOutputsTypeEnum6OrDatumInputs3F3ARecordStringRecordStringStringOrNumberOrBooleanExperienceIdStringExperiencePathStringSpaceIdStringTypeFlowsGetExecutionOutputsTypeEnum7OrEntityId3F3AstringOrNullSchemaIdStringSpaceIdStringTypeFlowsGetExecutionOutputsTypeEnum8TypeFlowsGetExecutionOutputsTypeEnum4OrFlowsGetExecutionOutputsOutputsEnumOrAnyOrStringOrNumberOrBooleanOrAllowedBlocksFlowsGetExecutionOutputsAllowedBlocksEnumArrayAllowedMarksFlowsGetExecutionOutputsAllowedMarksEnumArrayDescriptionStringOrNullHoveringToolbar3F3AbooleanNameStringOrderNumberRequiredBooleanOrNullShowInTable3F3AbooleanOrNullTypeFlowsGetExecutionOutputsTypeEnum9OrAnyArrayOrRecordStringAny = object; | ||
export type RecordStringActionFlowsGetExecutionOutputsActionEnumDatumReference3APath3F3AstringOrStringArrayReferenceIdStringTypeFlowsGetExecutionOutputsTypeEnum1ExperienceIdStringTypeFlowsGetExecutionOutputsTypeEnumValueStringOrNumberOrBooleanOrFlowsGetExecutionOutputsValueEnumOrRecordStringStringOrNumberOrBooleanOrFlowsGetExecutionOutputsValueEnum1OrFlowsGetExecutionOutputsValueEnum2OrActionFlowsGetExecutionOutputsActionEnum1DatumReference3APath3F3AstringOrStringArrayReferenceIdStringTypeFlowsGetExecutionOutputsTypeEnum3EntityIdStringOrNullExperienceIdStringSchemaIdStringTypeFlowsGetExecutionOutputsTypeEnum2OrActionFlowsGetExecutionOutputsActionEnum2To3ATypeFlowsGetExecutionOutputsTypeEnum5UrlStringOrPathStringTypeFlowsGetExecutionOutputsTypeEnum6OrDatumInputs3F3ARecordStringStringOrNumberOrBooleanOrFlowsGetExecutionOutputsDatumInputsEnumOrRecordStringStringOrNumberOrBooleanOrFlowsGetExecutionOutputsDatumInputsEnum1OrFlowsGetExecutionOutputsDatumInputsEnum2ExperienceIdStringExperiencePathStringSpaceIdStringTypeFlowsGetExecutionOutputsTypeEnum7OrEntityId3F3AstringOrNullSchemaIdStringSpaceIdStringTypeFlowsGetExecutionOutputsTypeEnum8TypeFlowsGetExecutionOutputsTypeEnum4OrFlowsGetExecutionOutputsOutputsEnumOrAnyOrStringOrNumberOrBooleanOrAllowedBlocks3F3AFlowsGetExecutionOutputsAllowedBlocksEnumArrayAllowedMarks3F3AFlowsGetExecutionOutputsAllowedMarksEnumArrayDescriptionStringOrNullHoveringToolbar3F3AbooleanNameStringOrderNumberRequiredBooleanOrNullShowInTable3F3AbooleanOrNullTypeFlowsGetExecutionOutputsTypeEnum9OrAnyArrayOrRecordStringAny = object; | ||
export type SortDirectionEnum = 'asc' | 'desc'; | ||
@@ -356,4 +356,5 @@ export type SortDirectionEnum1 = 'asc' | 'desc'; | ||
instruction: string | null; | ||
isClosed: boolean; | ||
rating: ThreadRating | null; | ||
tags: string[] | null; | ||
tags: string[]; | ||
timeLastInteracted: string | null; | ||
@@ -360,0 +361,0 @@ title: string | null; |
@@ -8,3 +8,3 @@ { | ||
}, | ||
"version": "0.22.0", | ||
"version": "0.23.0", | ||
"description": "Exposes the DXP AI service as a package for consumers", | ||
@@ -24,5 +24,5 @@ "main": "dist/index.js", | ||
"jest": "^29.7.0", | ||
"@squiz/ai-service": "1.15.0" | ||
"@squiz/ai-service": "1.16.0" | ||
}, | ||
"dependencies": {} | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
271906
2296