@iblai/iblai-api 3.52.0-ai-plus → 3.53.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 +375 -1764
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +376 -1763
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +375 -1764
- package/dist/index.umd.js.map +1 -1
- package/dist/types/index.d.ts +2 -40
- package/dist/types/models/PaginatedRetrieverDocumentEmbeddingList.d.ts +7 -0
- package/dist/types/models/{Provider637Enum.d.ts → ProviderEnum.d.ts} +1 -1
- package/dist/types/models/Voice.d.ts +2 -2
- package/dist/types/services/AiAnalyticsService.d.ts +0 -12
- package/dist/types/services/AiIndexService.d.ts +3 -2
- package/dist/types/services/AiMentorService.d.ts +3 -2
- package/package.json +1 -1
- package/src/core/OpenAPI.ts +1 -1
- package/src/index.ts +2 -40
- package/src/models/{PaginatedDataSetList.ts → PaginatedRetrieverDocumentEmbeddingList.ts} +3 -3
- package/src/models/{Provider637Enum.ts → ProviderEnum.ts} +1 -1
- package/src/models/Voice.ts +2 -2
- package/src/services/AiAnalyticsService.ts +0 -12
- package/src/services/AiIndexService.ts +3 -2
- package/src/services/AiMentorService.ts +6 -1
- 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/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
|
@@ -2435,9 +2435,6 @@ export class AiAnalyticsService {
|
|
|
2435
2435
|
startDate,
|
|
2436
2436
|
topics,
|
|
2437
2437
|
}: {
|
|
2438
|
-
/**
|
|
2439
|
-
* A UUID string identifying this session.
|
|
2440
|
-
*/
|
|
2441
2438
|
id: string,
|
|
2442
2439
|
org: string,
|
|
2443
2440
|
userId: string,
|
|
@@ -2490,9 +2487,6 @@ export class AiAnalyticsService {
|
|
|
2490
2487
|
startDate,
|
|
2491
2488
|
topics,
|
|
2492
2489
|
}: {
|
|
2493
|
-
/**
|
|
2494
|
-
* A UUID string identifying this session.
|
|
2495
|
-
*/
|
|
2496
2490
|
id: string,
|
|
2497
2491
|
org: string,
|
|
2498
2492
|
userId: string,
|
|
@@ -2548,9 +2542,6 @@ export class AiAnalyticsService {
|
|
|
2548
2542
|
topics,
|
|
2549
2543
|
requestBody,
|
|
2550
2544
|
}: {
|
|
2551
|
-
/**
|
|
2552
|
-
* A UUID string identifying this session.
|
|
2553
|
-
*/
|
|
2554
2545
|
id: string,
|
|
2555
2546
|
org: string,
|
|
2556
2547
|
userId: string,
|
|
@@ -2605,9 +2596,6 @@ export class AiAnalyticsService {
|
|
|
2605
2596
|
startDate,
|
|
2606
2597
|
topics,
|
|
2607
2598
|
}: {
|
|
2608
|
-
/**
|
|
2609
|
-
* A UUID string identifying this session.
|
|
2610
|
-
*/
|
|
2611
2599
|
id: string,
|
|
2612
2600
|
org: string,
|
|
2613
2601
|
userId: string,
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
/* eslint-disable */
|
|
5
5
|
import type { CheckDocumentTrainingStatus } from '../models/CheckDocumentTrainingStatus';
|
|
6
6
|
import type { DocumentSettingsResponse } from '../models/DocumentSettingsResponse';
|
|
7
|
+
import type { PaginatedRetrieverDocumentEmbeddingList } from '../models/PaginatedRetrieverDocumentEmbeddingList';
|
|
7
8
|
import type { ResourceScrappedData } from '../models/ResourceScrappedData';
|
|
8
9
|
import type { RetreiverTrainViewRequest } from '../models/RetreiverTrainViewRequest';
|
|
9
10
|
import type { RetreiverTrainViewResponse } from '../models/RetreiverTrainViewResponse';
|
|
@@ -276,7 +277,7 @@ export class AiIndexService {
|
|
|
276
277
|
* Error Responses:
|
|
277
278
|
* - 400 Bad Request: Invalid query parameters.
|
|
278
279
|
* - 404 Not Found: No document embeddings found for the specified criteria.
|
|
279
|
-
* @returns
|
|
280
|
+
* @returns PaginatedRetrieverDocumentEmbeddingList
|
|
280
281
|
* @throws ApiError
|
|
281
282
|
*/
|
|
282
283
|
public static aiIndexOrgsUsersDocumentsPathwaysList({
|
|
@@ -302,7 +303,7 @@ export class AiIndexService {
|
|
|
302
303
|
* Search query
|
|
303
304
|
*/
|
|
304
305
|
search?: string,
|
|
305
|
-
}): CancelablePromise<
|
|
306
|
+
}): CancelablePromise<PaginatedRetrieverDocumentEmbeddingList> {
|
|
306
307
|
return __request(OpenAPI, {
|
|
307
308
|
method: 'GET',
|
|
308
309
|
url: '/api/ai-index/orgs/{org}/users/{user_id}/documents/pathways/{pathway}/',
|
|
@@ -820,7 +820,7 @@ export class AiMentorService {
|
|
|
820
820
|
});
|
|
821
821
|
}
|
|
822
822
|
/**
|
|
823
|
-
* Update a mentor's details.
|
|
823
|
+
* Update a mentor's details with RBAC enforcement and custom serializer handling.
|
|
824
824
|
* @returns Mentor
|
|
825
825
|
* @throws ApiError
|
|
826
826
|
*/
|
|
@@ -5288,9 +5288,11 @@ export class AiMentorService {
|
|
|
5288
5288
|
public static aiMentorOrgsUsersMentorLlmsList({
|
|
5289
5289
|
org,
|
|
5290
5290
|
userId,
|
|
5291
|
+
mentorId,
|
|
5291
5292
|
}: {
|
|
5292
5293
|
org: string,
|
|
5293
5294
|
userId: string,
|
|
5295
|
+
mentorId?: string,
|
|
5294
5296
|
}): CancelablePromise<Array<LLMResponse>> {
|
|
5295
5297
|
return __request(OpenAPI, {
|
|
5296
5298
|
method: 'GET',
|
|
@@ -5299,6 +5301,9 @@ export class AiMentorService {
|
|
|
5299
5301
|
'org': org,
|
|
5300
5302
|
'user_id': userId,
|
|
5301
5303
|
},
|
|
5304
|
+
query: {
|
|
5305
|
+
'mentor_id': mentorId,
|
|
5306
|
+
},
|
|
5302
5307
|
});
|
|
5303
5308
|
}
|
|
5304
5309
|
/**
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { Provider05cEnum } from './Provider05cEnum';
|
|
2
|
-
export type Bot = {
|
|
3
|
-
readonly id: number;
|
|
4
|
-
readonly platform: number;
|
|
5
|
-
readonly tenant: string;
|
|
6
|
-
name: string;
|
|
7
|
-
provider: Provider05cEnum;
|
|
8
|
-
readonly is_configured: boolean;
|
|
9
|
-
slack_config: number;
|
|
10
|
-
readonly discord_config: number;
|
|
11
|
-
readonly webex_config: number;
|
|
12
|
-
readonly whatsapp_config: number;
|
|
13
|
-
readonly teams_config: number;
|
|
14
|
-
readonly webhook_url: string;
|
|
15
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { Provider05cEnum } from './Provider05cEnum';
|
|
2
|
-
export type BotCreate = {
|
|
3
|
-
readonly id: number;
|
|
4
|
-
name: string;
|
|
5
|
-
provider: Provider05cEnum;
|
|
6
|
-
readonly is_configured: boolean;
|
|
7
|
-
readonly webhook_url: string;
|
|
8
|
-
readonly discord_config: number;
|
|
9
|
-
readonly webex_config: number;
|
|
10
|
-
readonly whatsapp_config: number;
|
|
11
|
-
readonly teams_config: number;
|
|
12
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import type { DataSetStatusEnum } from './DataSetStatusEnum';
|
|
2
|
-
export type DataSet = {
|
|
3
|
-
readonly id: string;
|
|
4
|
-
readonly platform: Record<string, (string | number)> | null;
|
|
5
|
-
name: string;
|
|
6
|
-
/**
|
|
7
|
-
* (if any) Special instructions for generating the dataset. This could be requirements on tone, language, style, etc.
|
|
8
|
-
*/
|
|
9
|
-
prompt?: string;
|
|
10
|
-
source_url?: string;
|
|
11
|
-
source_file?: string;
|
|
12
|
-
status?: DataSetStatusEnum;
|
|
13
|
-
num_data_points?: number;
|
|
14
|
-
train_split?: number;
|
|
15
|
-
train_file?: string;
|
|
16
|
-
test_file?: string;
|
|
17
|
-
retry_attempts?: number;
|
|
18
|
-
error_log?: string;
|
|
19
|
-
readonly date_created: string;
|
|
20
|
-
readonly last_modified: string;
|
|
21
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export type DataSetCreate = {
|
|
2
|
-
readonly id: string;
|
|
3
|
-
name: string;
|
|
4
|
-
source_url?: string;
|
|
5
|
-
source_file?: string;
|
|
6
|
-
num_data_points?: number;
|
|
7
|
-
train_split?: number;
|
|
8
|
-
/**
|
|
9
|
-
* (if any) Special instructions for generating the dataset. This could be requirements on tone, language, style, etc.
|
|
10
|
-
*/
|
|
11
|
-
prompt?: string;
|
|
12
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* * `pending` - Pending
|
|
3
|
-
* * `processing` - Processing
|
|
4
|
-
* * `completed` - Completed
|
|
5
|
-
* * `failed` - Failed
|
|
6
|
-
*/
|
|
7
|
-
export declare enum DataSetStatusEnum {
|
|
8
|
-
PENDING = "pending",
|
|
9
|
-
PROCESSING = "processing",
|
|
10
|
-
COMPLETED = "completed",
|
|
11
|
-
FAILED = "failed"
|
|
12
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { Provider05cEnum } from './Provider05cEnum';
|
|
2
|
-
export type PatchedBotCreate = {
|
|
3
|
-
readonly id?: number;
|
|
4
|
-
name?: string;
|
|
5
|
-
provider?: Provider05cEnum;
|
|
6
|
-
readonly is_configured?: boolean;
|
|
7
|
-
readonly webhook_url?: string;
|
|
8
|
-
readonly discord_config?: number;
|
|
9
|
-
readonly webex_config?: number;
|
|
10
|
-
readonly whatsapp_config?: number;
|
|
11
|
-
readonly teams_config?: number;
|
|
12
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import type { DataSetStatusEnum } from './DataSetStatusEnum';
|
|
2
|
-
export type PatchedDataSet = {
|
|
3
|
-
readonly id?: string;
|
|
4
|
-
readonly platform?: Record<string, (string | number)> | null;
|
|
5
|
-
name?: string;
|
|
6
|
-
/**
|
|
7
|
-
* (if any) Special instructions for generating the dataset. This could be requirements on tone, language, style, etc.
|
|
8
|
-
*/
|
|
9
|
-
prompt?: string;
|
|
10
|
-
source_url?: string;
|
|
11
|
-
source_file?: string;
|
|
12
|
-
status?: DataSetStatusEnum;
|
|
13
|
-
num_data_points?: number;
|
|
14
|
-
train_split?: number;
|
|
15
|
-
train_file?: string;
|
|
16
|
-
test_file?: string;
|
|
17
|
-
retry_attempts?: number;
|
|
18
|
-
error_log?: string;
|
|
19
|
-
readonly date_created?: string;
|
|
20
|
-
readonly last_modified?: string;
|
|
21
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export type PatchedSlackUserConfig = {
|
|
2
|
-
readonly id?: number;
|
|
3
|
-
/**
|
|
4
|
-
* edX user ID
|
|
5
|
-
*/
|
|
6
|
-
readonly user?: number;
|
|
7
|
-
/**
|
|
8
|
-
* Team Domain in the stated slack workspace. This is also the workspace name.
|
|
9
|
-
*/
|
|
10
|
-
slack_team_domain?: string;
|
|
11
|
-
/**
|
|
12
|
-
* Username in the stated slack workspace
|
|
13
|
-
*/
|
|
14
|
-
slack_username?: string;
|
|
15
|
-
readonly date_created?: string;
|
|
16
|
-
readonly last_modified?: string;
|
|
17
|
-
};
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import type { Provider63aEnum } from './Provider63aEnum';
|
|
2
|
-
export type PatchedTrainingCreate = {
|
|
3
|
-
readonly id?: string;
|
|
4
|
-
project_name?: string;
|
|
5
|
-
dataset?: string;
|
|
6
|
-
base_model_name?: string;
|
|
7
|
-
provider?: Provider63aEnum;
|
|
8
|
-
text_column?: string;
|
|
9
|
-
learning_rate?: number;
|
|
10
|
-
batch_size?: number;
|
|
11
|
-
num_epochs?: number;
|
|
12
|
-
block_size?: number;
|
|
13
|
-
warmup_ratio?: number;
|
|
14
|
-
lora_r?: number;
|
|
15
|
-
lora_alpha?: number;
|
|
16
|
-
lora_dropout?: number;
|
|
17
|
-
weight_decay?: number;
|
|
18
|
-
gradient_accumulation?: number;
|
|
19
|
-
use_peft?: boolean;
|
|
20
|
-
use_fp16?: boolean;
|
|
21
|
-
use_int4?: boolean;
|
|
22
|
-
push_to_hub?: boolean;
|
|
23
|
-
repo_id?: string;
|
|
24
|
-
preprocess_dataset?: boolean;
|
|
25
|
-
prompt_column?: string;
|
|
26
|
-
prompt_prefix?: string;
|
|
27
|
-
prompt_suffix?: string;
|
|
28
|
-
response_prefix?: string;
|
|
29
|
-
readonly date_created?: string;
|
|
30
|
-
readonly last_modified?: string;
|
|
31
|
-
};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export type PatchedWhatsappConfig = {
|
|
2
|
-
readonly id?: number;
|
|
3
|
-
readonly bot?: number;
|
|
4
|
-
phone_number_id?: string;
|
|
5
|
-
application_secret?: string;
|
|
6
|
-
webhook_verification_token?: string;
|
|
7
|
-
/**
|
|
8
|
-
* Access token to the bot. This can also be a temporary access token.
|
|
9
|
-
*/
|
|
10
|
-
access_token?: string;
|
|
11
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* * `webex` - Webex
|
|
3
|
-
* * `slack` - Slack
|
|
4
|
-
* * `whatsapp` - Whatsapp
|
|
5
|
-
* * `discord` - Discord
|
|
6
|
-
* * `teams` - Teams
|
|
7
|
-
*/
|
|
8
|
-
export declare enum Provider05cEnum {
|
|
9
|
-
WEBEX = "webex",
|
|
10
|
-
SLACK = "slack",
|
|
11
|
-
WHATSAPP = "whatsapp",
|
|
12
|
-
DISCORD = "discord",
|
|
13
|
-
TEAMS = "teams"
|
|
14
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export type SlackUserConfig = {
|
|
2
|
-
readonly id: number;
|
|
3
|
-
/**
|
|
4
|
-
* edX user ID
|
|
5
|
-
*/
|
|
6
|
-
readonly user: number;
|
|
7
|
-
/**
|
|
8
|
-
* Team Domain in the stated slack workspace. This is also the workspace name.
|
|
9
|
-
*/
|
|
10
|
-
slack_team_domain: string;
|
|
11
|
-
/**
|
|
12
|
-
* Username in the stated slack workspace
|
|
13
|
-
*/
|
|
14
|
-
slack_username: string;
|
|
15
|
-
readonly date_created: string;
|
|
16
|
-
readonly last_modified: string;
|
|
17
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export type TeamsWebhook = {
|
|
2
|
-
id?: string | null;
|
|
3
|
-
type?: string | null;
|
|
4
|
-
channelData?: Record<string, any> | null;
|
|
5
|
-
entities?: Array<any> | null;
|
|
6
|
-
text?: string | null;
|
|
7
|
-
locale?: string | null;
|
|
8
|
-
textFormat?: string | null;
|
|
9
|
-
recipient?: Record<string, any> | null;
|
|
10
|
-
conversation?: Record<string, any> | null;
|
|
11
|
-
from_?: Record<string, any> | null;
|
|
12
|
-
channelId?: string | null;
|
|
13
|
-
serviceUrl?: string | null;
|
|
14
|
-
localTimezone?: string | null;
|
|
15
|
-
localTimestamp?: string | null;
|
|
16
|
-
timestamp?: string | null;
|
|
17
|
-
};
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import type { DataSet } from './DataSet';
|
|
2
|
-
import type { Provider63aEnum } from './Provider63aEnum';
|
|
3
|
-
import type { TrainingStatusEnum } from './TrainingStatusEnum';
|
|
4
|
-
export type Training = {
|
|
5
|
-
id?: string;
|
|
6
|
-
dataset: DataSet;
|
|
7
|
-
project_name: string;
|
|
8
|
-
metadata?: any;
|
|
9
|
-
status?: TrainingStatusEnum;
|
|
10
|
-
retry_attempts?: number;
|
|
11
|
-
fine_tuned_model?: string;
|
|
12
|
-
provider?: Provider63aEnum;
|
|
13
|
-
base_model_name: string;
|
|
14
|
-
text_column?: string;
|
|
15
|
-
learning_rate?: number;
|
|
16
|
-
batch_size?: number;
|
|
17
|
-
num_epochs?: number;
|
|
18
|
-
block_size?: number;
|
|
19
|
-
warmup_ratio?: number;
|
|
20
|
-
lora_r?: number;
|
|
21
|
-
lora_alpha?: number;
|
|
22
|
-
lora_dropout?: number;
|
|
23
|
-
weight_decay?: number;
|
|
24
|
-
gradient_accumulation?: number;
|
|
25
|
-
use_peft?: boolean;
|
|
26
|
-
use_fp16?: boolean;
|
|
27
|
-
use_int4?: boolean;
|
|
28
|
-
push_to_hub?: boolean;
|
|
29
|
-
repo_id?: string;
|
|
30
|
-
preprocess_dataset?: boolean;
|
|
31
|
-
prompt_column?: string;
|
|
32
|
-
response_column?: string;
|
|
33
|
-
prompt_prefix?: string;
|
|
34
|
-
prompt_suffix?: string;
|
|
35
|
-
response_prefix?: string;
|
|
36
|
-
response_suffix?: string;
|
|
37
|
-
error_log?: string;
|
|
38
|
-
readonly date_created: string;
|
|
39
|
-
readonly last_modified: string;
|
|
40
|
-
platform: number;
|
|
41
|
-
};
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import type { Provider63aEnum } from './Provider63aEnum';
|
|
2
|
-
export type TrainingCreate = {
|
|
3
|
-
readonly id: string;
|
|
4
|
-
project_name: string;
|
|
5
|
-
dataset: string;
|
|
6
|
-
base_model_name: string;
|
|
7
|
-
provider?: Provider63aEnum;
|
|
8
|
-
text_column?: string;
|
|
9
|
-
learning_rate?: number;
|
|
10
|
-
batch_size?: number;
|
|
11
|
-
num_epochs?: number;
|
|
12
|
-
block_size?: number;
|
|
13
|
-
warmup_ratio?: number;
|
|
14
|
-
lora_r?: number;
|
|
15
|
-
lora_alpha?: number;
|
|
16
|
-
lora_dropout?: number;
|
|
17
|
-
weight_decay?: number;
|
|
18
|
-
gradient_accumulation?: number;
|
|
19
|
-
use_peft?: boolean;
|
|
20
|
-
use_fp16?: boolean;
|
|
21
|
-
use_int4?: boolean;
|
|
22
|
-
push_to_hub?: boolean;
|
|
23
|
-
repo_id?: string;
|
|
24
|
-
preprocess_dataset?: boolean;
|
|
25
|
-
prompt_column?: string;
|
|
26
|
-
prompt_prefix?: string;
|
|
27
|
-
prompt_suffix?: string;
|
|
28
|
-
response_prefix?: string;
|
|
29
|
-
readonly date_created: string;
|
|
30
|
-
readonly last_modified: string;
|
|
31
|
-
};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export type WhatsappConfig = {
|
|
2
|
-
readonly id: number;
|
|
3
|
-
readonly bot: number;
|
|
4
|
-
phone_number_id: string;
|
|
5
|
-
application_secret: string;
|
|
6
|
-
webhook_verification_token: string;
|
|
7
|
-
/**
|
|
8
|
-
* Access token to the bot. This can also be a temporary access token.
|
|
9
|
-
*/
|
|
10
|
-
access_token: string;
|
|
11
|
-
};
|