Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@squiz/dxp-ai-client

Package Overview
Dependencies
Maintainers
0
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@squiz/dxp-ai-client - npm Package Compare versions

Comparing version 0.20.1 to 0.21.0

6

CHANGELOG.md
# @squiz/dxp-ai-client
## 0.21.0
### Minor Changes
- a28faa2: Updated ratings/interaction counts to be a rolling 30 days.
## 0.20.1

@@ -4,0 +10,0 @@

25

dist/generated/DxpAiService.d.ts
export type AiAuthType = 'none' | 'dxp';
export type AiAuthTypeDxp = 'dxp';
export type AiResponse = OmitAiTenantOrMetadata;
export type AiResponse = OmitAiTenantOrMetadata & {
negativeCount: number;
overallCount: number;
positiveCount: number;
};
export type AiType = 'generative' | 'chatbot';

@@ -272,5 +276,2 @@ export type AiTypeChatbot = 'chatbot';

name: string;
negativeCount: number;
overallCount: number;
positiveCount: number;
responseTemplate: string;

@@ -744,5 +745,5 @@ tags: string[];

chatbot: {
create: (data: ChatBotWrite, params?: RequestParams) => Promise<PickAiExcludeKeysTenantOrMetadata>;
create: (data: ChatBotWrite, params?: RequestParams) => Promise<AiResponse>;
delete: ({ id, ...query }: DeleteParams, params?: RequestParams) => Promise<void>;
get: (id: string, params?: RequestParams) => Promise<PickAiExcludeKeysTenantOrMetadata>;
get: (id: string, params?: RequestParams) => Promise<AiResponse>;
getAllChatBotThreads: ({ aiId, ...query }: GetAllChatBotThreadsParams, params?: RequestParams) => Promise<PageResultThread>;

@@ -752,4 +753,4 @@ getChatBotThreadMessages: ({ aiId, threadId, ...query }: GetChatBotThreadMessagesParams, params?: RequestParams) => Promise<PageResultMessage>;

rate: (aiId: string, threadId: string, data: RatePayload, params?: RequestParams) => Promise<Thread>;
set: (id: string, data: ChatBotWrite, params?: RequestParams) => Promise<PickAiExcludeKeysTenantOrMetadata>;
update: (id: string, data: ChatBotPatch, params?: RequestParams) => Promise<PickAiExcludeKeysTenantOrMetadata>;
set: (id: string, data: ChatBotWrite, params?: RequestParams) => Promise<AiResponse>;
update: (id: string, data: ChatBotPatch, params?: RequestParams) => Promise<AiResponse>;
};

@@ -772,6 +773,6 @@ chatbotContext: {

generative: {
create: (data: GenerativeWrite, params?: RequestParams) => Promise<PickAiExcludeKeysTenantOrMetadata>;
create: (data: GenerativeWrite, params?: RequestParams) => Promise<AiResponse>;
delete: ({ id, ...query }: DeleteParams3, params?: RequestParams) => Promise<void>;
execute: (aiId: string, flowId: GenerativeCommand, data: ExecutionPostBody, params?: RequestParams) => Promise<ExecutionResponse>;
get: (id: string, params?: RequestParams) => Promise<PickAiExcludeKeysTenantOrMetadata>;
get: (id: string, params?: RequestParams) => Promise<AiResponse>;
getAllGenerativeThreads: ({ aiId, ...query }: GetAllGenerativeThreadsParams, params?: RequestParams) => Promise<PageResultThread>;

@@ -782,6 +783,6 @@ getExecutionOutput: (aiId: string, flowId: GenerativeCommand, executionId: string, params?: RequestParams) => Promise<ExecutionOutputsResponse>;

rate: (aiId: string, threadId: string, data: RateBody, params?: RequestParams) => Promise<Thread>;
set: (id: string, data: GenerativeWrite, params?: RequestParams) => Promise<PickAiExcludeKeysTenantOrMetadata>;
update: (id: string, data: GenerativePatch, params?: RequestParams) => Promise<PickAiExcludeKeysTenantOrMetadata>;
set: (id: string, data: GenerativeWrite, params?: RequestParams) => Promise<AiResponse>;
update: (id: string, data: GenerativePatch, params?: RequestParams) => Promise<AiResponse>;
};
}
export {};

@@ -5,3 +5,3 @@ {

"private": false,
"version": "0.20.1",
"version": "0.21.0",
"description": "Exposes the DXP AI service as a package for consumers",

@@ -21,5 +21,5 @@ "main": "dist/index.js",

"jest": "^29.7.0",
"@squiz/ai-service": "1.14.0"
"@squiz/ai-service": "1.15.0"
},
"dependencies": {}
}

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc