@iblai/iblai-api 4.96.0-pre-livekit-ai → 4.96.1-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 +52 -17
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +53 -18
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +52 -17
- package/dist/index.umd.js.map +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/models/CallConfiguration.d.ts +4 -0
- package/dist/types/models/Conversations.d.ts +1 -0
- package/dist/types/models/LlmProviderEnum.d.ts +3 -1
- package/dist/types/models/MessageView.d.ts +1 -0
- package/dist/types/models/MessageViewRequest.d.ts +1 -0
- package/dist/types/models/PatchedCallConfiguration.d.ts +4 -0
- package/dist/types/models/PatchedConversations.d.ts +1 -0
- package/dist/types/models/SttProviderEnum.d.ts +3 -1
- package/dist/types/models/TtsProviderEnum.d.ts +3 -1
- package/dist/types/models/Voice.d.ts +2 -2
- package/dist/types/models/{Provider637Enum.d.ts → VoiceProviderEnum.d.ts} +1 -1
- package/dist/types/services/AiMentorService.d.ts +10 -0
- package/dist/types/services/AiSearchService.d.ts +19 -3
- package/package.json +1 -1
- package/sdk_schema.yml +94 -13
- package/src/core/OpenAPI.ts +1 -1
- package/src/index.ts +1 -1
- package/src/models/CallConfiguration.ts +4 -0
- package/src/models/Conversations.ts +1 -0
- package/src/models/LlmProviderEnum.ts +2 -0
- package/src/models/MessageView.ts +1 -0
- package/src/models/MessageViewRequest.ts +1 -0
- package/src/models/PatchedCallConfiguration.ts +4 -0
- package/src/models/PatchedConversations.ts +1 -0
- package/src/models/SttProviderEnum.ts +2 -0
- package/src/models/TtsProviderEnum.ts +2 -0
- package/src/models/Voice.ts +2 -2
- package/src/models/{Provider637Enum.ts → VoiceProviderEnum.ts} +1 -1
- package/src/services/AiMentorService.ts +25 -0
- package/src/services/AiSearchService.ts +25 -1
|
@@ -10,6 +10,10 @@ export type PatchedCallConfiguration = {
|
|
|
10
10
|
tts_provider?: TtsProviderEnum;
|
|
11
11
|
stt_provider?: SttProviderEnum;
|
|
12
12
|
llm_provider?: LlmProviderEnum;
|
|
13
|
+
/**
|
|
14
|
+
* Language code for TTS, STT, and LLM (e.g., 'en', 'en-US', 'es', 'fr'). Defaults to 'en' (English).
|
|
15
|
+
*/
|
|
16
|
+
language?: string;
|
|
13
17
|
/**
|
|
14
18
|
* Whether to use function calls in the agent or force RAG calls before LLM generation
|
|
15
19
|
*/
|
|
@@ -3,10 +3,12 @@
|
|
|
3
3
|
* * `google` - Google
|
|
4
4
|
* * `deepgram` - Deepgram
|
|
5
5
|
* * `cartesia` - Cartesia
|
|
6
|
+
* * `azure_openai` - Azure Openai
|
|
6
7
|
*/
|
|
7
8
|
export declare enum SttProviderEnum {
|
|
8
9
|
OPENAI = "openai",
|
|
9
10
|
GOOGLE = "google",
|
|
10
11
|
DEEPGRAM = "deepgram",
|
|
11
|
-
CARTESIA = "cartesia"
|
|
12
|
+
CARTESIA = "cartesia",
|
|
13
|
+
AZURE_OPENAI = "azure_openai"
|
|
12
14
|
}
|
|
@@ -2,9 +2,11 @@
|
|
|
2
2
|
* * `openai` - Openai
|
|
3
3
|
* * `google` - Google
|
|
4
4
|
* * `elevenlabs` - Elevenlabs
|
|
5
|
+
* * `azure_openai` - Azure Openai
|
|
5
6
|
*/
|
|
6
7
|
export declare enum TtsProviderEnum {
|
|
7
8
|
OPENAI = "openai",
|
|
8
9
|
GOOGLE = "google",
|
|
9
|
-
ELEVENLABS = "elevenlabs"
|
|
10
|
+
ELEVENLABS = "elevenlabs",
|
|
11
|
+
AZURE_OPENAI = "azure_openai"
|
|
10
12
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { VoiceProviderEnum } from './VoiceProviderEnum';
|
|
2
2
|
export type Voice = {
|
|
3
3
|
readonly id: number;
|
|
4
4
|
name: string;
|
|
5
|
-
provider:
|
|
5
|
+
provider: VoiceProviderEnum;
|
|
6
6
|
language?: string;
|
|
7
7
|
description?: string;
|
|
8
8
|
readonly audio_url: string;
|
|
@@ -6258,6 +6258,16 @@ export declare class AiMentorService {
|
|
|
6258
6258
|
org: string;
|
|
6259
6259
|
sessionId: string;
|
|
6260
6260
|
}): CancelablePromise<SessionMemoryStorage>;
|
|
6261
|
+
/**
|
|
6262
|
+
* Retrieve Shared Messages
|
|
6263
|
+
* Fetches shared chat messages for a specific session.
|
|
6264
|
+
* @returns MessageView
|
|
6265
|
+
* @throws ApiError
|
|
6266
|
+
*/
|
|
6267
|
+
static aiMentorOrgsUsersSessionsSharedRetrieve({ org, sessionId, userId, }: {
|
|
6268
|
+
org: string;
|
|
6269
|
+
sessionId: string;
|
|
6270
|
+
}): CancelablePromise<MessageView>;
|
|
6261
6271
|
/**
|
|
6262
6272
|
* Retrieve shell logs for a specific session.
|
|
6263
6273
|
*
|
|
@@ -53,7 +53,7 @@ export declare class AiSearchService {
|
|
|
53
53
|
* @returns V2GlobalMentorSearchResponse
|
|
54
54
|
* @throws ApiError
|
|
55
55
|
*/
|
|
56
|
-
static v2GlobalMentorSearch({ category, createdBy, includeMainPublicMentors, limit, llm, offset, platformKey, query, subjects, tenant, types, visibility, }: {
|
|
56
|
+
static v2GlobalMentorSearch({ category, createdBy, featured, includeMainPublicMentors, limit, llm, offset, platformKey, query, starred, subjects, tenant, types, visibility, }: {
|
|
57
57
|
/**
|
|
58
58
|
* Mentor category filter
|
|
59
59
|
*/
|
|
@@ -62,6 +62,10 @@ export declare class AiSearchService {
|
|
|
62
62
|
* Filter mentors created by specific user (for personalized search)
|
|
63
63
|
*/
|
|
64
64
|
createdBy?: string;
|
|
65
|
+
/**
|
|
66
|
+
* Filter by featured status (true/false)
|
|
67
|
+
*/
|
|
68
|
+
featured?: boolean | null;
|
|
65
69
|
/**
|
|
66
70
|
* Include main tenant public mentors (VIEWABLE_BY_ANYONE) when true
|
|
67
71
|
*/
|
|
@@ -86,12 +90,16 @@ export declare class AiSearchService {
|
|
|
86
90
|
* Search query for mentors
|
|
87
91
|
*/
|
|
88
92
|
query?: string;
|
|
93
|
+
/**
|
|
94
|
+
* Filter by starred status (true/false) - only for authenticated users
|
|
95
|
+
*/
|
|
96
|
+
starred?: boolean | null;
|
|
89
97
|
/**
|
|
90
98
|
* Mentor subject filter
|
|
91
99
|
*/
|
|
92
100
|
subjects?: string;
|
|
93
101
|
/**
|
|
94
|
-
* Tenant key(s) (CSV). Can be used as a filter for multiple tenants, or as an alias for 'platform_key'
|
|
102
|
+
* Tenant key(s) (CSV). Can be used as a filter for multiple tenants, or as an alias for 'platform_key' (backward compatibility).
|
|
95
103
|
*/
|
|
96
104
|
tenant?: string;
|
|
97
105
|
/**
|
|
@@ -195,7 +203,7 @@ export declare class AiSearchService {
|
|
|
195
203
|
* @returns V2PersonalizedMentorsResponse
|
|
196
204
|
* @throws ApiError
|
|
197
205
|
*/
|
|
198
|
-
static v2PersonalizedMentors({ audience, category, limit, llmProviders, offset, orderBy, orderDirection, platformKey, query, returnFacet, tags, tenant, username, visibility, }: {
|
|
206
|
+
static v2PersonalizedMentors({ audience, category, featured, limit, llmProviders, offset, orderBy, orderDirection, platformKey, query, returnFacet, starred, tags, tenant, username, visibility, }: {
|
|
199
207
|
/**
|
|
200
208
|
* Filter by audience
|
|
201
209
|
*/
|
|
@@ -204,6 +212,10 @@ export declare class AiSearchService {
|
|
|
204
212
|
* Mentor category filter
|
|
205
213
|
*/
|
|
206
214
|
category?: string;
|
|
215
|
+
/**
|
|
216
|
+
* Filter by featured status (true/false)
|
|
217
|
+
*/
|
|
218
|
+
featured?: boolean | null;
|
|
207
219
|
/**
|
|
208
220
|
* Number of results per page
|
|
209
221
|
*/
|
|
@@ -239,6 +251,10 @@ export declare class AiSearchService {
|
|
|
239
251
|
* Include facet data in response
|
|
240
252
|
*/
|
|
241
253
|
returnFacet?: boolean;
|
|
254
|
+
/**
|
|
255
|
+
* Filter by starred status (true/false)
|
|
256
|
+
*/
|
|
257
|
+
starred?: boolean | null;
|
|
242
258
|
/**
|
|
243
259
|
* Filter by tags
|
|
244
260
|
*/
|
package/package.json
CHANGED
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.96.
|
|
4
|
+
version: 4.96.1-ai-plus
|
|
5
5
|
description: API for iblai
|
|
6
6
|
paths:
|
|
7
7
|
/api/ai-account/connected-services/callback/:
|
|
@@ -29268,6 +29268,37 @@ paths:
|
|
|
29268
29268
|
description: ''
|
|
29269
29269
|
'404':
|
|
29270
29270
|
description: Session not found or does not belong to user
|
|
29271
|
+
/api/ai-mentor/orgs/{org}/users/{user_id}/sessions/{session_id}/shared/:
|
|
29272
|
+
get:
|
|
29273
|
+
operationId: ai_mentor_orgs_users_sessions_shared_retrieve
|
|
29274
|
+
description: Fetches shared chat messages for a specific session.
|
|
29275
|
+
summary: Retrieve Shared Messages
|
|
29276
|
+
parameters:
|
|
29277
|
+
- in: path
|
|
29278
|
+
name: org
|
|
29279
|
+
schema:
|
|
29280
|
+
type: string
|
|
29281
|
+
required: true
|
|
29282
|
+
- in: path
|
|
29283
|
+
name: session_id
|
|
29284
|
+
schema:
|
|
29285
|
+
type: string
|
|
29286
|
+
format: uuid
|
|
29287
|
+
required: true
|
|
29288
|
+
- in: path
|
|
29289
|
+
name: user_id
|
|
29290
|
+
schema:
|
|
29291
|
+
type: string
|
|
29292
|
+
required: true
|
|
29293
|
+
tags:
|
|
29294
|
+
- ai-mentor
|
|
29295
|
+
responses:
|
|
29296
|
+
'200':
|
|
29297
|
+
content:
|
|
29298
|
+
application/json:
|
|
29299
|
+
schema:
|
|
29300
|
+
$ref: '#/components/schemas/MessageView'
|
|
29301
|
+
description: ''
|
|
29271
29302
|
/api/ai-mentor/orgs/{org}/users/{user_id}/sessions/{session_id}/shell-logs/:
|
|
29272
29303
|
get:
|
|
29273
29304
|
operationId: ai_mentor_orgs_users_sessions_shell_logs_retrieve
|
|
@@ -33619,6 +33650,12 @@ paths:
|
|
|
33619
33650
|
type: string
|
|
33620
33651
|
minLength: 1
|
|
33621
33652
|
description: Filter mentors created by specific user (for personalized search)
|
|
33653
|
+
- in: query
|
|
33654
|
+
name: featured
|
|
33655
|
+
schema:
|
|
33656
|
+
type: boolean
|
|
33657
|
+
nullable: true
|
|
33658
|
+
description: Filter by featured status (true/false)
|
|
33622
33659
|
- in: query
|
|
33623
33660
|
name: include_main_public_mentors
|
|
33624
33661
|
schema:
|
|
@@ -33658,6 +33695,13 @@ paths:
|
|
|
33658
33695
|
type: string
|
|
33659
33696
|
minLength: 1
|
|
33660
33697
|
description: Search query for mentors
|
|
33698
|
+
- in: query
|
|
33699
|
+
name: starred
|
|
33700
|
+
schema:
|
|
33701
|
+
type: boolean
|
|
33702
|
+
nullable: true
|
|
33703
|
+
description: Filter by starred status (true/false) - only for authenticated
|
|
33704
|
+
users
|
|
33661
33705
|
- in: query
|
|
33662
33706
|
name: subjects
|
|
33663
33707
|
schema:
|
|
@@ -33670,7 +33714,7 @@ paths:
|
|
|
33670
33714
|
type: string
|
|
33671
33715
|
minLength: 1
|
|
33672
33716
|
description: Tenant key(s) (CSV). Can be used as a filter for multiple tenants,
|
|
33673
|
-
or as an alias for 'platform_key'
|
|
33717
|
+
or as an alias for 'platform_key' (backward compatibility).
|
|
33674
33718
|
- in: query
|
|
33675
33719
|
name: types
|
|
33676
33720
|
schema:
|
|
@@ -33889,6 +33933,12 @@ paths:
|
|
|
33889
33933
|
type: string
|
|
33890
33934
|
minLength: 1
|
|
33891
33935
|
description: Mentor category filter
|
|
33936
|
+
- in: query
|
|
33937
|
+
name: featured
|
|
33938
|
+
schema:
|
|
33939
|
+
type: boolean
|
|
33940
|
+
nullable: true
|
|
33941
|
+
description: Filter by featured status (true/false)
|
|
33892
33942
|
- in: query
|
|
33893
33943
|
name: limit
|
|
33894
33944
|
schema:
|
|
@@ -33943,6 +33993,12 @@ paths:
|
|
|
33943
33993
|
schema:
|
|
33944
33994
|
type: boolean
|
|
33945
33995
|
description: Include facet data in response
|
|
33996
|
+
- in: query
|
|
33997
|
+
name: starred
|
|
33998
|
+
schema:
|
|
33999
|
+
type: boolean
|
|
34000
|
+
nullable: true
|
|
34001
|
+
description: Filter by starred status (true/false)
|
|
33946
34002
|
- in: query
|
|
33947
34003
|
name: tags
|
|
33948
34004
|
schema:
|
|
@@ -70315,6 +70371,11 @@ components:
|
|
|
70315
70371
|
$ref: '#/components/schemas/SttProviderEnum'
|
|
70316
70372
|
llm_provider:
|
|
70317
70373
|
$ref: '#/components/schemas/LlmProviderEnum'
|
|
70374
|
+
language:
|
|
70375
|
+
type: string
|
|
70376
|
+
description: Language code for TTS, STT, and LLM (e.g., 'en', 'en-US', 'es',
|
|
70377
|
+
'fr'). Defaults to 'en' (English).
|
|
70378
|
+
maxLength: 10
|
|
70318
70379
|
use_function_calling_for_rag:
|
|
70319
70380
|
type: boolean
|
|
70320
70381
|
description: Whether to use function calls in the agent or force RAG calls
|
|
@@ -71478,6 +71539,8 @@ components:
|
|
|
71478
71539
|
type: boolean
|
|
71479
71540
|
enable_artifacts:
|
|
71480
71541
|
type: boolean
|
|
71542
|
+
is_shared:
|
|
71543
|
+
type: boolean
|
|
71481
71544
|
llm_name:
|
|
71482
71545
|
type: string
|
|
71483
71546
|
nullable: true
|
|
@@ -75721,10 +75784,12 @@ components:
|
|
|
75721
75784
|
enum:
|
|
75722
75785
|
- openai
|
|
75723
75786
|
- google
|
|
75787
|
+
- azure_openai
|
|
75724
75788
|
type: string
|
|
75725
75789
|
description: |-
|
|
75726
75790
|
* `openai` - Openai
|
|
75727
75791
|
* `google` - Google
|
|
75792
|
+
* `azure_openai` - Azure Openai
|
|
75728
75793
|
LtiKey:
|
|
75729
75794
|
type: object
|
|
75730
75795
|
properties:
|
|
@@ -78303,6 +78368,8 @@ components:
|
|
|
78303
78368
|
type: integer
|
|
78304
78369
|
title:
|
|
78305
78370
|
type: string
|
|
78371
|
+
is_shared:
|
|
78372
|
+
type: boolean
|
|
78306
78373
|
proactive_prompt:
|
|
78307
78374
|
type: string
|
|
78308
78375
|
mentor_unique_id:
|
|
@@ -78318,6 +78385,7 @@ components:
|
|
|
78318
78385
|
items: {}
|
|
78319
78386
|
required:
|
|
78320
78387
|
- count
|
|
78388
|
+
- is_shared
|
|
78321
78389
|
- mentor_unique_id
|
|
78322
78390
|
- next
|
|
78323
78391
|
- platform_key
|
|
@@ -78339,6 +78407,8 @@ components:
|
|
|
78339
78407
|
description: List of tools slugs to use
|
|
78340
78408
|
enable_artifacts:
|
|
78341
78409
|
type: boolean
|
|
78410
|
+
is_shared:
|
|
78411
|
+
type: boolean
|
|
78342
78412
|
MessageViewUpdatResponse:
|
|
78343
78413
|
type: object
|
|
78344
78414
|
properties:
|
|
@@ -81019,6 +81089,11 @@ components:
|
|
|
81019
81089
|
$ref: '#/components/schemas/SttProviderEnum'
|
|
81020
81090
|
llm_provider:
|
|
81021
81091
|
$ref: '#/components/schemas/LlmProviderEnum'
|
|
81092
|
+
language:
|
|
81093
|
+
type: string
|
|
81094
|
+
description: Language code for TTS, STT, and LLM (e.g., 'en', 'en-US', 'es',
|
|
81095
|
+
'fr'). Defaults to 'en' (English).
|
|
81096
|
+
maxLength: 10
|
|
81022
81097
|
use_function_calling_for_rag:
|
|
81023
81098
|
type: boolean
|
|
81024
81099
|
description: Whether to use function calls in the agent or force RAG calls
|
|
@@ -81091,6 +81166,8 @@ components:
|
|
|
81091
81166
|
type: boolean
|
|
81092
81167
|
enable_artifacts:
|
|
81093
81168
|
type: boolean
|
|
81169
|
+
is_shared:
|
|
81170
|
+
type: boolean
|
|
81094
81171
|
llm_name:
|
|
81095
81172
|
type: string
|
|
81096
81173
|
nullable: true
|
|
@@ -86662,16 +86739,6 @@ components:
|
|
|
86662
86739
|
* `whatsapp` - Whatsapp
|
|
86663
86740
|
* `discord` - Discord
|
|
86664
86741
|
* `teams` - Teams
|
|
86665
|
-
Provider637Enum:
|
|
86666
|
-
enum:
|
|
86667
|
-
- openai
|
|
86668
|
-
- google
|
|
86669
|
-
- elevenlabs
|
|
86670
|
-
type: string
|
|
86671
|
-
description: |-
|
|
86672
|
-
* `openai` - Openai
|
|
86673
|
-
* `google` - Google
|
|
86674
|
-
* `elevenlabs` - Elevenlabs
|
|
86675
86742
|
Provider63aEnum:
|
|
86676
86743
|
enum:
|
|
86677
86744
|
- openai
|
|
@@ -89246,12 +89313,14 @@ components:
|
|
|
89246
89313
|
- google
|
|
89247
89314
|
- deepgram
|
|
89248
89315
|
- cartesia
|
|
89316
|
+
- azure_openai
|
|
89249
89317
|
type: string
|
|
89250
89318
|
description: |-
|
|
89251
89319
|
* `openai` - Openai
|
|
89252
89320
|
* `google` - Google
|
|
89253
89321
|
* `deepgram` - Deepgram
|
|
89254
89322
|
* `cartesia` - Cartesia
|
|
89323
|
+
* `azure_openai` - Azure Openai
|
|
89255
89324
|
StudentChatMessage:
|
|
89256
89325
|
type: object
|
|
89257
89326
|
properties:
|
|
@@ -90768,11 +90837,13 @@ components:
|
|
|
90768
90837
|
- openai
|
|
90769
90838
|
- google
|
|
90770
90839
|
- elevenlabs
|
|
90840
|
+
- azure_openai
|
|
90771
90841
|
type: string
|
|
90772
90842
|
description: |-
|
|
90773
90843
|
* `openai` - Openai
|
|
90774
90844
|
* `google` - Google
|
|
90775
90845
|
* `elevenlabs` - Elevenlabs
|
|
90846
|
+
* `azure_openai` - Azure Openai
|
|
90776
90847
|
Type2a5Enum:
|
|
90777
90848
|
enum:
|
|
90778
90849
|
- DEFAULT_TEMPLATE
|
|
@@ -92742,7 +92813,7 @@ components:
|
|
|
92742
92813
|
type: string
|
|
92743
92814
|
maxLength: 255
|
|
92744
92815
|
provider:
|
|
92745
|
-
$ref: '#/components/schemas/
|
|
92816
|
+
$ref: '#/components/schemas/VoiceProviderEnum'
|
|
92746
92817
|
language:
|
|
92747
92818
|
type: string
|
|
92748
92819
|
maxLength: 255
|
|
@@ -92756,6 +92827,16 @@ components:
|
|
|
92756
92827
|
- id
|
|
92757
92828
|
- name
|
|
92758
92829
|
- provider
|
|
92830
|
+
VoiceProviderEnum:
|
|
92831
|
+
enum:
|
|
92832
|
+
- openai
|
|
92833
|
+
- google
|
|
92834
|
+
- elevenlabs
|
|
92835
|
+
type: string
|
|
92836
|
+
description: |-
|
|
92837
|
+
* `openai` - Openai
|
|
92838
|
+
* `google` - Google
|
|
92839
|
+
* `elevenlabs` - Elevenlabs
|
|
92759
92840
|
WatchedVideosPerCourse:
|
|
92760
92841
|
type: object
|
|
92761
92842
|
properties:
|
package/src/core/OpenAPI.ts
CHANGED
package/src/index.ts
CHANGED
|
@@ -621,7 +621,6 @@ export type { PromptFacet } from './models/PromptFacet';
|
|
|
621
621
|
export type { PromptSearchResponse } from './models/PromptSearchResponse';
|
|
622
622
|
export { PromptVisibilityEnum } from './models/PromptVisibilityEnum';
|
|
623
623
|
export { Provider05cEnum } from './models/Provider05cEnum';
|
|
624
|
-
export { Provider637Enum } from './models/Provider637Enum';
|
|
625
624
|
export { Provider63aEnum } from './models/Provider63aEnum';
|
|
626
625
|
export type { ProviderBreakdown } from './models/ProviderBreakdown';
|
|
627
626
|
export type { QuestionCardTag } from './models/QuestionCardTag';
|
|
@@ -894,6 +893,7 @@ export type { VideosSpecificCourse } from './models/VideosSpecificCourse';
|
|
|
894
893
|
export type { VideosSpecificCourseData } from './models/VideosSpecificCourseData';
|
|
895
894
|
export type { VideosWatchedSubSection } from './models/VideosWatchedSubSection';
|
|
896
895
|
export type { Voice } from './models/Voice';
|
|
896
|
+
export { VoiceProviderEnum } from './models/VoiceProviderEnum';
|
|
897
897
|
export type { WatchedVideosPerCourse } from './models/WatchedVideosPerCourse';
|
|
898
898
|
export type { WatchedVideosPerCourseData } from './models/WatchedVideosPerCourseData';
|
|
899
899
|
export type { WatchedVideosPerUser } from './models/WatchedVideosPerUser';
|
|
@@ -14,6 +14,10 @@ export type CallConfiguration = {
|
|
|
14
14
|
tts_provider?: TtsProviderEnum;
|
|
15
15
|
stt_provider?: SttProviderEnum;
|
|
16
16
|
llm_provider?: LlmProviderEnum;
|
|
17
|
+
/**
|
|
18
|
+
* Language code for TTS, STT, and LLM (e.g., 'en', 'en-US', 'es', 'fr'). Defaults to 'en' (English).
|
|
19
|
+
*/
|
|
20
|
+
language?: string;
|
|
17
21
|
/**
|
|
18
22
|
* Whether to use function calls in the agent or force RAG calls before LLM generation
|
|
19
23
|
*/
|
|
@@ -14,6 +14,10 @@ export type PatchedCallConfiguration = {
|
|
|
14
14
|
tts_provider?: TtsProviderEnum;
|
|
15
15
|
stt_provider?: SttProviderEnum;
|
|
16
16
|
llm_provider?: LlmProviderEnum;
|
|
17
|
+
/**
|
|
18
|
+
* Language code for TTS, STT, and LLM (e.g., 'en', 'en-US', 'es', 'fr'). Defaults to 'en' (English).
|
|
19
|
+
*/
|
|
20
|
+
language?: string;
|
|
17
21
|
/**
|
|
18
22
|
* Whether to use function calls in the agent or force RAG calls before LLM generation
|
|
19
23
|
*/
|
|
@@ -7,10 +7,12 @@
|
|
|
7
7
|
* * `google` - Google
|
|
8
8
|
* * `deepgram` - Deepgram
|
|
9
9
|
* * `cartesia` - Cartesia
|
|
10
|
+
* * `azure_openai` - Azure Openai
|
|
10
11
|
*/
|
|
11
12
|
export enum SttProviderEnum {
|
|
12
13
|
OPENAI = 'openai',
|
|
13
14
|
GOOGLE = 'google',
|
|
14
15
|
DEEPGRAM = 'deepgram',
|
|
15
16
|
CARTESIA = 'cartesia',
|
|
17
|
+
AZURE_OPENAI = 'azure_openai',
|
|
16
18
|
}
|
|
@@ -6,9 +6,11 @@
|
|
|
6
6
|
* * `openai` - Openai
|
|
7
7
|
* * `google` - Google
|
|
8
8
|
* * `elevenlabs` - Elevenlabs
|
|
9
|
+
* * `azure_openai` - Azure Openai
|
|
9
10
|
*/
|
|
10
11
|
export enum TtsProviderEnum {
|
|
11
12
|
OPENAI = 'openai',
|
|
12
13
|
GOOGLE = 'google',
|
|
13
14
|
ELEVENLABS = 'elevenlabs',
|
|
15
|
+
AZURE_OPENAI = 'azure_openai',
|
|
14
16
|
}
|
package/src/models/Voice.ts
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
/* istanbul ignore file */
|
|
3
3
|
/* tslint:disable */
|
|
4
4
|
/* eslint-disable */
|
|
5
|
-
import type {
|
|
5
|
+
import type { VoiceProviderEnum } from './VoiceProviderEnum';
|
|
6
6
|
export type Voice = {
|
|
7
7
|
readonly id: number;
|
|
8
8
|
name: string;
|
|
9
|
-
provider:
|
|
9
|
+
provider: VoiceProviderEnum;
|
|
10
10
|
language?: string;
|
|
11
11
|
description?: string;
|
|
12
12
|
readonly audio_url: string;
|
|
@@ -11543,6 +11543,31 @@ export class AiMentorService {
|
|
|
11543
11543
|
});
|
|
11544
11544
|
}
|
|
11545
11545
|
/**
|
|
11546
|
+
* Retrieve Shared Messages
|
|
11547
|
+
* Fetches shared chat messages for a specific session.
|
|
11548
|
+
* @returns MessageView
|
|
11549
|
+
* @throws ApiError
|
|
11550
|
+
*/
|
|
11551
|
+
public static aiMentorOrgsUsersSessionsSharedRetrieve({
|
|
11552
|
+
org,
|
|
11553
|
+
sessionId,
|
|
11554
|
+
userId,
|
|
11555
|
+
}: {
|
|
11556
|
+
org: string,
|
|
11557
|
+
sessionId: string,
|
|
11558
|
+
userId: string,
|
|
11559
|
+
}): CancelablePromise<MessageView> {
|
|
11560
|
+
return __request(OpenAPI, {
|
|
11561
|
+
method: 'GET',
|
|
11562
|
+
url: '/api/ai-mentor/orgs/{org}/users/{user_id}/sessions/{session_id}/shared/',
|
|
11563
|
+
path: {
|
|
11564
|
+
'org': org,
|
|
11565
|
+
'session_id': sessionId,
|
|
11566
|
+
'user_id': userId,
|
|
11567
|
+
},
|
|
11568
|
+
});
|
|
11569
|
+
}
|
|
11570
|
+
/**
|
|
11546
11571
|
* Retrieve shell logs for a specific session.
|
|
11547
11572
|
*
|
|
11548
11573
|
* Args:
|