@iblai/iblai-api 3.45.7-ai-plus → 3.45.8-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 +109 -1404
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +110 -1403
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +109 -1404
- package/dist/index.umd.js.map +1 -1
- package/dist/types/index.d.ts +2 -40
- package/dist/types/models/DocumentSettingsResponse.d.ts +3 -0
- package/dist/types/models/{VoiceProviderEnum.d.ts → ProviderEnum.d.ts} +1 -1
- package/dist/types/models/Voice.d.ts +2 -2
- package/dist/types/services/AiIndexService.d.ts +20 -0
- package/package.json +1 -1
- package/src/core/OpenAPI.ts +1 -1
- package/src/index.ts +2 -40
- package/src/models/{WhatAppWebHook.ts → DocumentSettingsResponse.ts} +2 -2
- package/src/models/{VoiceProviderEnum.ts → ProviderEnum.ts} +1 -1
- package/src/models/Voice.ts +2 -2
- package/src/services/AiIndexService.ts +51 -0
- 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 -486
- package/dist/types/services/AiFinetuningService.d.ts +0 -162
- 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/WhatsappConfig.ts +0 -16
- package/src/models/WhatsappUserConfig.ts +0 -15
- package/src/services/AiBotService.ts +0 -1174
- package/src/services/AiFinetuningService.ts +0 -402
package/src/models/BotCreate.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
-
/* istanbul ignore file */
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
import type { Provider05cEnum } from './Provider05cEnum';
|
|
6
|
-
export type BotCreate = {
|
|
7
|
-
readonly id: number;
|
|
8
|
-
name: string;
|
|
9
|
-
provider: Provider05cEnum;
|
|
10
|
-
readonly is_configured: boolean;
|
|
11
|
-
readonly webhook_url: string;
|
|
12
|
-
readonly discord_config: number;
|
|
13
|
-
readonly webex_config: number;
|
|
14
|
-
readonly whatsapp_config: number;
|
|
15
|
-
readonly teams_config: number;
|
|
16
|
-
};
|
|
17
|
-
|
package/src/models/DataSet.ts
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
-
/* istanbul ignore file */
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
import type { DataSetStatusEnum } from './DataSetStatusEnum';
|
|
6
|
-
export type DataSet = {
|
|
7
|
-
readonly id: string;
|
|
8
|
-
readonly platform: Record<string, (string | number)> | null;
|
|
9
|
-
name: string;
|
|
10
|
-
/**
|
|
11
|
-
* (if any) Special instructions for generating the dataset. This could be requirements on tone, language, style, etc.
|
|
12
|
-
*/
|
|
13
|
-
prompt?: string;
|
|
14
|
-
source_url?: string;
|
|
15
|
-
source_file?: string;
|
|
16
|
-
status?: DataSetStatusEnum;
|
|
17
|
-
num_data_points?: number;
|
|
18
|
-
train_split?: number;
|
|
19
|
-
train_file?: string;
|
|
20
|
-
test_file?: string;
|
|
21
|
-
retry_attempts?: number;
|
|
22
|
-
error_log?: string;
|
|
23
|
-
readonly date_created: string;
|
|
24
|
-
readonly last_modified: string;
|
|
25
|
-
};
|
|
26
|
-
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
-
/* istanbul ignore file */
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
export type DataSetCreate = {
|
|
6
|
-
readonly id: string;
|
|
7
|
-
name: string;
|
|
8
|
-
source_url?: string;
|
|
9
|
-
source_file?: string;
|
|
10
|
-
num_data_points?: number;
|
|
11
|
-
train_split?: number;
|
|
12
|
-
/**
|
|
13
|
-
* (if any) Special instructions for generating the dataset. This could be requirements on tone, language, style, etc.
|
|
14
|
-
*/
|
|
15
|
-
prompt?: string;
|
|
16
|
-
};
|
|
17
|
-
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
-
/* istanbul ignore file */
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
/**
|
|
6
|
-
* * `pending` - Pending
|
|
7
|
-
* * `processing` - Processing
|
|
8
|
-
* * `completed` - Completed
|
|
9
|
-
* * `failed` - Failed
|
|
10
|
-
*/
|
|
11
|
-
export enum DataSetStatusEnum {
|
|
12
|
-
PENDING = 'pending',
|
|
13
|
-
PROCESSING = 'processing',
|
|
14
|
-
COMPLETED = 'completed',
|
|
15
|
-
FAILED = 'failed',
|
|
16
|
-
}
|
|
@@ -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 DiscordConfig = {
|
|
6
|
-
readonly id: number;
|
|
7
|
-
readonly bot: number;
|
|
8
|
-
client_id: string;
|
|
9
|
-
token: string;
|
|
10
|
-
client_secret: string;
|
|
11
|
-
};
|
|
12
|
-
|
|
@@ -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 DiscordUserConfig = {
|
|
6
|
-
readonly id: number;
|
|
7
|
-
/**
|
|
8
|
-
* edX user ID
|
|
9
|
-
*/
|
|
10
|
-
readonly user: number;
|
|
11
|
-
discord_user_id: string;
|
|
12
|
-
readonly date_created: string;
|
|
13
|
-
readonly last_modified: string;
|
|
14
|
-
};
|
|
15
|
-
|
|
@@ -1,12 +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
|
-
export type PaginatedDataSetList = {
|
|
7
|
-
count: number;
|
|
8
|
-
next?: string | null;
|
|
9
|
-
previous?: string | null;
|
|
10
|
-
results: Array<DataSet>;
|
|
11
|
-
};
|
|
12
|
-
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
-
/* istanbul ignore file */
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
import type { Training } from './Training';
|
|
6
|
-
export type PaginatedTrainingList = {
|
|
7
|
-
count: number;
|
|
8
|
-
next?: string | null;
|
|
9
|
-
previous?: string | null;
|
|
10
|
-
results: Array<Training>;
|
|
11
|
-
};
|
|
12
|
-
|
|
@@ -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 PatchedBotCommand = {
|
|
6
|
-
readonly id?: number;
|
|
7
|
-
command?: string;
|
|
8
|
-
mentor?: number;
|
|
9
|
-
bot?: number;
|
|
10
|
-
};
|
|
11
|
-
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
-
/* istanbul ignore file */
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
import type { Provider05cEnum } from './Provider05cEnum';
|
|
6
|
-
export type PatchedBotCreate = {
|
|
7
|
-
readonly id?: number;
|
|
8
|
-
name?: string;
|
|
9
|
-
provider?: Provider05cEnum;
|
|
10
|
-
readonly is_configured?: boolean;
|
|
11
|
-
readonly webhook_url?: string;
|
|
12
|
-
readonly discord_config?: number;
|
|
13
|
-
readonly webex_config?: number;
|
|
14
|
-
readonly whatsapp_config?: number;
|
|
15
|
-
readonly teams_config?: number;
|
|
16
|
-
};
|
|
17
|
-
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
-
/* istanbul ignore file */
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
import type { DataSetStatusEnum } from './DataSetStatusEnum';
|
|
6
|
-
export type PatchedDataSet = {
|
|
7
|
-
readonly id?: string;
|
|
8
|
-
readonly platform?: Record<string, (string | number)> | null;
|
|
9
|
-
name?: string;
|
|
10
|
-
/**
|
|
11
|
-
* (if any) Special instructions for generating the dataset. This could be requirements on tone, language, style, etc.
|
|
12
|
-
*/
|
|
13
|
-
prompt?: string;
|
|
14
|
-
source_url?: string;
|
|
15
|
-
source_file?: string;
|
|
16
|
-
status?: DataSetStatusEnum;
|
|
17
|
-
num_data_points?: number;
|
|
18
|
-
train_split?: number;
|
|
19
|
-
train_file?: string;
|
|
20
|
-
test_file?: string;
|
|
21
|
-
retry_attempts?: number;
|
|
22
|
-
error_log?: string;
|
|
23
|
-
readonly date_created?: string;
|
|
24
|
-
readonly last_modified?: string;
|
|
25
|
-
};
|
|
26
|
-
|
|
@@ -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 PatchedDiscordConfig = {
|
|
6
|
-
readonly id?: number;
|
|
7
|
-
readonly bot?: number;
|
|
8
|
-
client_id?: string;
|
|
9
|
-
token?: string;
|
|
10
|
-
client_secret?: string;
|
|
11
|
-
};
|
|
12
|
-
|
|
@@ -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 PatchedDiscordUserConfig = {
|
|
6
|
-
readonly id?: number;
|
|
7
|
-
/**
|
|
8
|
-
* edX user ID
|
|
9
|
-
*/
|
|
10
|
-
readonly user?: number;
|
|
11
|
-
discord_user_id?: string;
|
|
12
|
-
readonly date_created?: string;
|
|
13
|
-
readonly last_modified?: string;
|
|
14
|
-
};
|
|
15
|
-
|
|
@@ -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 PatchedSlackConfig = {
|
|
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 PatchedSlackUserConfig = {
|
|
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,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 PatchedTeamsConfig = {
|
|
6
|
-
readonly id?: number;
|
|
7
|
-
readonly bot?: number;
|
|
8
|
-
client_id?: string;
|
|
9
|
-
client_secret?: string;
|
|
10
|
-
verification_token?: string;
|
|
11
|
-
};
|
|
12
|
-
|
|
@@ -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 PatchedTrainingCreate = {
|
|
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 PatchedWebexConfig = {
|
|
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 PatchedWhatsappConfig = {
|
|
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 PatchedWhatsappUserConfig = {
|
|
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
|
-
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
-
/* istanbul ignore file */
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
/**
|
|
6
|
-
* * `webex` - Webex
|
|
7
|
-
* * `slack` - Slack
|
|
8
|
-
* * `whatsapp` - Whatsapp
|
|
9
|
-
* * `discord` - Discord
|
|
10
|
-
* * `teams` - Teams
|
|
11
|
-
*/
|
|
12
|
-
export enum Provider05cEnum {
|
|
13
|
-
WEBEX = 'webex',
|
|
14
|
-
SLACK = 'slack',
|
|
15
|
-
WHATSAPP = 'whatsapp',
|
|
16
|
-
DISCORD = 'discord',
|
|
17
|
-
TEAMS = 'teams',
|
|
18
|
-
}
|
|
@@ -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
|
-
|