@iblai/iblai-api 4.282.0-ai → 4.283.0-ai

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/dist/index.cjs.js CHANGED
@@ -110,7 +110,7 @@ class CancelablePromise {
110
110
 
111
111
  const OpenAPI = {
112
112
  BASE: 'https://base.manager.iblai.app',
113
- VERSION: '4.282.0-ai-plus',
113
+ VERSION: '4.283.0-ai-plus',
114
114
  WITH_CREDENTIALS: false,
115
115
  CREDENTIALS: 'include',
116
116
  TOKEN: undefined,
package/dist/index.esm.js CHANGED
@@ -108,7 +108,7 @@ class CancelablePromise {
108
108
 
109
109
  const OpenAPI = {
110
110
  BASE: 'https://base.manager.iblai.app',
111
- VERSION: '4.282.0-ai-plus',
111
+ VERSION: '4.283.0-ai-plus',
112
112
  WITH_CREDENTIALS: false,
113
113
  CREDENTIALS: 'include',
114
114
  TOKEN: undefined,
package/dist/index.umd.js CHANGED
@@ -114,7 +114,7 @@
114
114
 
115
115
  const OpenAPI = {
116
116
  BASE: 'https://base.manager.iblai.app',
117
- VERSION: '4.282.0-ai-plus',
117
+ VERSION: '4.283.0-ai-plus',
118
118
  WITH_CREDENTIALS: false,
119
119
  CREDENTIALS: 'include',
120
120
  TOKEN: undefined,
@@ -107,6 +107,9 @@ export type MentorSettings = {
107
107
  readonly department: string;
108
108
  readonly disable_chathistory: string;
109
109
  readonly strip_page_content_html: boolean;
110
+ readonly chat_history_max_tokens: number;
111
+ readonly chat_history_max_messages: number;
112
+ readonly rag_retrieval_k: number;
110
113
  readonly call_configuration: CallConfiguration;
111
114
  readonly guided_prompt_instructions: string;
112
115
  readonly seo_tags: any;
@@ -19,6 +19,9 @@ export type MentorSettingsRequest = {
19
19
  featured?: boolean;
20
20
  disable_chathistory?: boolean;
21
21
  strip_page_content_html?: boolean;
22
+ chat_history_max_tokens?: number | null;
23
+ chat_history_max_messages?: number | null;
24
+ rag_retrieval_k?: number | null;
22
25
  metadata?: any;
23
26
  custom_css?: string | null;
24
27
  custom_javascript?: string | null;
@@ -107,6 +107,9 @@ export type PatchedMentorSettings = {
107
107
  readonly department?: string;
108
108
  readonly disable_chathistory?: string;
109
109
  readonly strip_page_content_html?: boolean;
110
+ readonly chat_history_max_tokens?: number;
111
+ readonly chat_history_max_messages?: number;
112
+ readonly rag_retrieval_k?: number;
110
113
  readonly call_configuration?: CallConfiguration;
111
114
  readonly guided_prompt_instructions?: string;
112
115
  readonly seo_tags?: any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iblai/iblai-api",
3
- "version": "4.282.0-ai",
3
+ "version": "4.283.0-ai",
4
4
  "main": "dist/index.cjs.js",
5
5
  "module": "dist/index.esm.js",
6
6
  "type": "module",
package/sdk_schema.yml CHANGED
@@ -1,7 +1,7 @@
1
1
  openapi: 3.0.3
2
2
  info:
3
3
  title: ibl-data-manager
4
- version: 4.282.0-ai-plus
4
+ version: 4.283.0-ai-plus
5
5
  description: API for iblai
6
6
  paths:
7
7
  /access-check/{item_type}/{item_id}/:
@@ -99583,6 +99583,15 @@ components:
99583
99583
  strip_page_content_html:
99584
99584
  type: boolean
99585
99585
  readOnly: true
99586
+ chat_history_max_tokens:
99587
+ type: integer
99588
+ readOnly: true
99589
+ chat_history_max_messages:
99590
+ type: integer
99591
+ readOnly: true
99592
+ rag_retrieval_k:
99593
+ type: integer
99594
+ readOnly: true
99586
99595
  call_configuration:
99587
99596
  allOf:
99588
99597
  - $ref: '#/components/schemas/CallConfiguration'
@@ -99629,6 +99638,8 @@ components:
99629
99638
  - call_configuration
99630
99639
  - can_use_tools
99631
99640
  - categories
99641
+ - chat_history_max_messages
99642
+ - chat_history_max_tokens
99632
99643
  - created_at
99633
99644
  - created_by
99634
99645
  - department
@@ -99695,6 +99706,7 @@ components:
99695
99706
  - privacy_response
99696
99707
  - proactive_prompt
99697
99708
  - proactive_response
99709
+ - rag_retrieval_k
99698
99710
  - recently_accessed_at
99699
99711
  - safety_response
99700
99712
  - safety_system_prompt
@@ -100083,6 +100095,18 @@ components:
100083
100095
  type: boolean
100084
100096
  strip_page_content_html:
100085
100097
  type: boolean
100098
+ chat_history_max_tokens:
100099
+ type: integer
100100
+ minimum: 1
100101
+ nullable: true
100102
+ chat_history_max_messages:
100103
+ type: integer
100104
+ minimum: 1
100105
+ nullable: true
100106
+ rag_retrieval_k:
100107
+ type: integer
100108
+ minimum: 1
100109
+ nullable: true
100086
100110
  metadata:
100087
100111
  nullable: true
100088
100112
  custom_css:
@@ -106209,6 +106233,15 @@ components:
106209
106233
  strip_page_content_html:
106210
106234
  type: boolean
106211
106235
  readOnly: true
106236
+ chat_history_max_tokens:
106237
+ type: integer
106238
+ readOnly: true
106239
+ chat_history_max_messages:
106240
+ type: integer
106241
+ readOnly: true
106242
+ rag_retrieval_k:
106243
+ type: integer
106244
+ readOnly: true
106212
106245
  call_configuration:
106213
106246
  allOf:
106214
106247
  - $ref: '#/components/schemas/CallConfiguration'
@@ -21,7 +21,7 @@ export type OpenAPIConfig = {
21
21
 
22
22
  export const OpenAPI: OpenAPIConfig = {
23
23
  BASE: 'https://base.manager.iblai.app',
24
- VERSION: '4.282.0-ai-plus',
24
+ VERSION: '4.283.0-ai-plus',
25
25
  WITH_CREDENTIALS: false,
26
26
  CREDENTIALS: 'include',
27
27
  TOKEN: undefined,
@@ -111,6 +111,9 @@ export type MentorSettings = {
111
111
  readonly department: string;
112
112
  readonly disable_chathistory: string;
113
113
  readonly strip_page_content_html: boolean;
114
+ readonly chat_history_max_tokens: number;
115
+ readonly chat_history_max_messages: number;
116
+ readonly rag_retrieval_k: number;
114
117
  readonly call_configuration: CallConfiguration;
115
118
  readonly guided_prompt_instructions: string;
116
119
  readonly seo_tags: any;
@@ -23,6 +23,9 @@ export type MentorSettingsRequest = {
23
23
  featured?: boolean;
24
24
  disable_chathistory?: boolean;
25
25
  strip_page_content_html?: boolean;
26
+ chat_history_max_tokens?: number | null;
27
+ chat_history_max_messages?: number | null;
28
+ rag_retrieval_k?: number | null;
26
29
  metadata?: any;
27
30
  custom_css?: string | null;
28
31
  custom_javascript?: string | null;
@@ -111,6 +111,9 @@ export type PatchedMentorSettings = {
111
111
  readonly department?: string;
112
112
  readonly disable_chathistory?: string;
113
113
  readonly strip_page_content_html?: boolean;
114
+ readonly chat_history_max_tokens?: number;
115
+ readonly chat_history_max_messages?: number;
116
+ readonly rag_retrieval_k?: number;
114
117
  readonly call_configuration?: CallConfiguration;
115
118
  readonly guided_prompt_instructions?: string;
116
119
  readonly seo_tags?: any;