@botpress/cognitive 0.1.33 → 0.1.35

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.
@@ -1,19 +1,19 @@
1
1
 
2
- > @botpress/cognitive@0.1.33 build /home/runner/work/botpress/botpress/packages/cognitive
2
+ > @botpress/cognitive@0.1.35 build /home/runner/work/botpress/botpress/packages/cognitive
3
3
  > pnpm build:type && pnpm build:neutral && size-limit
4
4
 
5
5
 
6
- > @botpress/cognitive@0.1.33 build:type /home/runner/work/botpress/botpress/packages/cognitive
6
+ > @botpress/cognitive@0.1.35 build:type /home/runner/work/botpress/botpress/packages/cognitive
7
7
  > tsup --tsconfig tsconfig.build.json ./src/index.ts --dts-resolve --dts-only --clean
8
8
 
9
9
  CLI Building entry: ./src/index.ts
10
10
  CLI Using tsconfig: tsconfig.build.json
11
11
  CLI tsup v8.0.2
12
12
  DTS Build start
13
- DTS ⚡️ Build success in 16477ms
14
- DTS dist/index.d.ts 616.19 KB
13
+ DTS ⚡️ Build success in 16845ms
14
+ DTS dist/index.d.ts 616.42 KB
15
15
 
16
- > @botpress/cognitive@0.1.33 build:neutral /home/runner/work/botpress/botpress/packages/cognitive
16
+ > @botpress/cognitive@0.1.35 build:neutral /home/runner/work/botpress/botpress/packages/cognitive
17
17
  > ts-node -T ./build.ts --neutral
18
18
 
19
19
  Done
package/dist/index.d.ts CHANGED
@@ -17988,8 +17988,8 @@ declare class Client extends Client$1 implements IClient {
17988
17988
  } | undefined;
17989
17989
  channel?: string | undefined;
17990
17990
  integrationName?: string | undefined;
17991
- sortField?: ("createdAt" | "updatedAt") | undefined;
17992
- sortDirection?: ("asc" | "desc") | undefined;
17991
+ sortField?: "createdAt" | "updatedAt" | undefined;
17992
+ sortDirection?: "asc" | "desc" | undefined;
17993
17993
  participantIds?: string[] | undefined;
17994
17994
  }) => AsyncCollection<{
17995
17995
  id: string;
@@ -18020,7 +18020,7 @@ declare class Client extends Client$1 implements IClient {
18020
18020
  userId?: string | undefined;
18021
18021
  conversationId?: string | undefined;
18022
18022
  messageId?: string | undefined;
18023
- status?: ("pending" | "ignored" | "processed" | "failed" | "scheduled") | undefined;
18023
+ status?: "pending" | "ignored" | "processed" | "failed" | "scheduled" | undefined;
18024
18024
  }) => AsyncCollection<{
18025
18025
  id: string;
18026
18026
  createdAt: string;
@@ -18106,9 +18106,9 @@ declare class Client extends Client$1 implements IClient {
18106
18106
  interfaceId?: string | undefined;
18107
18107
  interfaceName?: string | undefined;
18108
18108
  installedByBotId?: string | undefined;
18109
- verificationStatus?: ("unapproved" | "pending" | "approved" | "rejected") | undefined;
18110
- sortBy?: ("popularity" | "name" | "createdAt" | "updatedAt" | "installCount") | undefined;
18111
- direction?: ("asc" | "desc") | undefined;
18109
+ verificationStatus?: "unapproved" | "pending" | "approved" | "rejected" | undefined;
18110
+ sortBy?: "popularity" | "name" | "createdAt" | "updatedAt" | "installCount" | undefined;
18111
+ direction?: "asc" | "desc" | undefined;
18112
18112
  }) => AsyncCollection<{
18113
18113
  id: string;
18114
18114
  name: string;
@@ -18142,8 +18142,8 @@ declare class Client extends Client$1 implements IClient {
18142
18142
  tags?: {
18143
18143
  [x: string]: string;
18144
18144
  } | undefined;
18145
- sortField?: ("createdAt" | "updatedAt") | undefined;
18146
- sortDirection?: ("asc" | "desc") | undefined;
18145
+ sortField?: "createdAt" | "updatedAt" | undefined;
18146
+ sortDirection?: "asc" | "desc" | undefined;
18147
18147
  dev?: boolean | undefined;
18148
18148
  }) => AsyncCollection<{
18149
18149
  id: string;
@@ -18190,11 +18190,11 @@ declare class Client extends Client$1 implements IClient {
18190
18190
  interfaceId?: string | undefined;
18191
18191
  interfaceName?: string | undefined;
18192
18192
  installedByBotId?: string | undefined;
18193
- verificationStatus?: ("unapproved" | "pending" | "approved" | "rejected") | undefined;
18194
- sortBy?: ("popularity" | "name" | "createdAt" | "updatedAt" | "installCount") | undefined;
18195
- direction?: ("asc" | "desc") | undefined;
18193
+ verificationStatus?: "unapproved" | "pending" | "approved" | "rejected" | undefined;
18194
+ sortBy?: "popularity" | "name" | "createdAt" | "updatedAt" | "installCount" | undefined;
18195
+ direction?: "asc" | "desc" | undefined;
18196
18196
  dev?: boolean | undefined;
18197
- visibility?: ("public" | "private") | undefined;
18197
+ visibility?: "public" | "private" | undefined;
18198
18198
  }) => AsyncCollection<{
18199
18199
  id: string;
18200
18200
  name: string;
@@ -18295,8 +18295,8 @@ declare class Client extends Client$1 implements IClient {
18295
18295
  }>;
18296
18296
  files: (props: {
18297
18297
  tags?: any;
18298
- sortField?: ("key" | "size" | "createdAt" | "updatedAt" | "status") | undefined;
18299
- sortDirection?: ("asc" | "desc") | undefined;
18298
+ sortField?: "key" | "size" | "createdAt" | "updatedAt" | "status" | undefined;
18299
+ sortDirection?: "asc" | "desc" | undefined;
18300
18300
  ids?: string[] | undefined;
18301
18301
  }) => AsyncCollection<{
18302
18302
  id: string;
@@ -18342,6 +18342,16 @@ declare class Client extends Client$1 implements IClient {
18342
18342
  fileTagValues: (props: {
18343
18343
  tag: string;
18344
18344
  }) => AsyncCollection<string>;
18345
+ knowledgeBases: (props: {
18346
+ tags?: any;
18347
+ }) => AsyncCollection<{
18348
+ id: string;
18349
+ name: string;
18350
+ createdAt: string;
18351
+ tags: {
18352
+ [k: string]: string;
18353
+ };
18354
+ }>;
18345
18355
  usageActivity: (props: {
18346
18356
  type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive";
18347
18357
  id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botpress/cognitive",
3
- "version": "0.1.33",
3
+ "version": "0.1.35",
4
4
  "description": "Wrapper around the Botpress Client to call LLMs",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",
@@ -43,5 +43,5 @@
43
43
  "engines": {
44
44
  "node": ">=18.0.0"
45
45
  },
46
- "packageManager": "pnpm@8.6.2"
46
+ "packageManager": "pnpm@10.12.4"
47
47
  }