@iblai/iblai-api 4.7.1-dev-ai-plus → 4.7.2-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 +1 -1394
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +2 -1393
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +1 -1394
- package/dist/index.umd.js.map +1 -1
- package/dist/types/index.d.ts +0 -39
- package/package.json +1 -1
- package/src/core/OpenAPI.ts +1 -1
- package/src/index.ts +0 -39
- package/dist/types/models/Bot.d.ts +0 -15
- package/dist/types/models/BotCommand.d.ts +0 -6
- package/dist/types/models/BotCreate.d.ts +0 -12
- package/dist/types/models/DataSet.d.ts +0 -21
- package/dist/types/models/DataSetCreate.d.ts +0 -12
- package/dist/types/models/DataSetStatusEnum.d.ts +0 -12
- package/dist/types/models/DiscordConfig.d.ts +0 -7
- package/dist/types/models/DiscordUserConfig.d.ts +0 -10
- package/dist/types/models/DiscordWebhook.d.ts +0 -6
- package/dist/types/models/PaginatedDataSetList.d.ts +0 -7
- package/dist/types/models/PaginatedTrainingList.d.ts +0 -7
- package/dist/types/models/PatchedBotCommand.d.ts +0 -6
- package/dist/types/models/PatchedBotCreate.d.ts +0 -12
- package/dist/types/models/PatchedDataSet.d.ts +0 -21
- package/dist/types/models/PatchedDiscordConfig.d.ts +0 -7
- package/dist/types/models/PatchedDiscordUserConfig.d.ts +0 -10
- package/dist/types/models/PatchedSlackConfig.d.ts +0 -8
- package/dist/types/models/PatchedSlackUserConfig.d.ts +0 -17
- package/dist/types/models/PatchedTeamsConfig.d.ts +0 -7
- package/dist/types/models/PatchedTrainingCreate.d.ts +0 -31
- package/dist/types/models/PatchedWebexConfig.d.ts +0 -10
- package/dist/types/models/PatchedWhatsappConfig.d.ts +0 -11
- package/dist/types/models/PatchedWhatsappUserConfig.d.ts +0 -10
- package/dist/types/models/Provider05cEnum.d.ts +0 -14
- package/dist/types/models/Provider63aEnum.d.ts +0 -6
- package/dist/types/models/SlackConfig.d.ts +0 -8
- package/dist/types/models/SlackUserConfig.d.ts +0 -17
- package/dist/types/models/SlackWebhook.d.ts +0 -6
- package/dist/types/models/TeamsConfig.d.ts +0 -7
- package/dist/types/models/TeamsWebhook.d.ts +0 -17
- package/dist/types/models/Training.d.ts +0 -41
- package/dist/types/models/TrainingCreate.d.ts +0 -31
- package/dist/types/models/WebexConfig.d.ts +0 -10
- package/dist/types/models/WebexWebhook.d.ts +0 -4
- package/dist/types/models/WhatAppWebHook.d.ts +0 -3
- package/dist/types/models/WhatsappConfig.d.ts +0 -11
- package/dist/types/models/WhatsappUserConfig.d.ts +0 -10
- package/dist/types/services/AiBotService.d.ts +0 -642
- package/dist/types/services/AiFinetuningService.d.ts +0 -232
- package/src/models/Bot.ts +0 -20
- package/src/models/BotCommand.ts +0 -11
- package/src/models/BotCreate.ts +0 -17
- package/src/models/DataSet.ts +0 -26
- package/src/models/DataSetCreate.ts +0 -17
- package/src/models/DataSetStatusEnum.ts +0 -16
- package/src/models/DiscordConfig.ts +0 -12
- package/src/models/DiscordUserConfig.ts +0 -15
- package/src/models/DiscordWebhook.ts +0 -11
- package/src/models/PaginatedDataSetList.ts +0 -12
- package/src/models/PaginatedTrainingList.ts +0 -12
- package/src/models/PatchedBotCommand.ts +0 -11
- package/src/models/PatchedBotCreate.ts +0 -17
- package/src/models/PatchedDataSet.ts +0 -26
- package/src/models/PatchedDiscordConfig.ts +0 -12
- package/src/models/PatchedDiscordUserConfig.ts +0 -15
- package/src/models/PatchedSlackConfig.ts +0 -13
- package/src/models/PatchedSlackUserConfig.ts +0 -22
- package/src/models/PatchedTeamsConfig.ts +0 -12
- package/src/models/PatchedTrainingCreate.ts +0 -36
- package/src/models/PatchedWebexConfig.ts +0 -15
- package/src/models/PatchedWhatsappConfig.ts +0 -16
- package/src/models/PatchedWhatsappUserConfig.ts +0 -15
- package/src/models/Provider05cEnum.ts +0 -18
- package/src/models/Provider63aEnum.ts +0 -10
- package/src/models/SlackConfig.ts +0 -13
- package/src/models/SlackUserConfig.ts +0 -22
- package/src/models/SlackWebhook.ts +0 -11
- package/src/models/TeamsConfig.ts +0 -12
- package/src/models/TeamsWebhook.ts +0 -22
- package/src/models/Training.ts +0 -46
- package/src/models/TrainingCreate.ts +0 -36
- package/src/models/WebexConfig.ts +0 -15
- package/src/models/WebexWebhook.ts +0 -9
- package/src/models/WhatAppWebHook.ts +0 -8
- package/src/models/WhatsappConfig.ts +0 -16
- package/src/models/WhatsappUserConfig.ts +0 -15
- package/src/services/AiBotService.ts +0 -1330
- package/src/services/AiFinetuningService.ts +0 -472
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
-
/* istanbul ignore file */
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
export type SlackConfig = {
|
|
6
|
-
readonly id: number;
|
|
7
|
-
bot: number;
|
|
8
|
-
client_id: string;
|
|
9
|
-
client_secret: string;
|
|
10
|
-
app_token: string;
|
|
11
|
-
verification_token: string;
|
|
12
|
-
};
|
|
13
|
-
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
-
/* istanbul ignore file */
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
export type SlackUserConfig = {
|
|
6
|
-
readonly id: number;
|
|
7
|
-
/**
|
|
8
|
-
* edX user ID
|
|
9
|
-
*/
|
|
10
|
-
readonly user: number;
|
|
11
|
-
/**
|
|
12
|
-
* Team Domain in the stated slack workspace. This is also the workspace name.
|
|
13
|
-
*/
|
|
14
|
-
slack_team_domain: string;
|
|
15
|
-
/**
|
|
16
|
-
* Username in the stated slack workspace
|
|
17
|
-
*/
|
|
18
|
-
slack_username: string;
|
|
19
|
-
readonly date_created: string;
|
|
20
|
-
readonly last_modified: string;
|
|
21
|
-
};
|
|
22
|
-
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
-
/* istanbul ignore file */
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
export type SlackWebhook = {
|
|
6
|
-
type: string;
|
|
7
|
-
event: Record<string, any>;
|
|
8
|
-
command: string;
|
|
9
|
-
response_url: string;
|
|
10
|
-
};
|
|
11
|
-
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
-
/* istanbul ignore file */
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
export type TeamsConfig = {
|
|
6
|
-
readonly id: number;
|
|
7
|
-
readonly bot: number;
|
|
8
|
-
client_id: string;
|
|
9
|
-
client_secret: string;
|
|
10
|
-
verification_token?: string;
|
|
11
|
-
};
|
|
12
|
-
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
-
/* istanbul ignore file */
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
export type TeamsWebhook = {
|
|
6
|
-
id?: string | null;
|
|
7
|
-
type?: string | null;
|
|
8
|
-
channelData?: Record<string, any> | null;
|
|
9
|
-
entities?: Array<any> | null;
|
|
10
|
-
text?: string | null;
|
|
11
|
-
locale?: string | null;
|
|
12
|
-
textFormat?: string | null;
|
|
13
|
-
recipient?: Record<string, any> | null;
|
|
14
|
-
conversation?: Record<string, any> | null;
|
|
15
|
-
from_?: Record<string, any> | null;
|
|
16
|
-
channelId?: string | null;
|
|
17
|
-
serviceUrl?: string | null;
|
|
18
|
-
localTimezone?: string | null;
|
|
19
|
-
localTimestamp?: string | null;
|
|
20
|
-
timestamp?: string | null;
|
|
21
|
-
};
|
|
22
|
-
|
package/src/models/Training.ts
DELETED
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
-
/* istanbul ignore file */
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
import type { DataSet } from './DataSet';
|
|
6
|
-
import type { Provider63aEnum } from './Provider63aEnum';
|
|
7
|
-
import type { TrainingStatusEnum } from './TrainingStatusEnum';
|
|
8
|
-
export type Training = {
|
|
9
|
-
id?: string;
|
|
10
|
-
dataset: DataSet;
|
|
11
|
-
project_name: string;
|
|
12
|
-
metadata?: any;
|
|
13
|
-
status?: TrainingStatusEnum;
|
|
14
|
-
retry_attempts?: number;
|
|
15
|
-
fine_tuned_model?: string;
|
|
16
|
-
provider?: Provider63aEnum;
|
|
17
|
-
base_model_name: string;
|
|
18
|
-
text_column?: string;
|
|
19
|
-
learning_rate?: number;
|
|
20
|
-
batch_size?: number;
|
|
21
|
-
num_epochs?: number;
|
|
22
|
-
block_size?: number;
|
|
23
|
-
warmup_ratio?: number;
|
|
24
|
-
lora_r?: number;
|
|
25
|
-
lora_alpha?: number;
|
|
26
|
-
lora_dropout?: number;
|
|
27
|
-
weight_decay?: number;
|
|
28
|
-
gradient_accumulation?: number;
|
|
29
|
-
use_peft?: boolean;
|
|
30
|
-
use_fp16?: boolean;
|
|
31
|
-
use_int4?: boolean;
|
|
32
|
-
push_to_hub?: boolean;
|
|
33
|
-
repo_id?: string;
|
|
34
|
-
preprocess_dataset?: boolean;
|
|
35
|
-
prompt_column?: string;
|
|
36
|
-
response_column?: string;
|
|
37
|
-
prompt_prefix?: string;
|
|
38
|
-
prompt_suffix?: string;
|
|
39
|
-
response_prefix?: string;
|
|
40
|
-
response_suffix?: string;
|
|
41
|
-
error_log?: string;
|
|
42
|
-
readonly date_created: string;
|
|
43
|
-
readonly last_modified: string;
|
|
44
|
-
platform: number;
|
|
45
|
-
};
|
|
46
|
-
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
-
/* istanbul ignore file */
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
import type { Provider63aEnum } from './Provider63aEnum';
|
|
6
|
-
export type TrainingCreate = {
|
|
7
|
-
readonly id: string;
|
|
8
|
-
project_name: string;
|
|
9
|
-
dataset: string;
|
|
10
|
-
base_model_name: string;
|
|
11
|
-
provider?: Provider63aEnum;
|
|
12
|
-
text_column?: string;
|
|
13
|
-
learning_rate?: number;
|
|
14
|
-
batch_size?: number;
|
|
15
|
-
num_epochs?: number;
|
|
16
|
-
block_size?: number;
|
|
17
|
-
warmup_ratio?: number;
|
|
18
|
-
lora_r?: number;
|
|
19
|
-
lora_alpha?: number;
|
|
20
|
-
lora_dropout?: number;
|
|
21
|
-
weight_decay?: number;
|
|
22
|
-
gradient_accumulation?: number;
|
|
23
|
-
use_peft?: boolean;
|
|
24
|
-
use_fp16?: boolean;
|
|
25
|
-
use_int4?: boolean;
|
|
26
|
-
push_to_hub?: boolean;
|
|
27
|
-
repo_id?: string;
|
|
28
|
-
preprocess_dataset?: boolean;
|
|
29
|
-
prompt_column?: string;
|
|
30
|
-
prompt_prefix?: string;
|
|
31
|
-
prompt_suffix?: string;
|
|
32
|
-
response_prefix?: string;
|
|
33
|
-
readonly date_created: string;
|
|
34
|
-
readonly last_modified: string;
|
|
35
|
-
};
|
|
36
|
-
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
-
/* istanbul ignore file */
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
export type WebexConfig = {
|
|
6
|
-
readonly id: number;
|
|
7
|
-
readonly bot: number;
|
|
8
|
-
/**
|
|
9
|
-
* Bot id from webex
|
|
10
|
-
*/
|
|
11
|
-
webex_bot_id: string;
|
|
12
|
-
bot_access_token: string;
|
|
13
|
-
bot_username: string;
|
|
14
|
-
};
|
|
15
|
-
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
-
/* istanbul ignore file */
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
export type WhatsappConfig = {
|
|
6
|
-
readonly id: number;
|
|
7
|
-
readonly bot: number;
|
|
8
|
-
phone_number_id: string;
|
|
9
|
-
application_secret: string;
|
|
10
|
-
webhook_verification_token: string;
|
|
11
|
-
/**
|
|
12
|
-
* Access token to the bot. This can also be a temporary access token.
|
|
13
|
-
*/
|
|
14
|
-
access_token: string;
|
|
15
|
-
};
|
|
16
|
-
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
-
/* istanbul ignore file */
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
export type WhatsappUserConfig = {
|
|
6
|
-
readonly id: number;
|
|
7
|
-
/**
|
|
8
|
-
* edX user ID
|
|
9
|
-
*/
|
|
10
|
-
readonly user: number;
|
|
11
|
-
phone_number: string;
|
|
12
|
-
readonly date_created: string;
|
|
13
|
-
readonly last_modified: string;
|
|
14
|
-
};
|
|
15
|
-
|