@mentingo/luma-sdk 0.4.0 → 0.4.1
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/README.md +73 -5
- package/dist/{chunk-W5CQGEDB.js → chunk-PHLN53W2.js} +6 -2
- package/dist/{contracts-qTi7LQB8.d.cts → contracts-CcTSdQMI.d.cts} +325 -14
- package/dist/{contracts-qTi7LQB8.d.ts → contracts-CcTSdQMI.d.ts} +325 -14
- package/dist/contracts.cjs +2 -0
- package/dist/contracts.d.cts +1 -1
- package/dist/contracts.d.ts +1 -1
- package/dist/contracts.js +1 -1
- package/dist/index.cjs +16 -4
- package/dist/index.d.cts +10 -59
- package/dist/index.d.ts +10 -59
- package/dist/index.js +11 -3
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -10,11 +10,11 @@ It provides two separate clients:
|
|
|
10
10
|
## Installation
|
|
11
11
|
|
|
12
12
|
```bash
|
|
13
|
-
pnpm add @mentingo/luma-sdk
|
|
13
|
+
pnpm add @mentingo/luma-sdk@0.4.1
|
|
14
14
|
# or
|
|
15
|
-
npm install @mentingo/luma-sdk
|
|
15
|
+
npm install @mentingo/luma-sdk@0.4.1
|
|
16
16
|
# or
|
|
17
|
-
yarn add @mentingo/luma-sdk
|
|
17
|
+
yarn add @mentingo/luma-sdk@0.4.1
|
|
18
18
|
```
|
|
19
19
|
|
|
20
20
|
## Quick Start (HTTP)
|
|
@@ -154,7 +154,7 @@ Namespaces:
|
|
|
154
154
|
|
|
155
155
|
- `client.mentor.streamChat(opts)` - stream mentor chat through the public custom-runtime endpoint. Pass `voiceSessionId` for voice mentor sessions so Luma can forward mentor text directly to the voice session.
|
|
156
156
|
- `client.mentor.chat(opts)` - alias for `client.mentor.streamChat(opts)`.
|
|
157
|
-
- `client.mentor.generateChat(opts)` - generate a non-stream
|
|
157
|
+
- `client.mentor.generateChat(opts, { signal? })` - generate a native non-stream chat response, with optional cancellation.
|
|
158
158
|
- `client.mentor.judge(opts)`
|
|
159
159
|
- `client.ai.createEmbeddings(opts)`
|
|
160
160
|
- `client.ai.generateJudgeConfiguration(opts)`
|
|
@@ -192,7 +192,75 @@ routing. API key settings use extensible non-secret metadata, for example
|
|
|
192
192
|
to `null` removes it. Credentials remain in the write-only `textToSpeechApiKey`
|
|
193
193
|
field; `hasTextToSpeechApiKey` reports whether one is saved.
|
|
194
194
|
|
|
195
|
-
For voice mentor flows, use `client.mentor.streamChat({ ..., voiceSessionId })` so streamed mentor text can be forwarded to the active socket session without a separate polling or relay step. Use `client.mentor.generateChat(opts)`
|
|
195
|
+
For voice mentor flows, use `client.mentor.streamChat({ ..., voiceSessionId })` so streamed mentor text can be forwarded to the active socket session without a separate polling or relay step. Use `client.mentor.generateChat(opts)` for normal one-shot text responses. Tool-capable assistant calls use the native options below and do not attach a voice session.
|
|
196
|
+
|
|
197
|
+
## Native Tool-Capable Chat
|
|
198
|
+
|
|
199
|
+
The existing Mentor client also carries assistant tool calls through Luma's native
|
|
200
|
+
chat API. Luma resolves the API key's configured Custom chat profile; the SDK does
|
|
201
|
+
not choose a vendor or contact an OpenAI chat-completions endpoint.
|
|
202
|
+
|
|
203
|
+
```ts
|
|
204
|
+
const result = await client.mentor.generateChat(
|
|
205
|
+
{
|
|
206
|
+
messages: [{ role: "user", content: "Read the course title." }],
|
|
207
|
+
tools: [
|
|
208
|
+
{
|
|
209
|
+
name: "read_course",
|
|
210
|
+
description: "Read an authorized course",
|
|
211
|
+
inputSchema: { type: "object", properties: { courseId: { type: "string" } } },
|
|
212
|
+
},
|
|
213
|
+
],
|
|
214
|
+
toolChoice: "required",
|
|
215
|
+
maxOutputTokens: 2500,
|
|
216
|
+
streamFormat: "events",
|
|
217
|
+
},
|
|
218
|
+
{ signal },
|
|
219
|
+
);
|
|
220
|
+
// result.toolCalls contains native { id, name, arguments } calls.
|
|
221
|
+
// Execute tools with the application's normal authorization checks, then append
|
|
222
|
+
// assistant toolCalls and role: "tool" / toolCallId messages to the next request.
|
|
223
|
+
```
|
|
224
|
+
|
|
225
|
+
For streaming, call `client.mentor.streamChat(opts, { signal })` with
|
|
226
|
+
`streamFormat: "events"`. The existing `/api/public/v1/ai/mentor/chat` route returns
|
|
227
|
+
UTF-8 NDJSON records: `text-delta`, complete `tool-call`, `finish`, or a stable
|
|
228
|
+
`error` code. The response body remains the transport's readable stream; callers
|
|
229
|
+
must decode UTF-8 and newline framing incrementally rather than treating each
|
|
230
|
+
network chunk as one JSON event. The SDK does not execute tools or retry a stream.
|
|
231
|
+
Generation uses the existing `/api/public/v1/ai/mentor/chat/generate` route.
|
|
232
|
+
|
|
233
|
+
Calls omitting tool/event options retain the existing `{ message }` generation
|
|
234
|
+
response and plain-text streaming behavior. `streamChat` already supports request
|
|
235
|
+
cancellation in SDK 0.4.0; the optional generation `signal` parameter is added by
|
|
236
|
+
SDK 0.4.1. Model execution, provider availability and fallback policy stay with
|
|
237
|
+
Luma and the consuming application. Deploy the matching Luma native tool-chat
|
|
238
|
+
contract before enabling event-mode callers.
|
|
239
|
+
|
|
240
|
+
## Native Embeddings
|
|
241
|
+
|
|
242
|
+
Use the existing AI client to embed text with the API key's configured Custom
|
|
243
|
+
embedding profile:
|
|
244
|
+
|
|
245
|
+
```ts
|
|
246
|
+
const result = await client.ai.createEmbeddings({
|
|
247
|
+
texts: ["Customer onboarding policy"],
|
|
248
|
+
dimensions: 1536,
|
|
249
|
+
});
|
|
250
|
+
// result.embeddings contains the vectors; result.model identifies the profile model.
|
|
251
|
+
```
|
|
252
|
+
|
|
253
|
+
This calls `POST /api/public/v1/ai/embeddings` with the normal `X-API-Key`
|
|
254
|
+
transport. `dimensions` is optional and must be supported by the configured model.
|
|
255
|
+
Luma validates the returned vector count, dimensions and finite values. The model
|
|
256
|
+
identity comes from the same runtime resolution that produced the vectors.
|
|
257
|
+
Texts-only calls remain valid. Older Luma responses may omit `model`; consumers
|
|
258
|
+
that persist or compare vector spaces must reject missing identity rather than
|
|
259
|
+
assuming a model. Matching dimensions alone do not make embedding spaces compatible.
|
|
260
|
+
|
|
261
|
+
The public contract is generated from Mentingo AI PR #63. The SDK update adds types
|
|
262
|
+
and transport regressions; published SDK 0.4.0 already forwards these additive body
|
|
263
|
+
and response fields unchanged at runtime. No OpenAI-format embeddings relay is used.
|
|
196
264
|
|
|
197
265
|
## Durable Course Authoring
|
|
198
266
|
|
|
@@ -37,6 +37,7 @@ var TaskKind = /* @__PURE__ */ ((TaskKind2) => {
|
|
|
37
37
|
TaskKind2["Lesson"] = "lesson";
|
|
38
38
|
TaskKind2["Edit"] = "edit";
|
|
39
39
|
TaskKind2["Source"] = "source";
|
|
40
|
+
TaskKind2["SourceVision"] = "source_vision";
|
|
40
41
|
TaskKind2["Asset"] = "asset";
|
|
41
42
|
TaskKind2["CourseReview"] = "course_review";
|
|
42
43
|
return TaskKind2;
|
|
@@ -69,6 +70,7 @@ var AiModelDomain = /* @__PURE__ */ ((AiModelDomain2) => {
|
|
|
69
70
|
AiModelDomain2["AiJudgeConfigurationValidator"] = "aiJudgeConfigurationValidator";
|
|
70
71
|
AiModelDomain2["Translations"] = "translations";
|
|
71
72
|
AiModelDomain2["CourseGeneration"] = "courseGeneration";
|
|
73
|
+
AiModelDomain2["CourseGenerationVision"] = "courseGenerationVision";
|
|
72
74
|
AiModelDomain2["CourseGenerationVisualAssets"] = "courseGenerationVisualAssets";
|
|
73
75
|
AiModelDomain2["CourseGenerationEmbeddings"] = "courseGenerationEmbeddings";
|
|
74
76
|
AiModelDomain2["Embeddings"] = "embeddings";
|
|
@@ -90,6 +92,7 @@ var AiCapabilityMode = /* @__PURE__ */ ((AiCapabilityMode2) => {
|
|
|
90
92
|
})(AiCapabilityMode || {});
|
|
91
93
|
var AiCapability = /* @__PURE__ */ ((AiCapability2) => {
|
|
92
94
|
AiCapability2["CourseGeneration"] = "courseGeneration";
|
|
95
|
+
AiCapability2["CourseGenerationVision"] = "courseGenerationVision";
|
|
93
96
|
AiCapability2["CourseGenerationVisualAssets"] = "courseGenerationVisualAssets";
|
|
94
97
|
AiCapability2["CourseGenerationEmbeddings"] = "courseGenerationEmbeddings";
|
|
95
98
|
AiCapability2["AiMentorChat"] = "aiMentorChat";
|
|
@@ -213,7 +216,7 @@ var API = class extends HttpClient {
|
|
|
213
216
|
...params
|
|
214
217
|
}),
|
|
215
218
|
/**
|
|
216
|
-
*
|
|
219
|
+
* @description Existing text stream by default; streamFormat=events opts into newline-delimited native text, complete tool-call, finish and sanitized error events. Tools execute in the caller, never in Luma.
|
|
217
220
|
*
|
|
218
221
|
* @tags Public - Require API Key
|
|
219
222
|
* @name MentorChatApiPublicV1AiMentorChatPost
|
|
@@ -356,7 +359,7 @@ var API = class extends HttpClient {
|
|
|
356
359
|
...params
|
|
357
360
|
}),
|
|
358
361
|
/**
|
|
359
|
-
*
|
|
362
|
+
* @description Embeds texts using the API key's Custom embeddings runtime. Optional dimensions requests a positive vector size. The response model identifies the same resolved runtime used to produce the validated vectors.
|
|
360
363
|
*
|
|
361
364
|
* @tags Public - Require API Key
|
|
362
365
|
* @name CreateEmbeddingsApiPublicV1AiEmbeddingsPost
|
|
@@ -795,6 +798,7 @@ var LUMA_AI_MODEL_DOMAINS = {
|
|
|
795
798
|
AI_JUDGE_CONFIGURATION_VALIDATOR: "aiJudgeConfigurationValidator" /* AiJudgeConfigurationValidator */,
|
|
796
799
|
TRANSLATIONS: "translations" /* Translations */,
|
|
797
800
|
COURSE_GENERATION: "courseGeneration" /* CourseGeneration */,
|
|
801
|
+
COURSE_GENERATION_VISION: "courseGenerationVision" /* CourseGenerationVision */,
|
|
798
802
|
COURSE_GENERATION_VISUAL_ASSETS: "courseGenerationVisualAssets" /* CourseGenerationVisualAssets */,
|
|
799
803
|
COURSE_GENERATION_EMBEDDINGS: "courseGenerationEmbeddings" /* CourseGenerationEmbeddings */,
|
|
800
804
|
EMBEDDINGS: "embeddings" /* Embeddings */,
|
|
@@ -54,6 +54,7 @@ declare enum TaskKind {
|
|
|
54
54
|
Lesson = "lesson",
|
|
55
55
|
Edit = "edit",
|
|
56
56
|
Source = "source",
|
|
57
|
+
SourceVision = "source_vision",
|
|
57
58
|
Asset = "asset",
|
|
58
59
|
CourseReview = "course_review"
|
|
59
60
|
}
|
|
@@ -118,6 +119,7 @@ declare enum AiModelDomain {
|
|
|
118
119
|
AiJudgeConfigurationValidator = "aiJudgeConfigurationValidator",
|
|
119
120
|
Translations = "translations",
|
|
120
121
|
CourseGeneration = "courseGeneration",
|
|
122
|
+
CourseGenerationVision = "courseGenerationVision",
|
|
121
123
|
CourseGenerationVisualAssets = "courseGenerationVisualAssets",
|
|
122
124
|
CourseGenerationEmbeddings = "courseGenerationEmbeddings",
|
|
123
125
|
Embeddings = "embeddings",
|
|
@@ -131,7 +133,7 @@ declare enum AiMentorConfigurationValidationSeverity {
|
|
|
131
133
|
Warning = "warning"
|
|
132
134
|
}
|
|
133
135
|
/** AiMentorConfigurationType */
|
|
134
|
-
declare enum AiMentorConfigurationType {
|
|
136
|
+
declare enum AiMentorConfigurationType$1 {
|
|
135
137
|
Teacher = "teacher",
|
|
136
138
|
Roleplay = "roleplay"
|
|
137
139
|
}
|
|
@@ -165,6 +167,7 @@ declare enum AiCapabilityMode {
|
|
|
165
167
|
/** AiCapability */
|
|
166
168
|
declare enum AiCapability {
|
|
167
169
|
CourseGeneration = "courseGeneration",
|
|
170
|
+
CourseGenerationVision = "courseGenerationVision",
|
|
168
171
|
CourseGenerationVisualAssets = "courseGenerationVisualAssets",
|
|
169
172
|
CourseGenerationEmbeddings = "courseGenerationEmbeddings",
|
|
170
173
|
AiMentorChat = "aiMentorChat",
|
|
@@ -836,7 +839,7 @@ interface AuthoringCommand$1 {
|
|
|
836
839
|
/** Actorid */
|
|
837
840
|
actorId: string;
|
|
838
841
|
/** Action */
|
|
839
|
-
action: "request.create" | "session.pause" | "session.resume" | "session.stop" | "request.stop" | "request.discard" | "task.retry" | "question.answer" | "proposal.accept" | "proposal.reject" | "proposal.review" | "proposal.regenerate" | "proposal.regenerate.batch" | "draft.edit" | "draft.discard" | "sources.select" | "source.refresh" | "asset.retry_submission";
|
|
842
|
+
action: "request.create" | "session.pause" | "session.resume" | "session.stop" | "request.stop" | "request.discard" | "task.retry" | "question.answer" | "proposal.accept" | "proposal.reject" | "proposal.review" | "proposal.regenerate" | "proposal.regenerate.batch" | "draft.edit" | "draft.discard" | "sources.select" | "source.refresh" | "asset.retry_submission" | "autonomous.fail";
|
|
840
843
|
request?: AuthoringRequest | null;
|
|
841
844
|
/** Targetid */
|
|
842
845
|
targetId?: string | null;
|
|
@@ -872,6 +875,8 @@ interface AuthoringCommand$1 {
|
|
|
872
875
|
} & LessonWriteInput) | ({
|
|
873
876
|
type: "lesson.delete";
|
|
874
877
|
} & DeleteOperation) | ({
|
|
878
|
+
type: "lesson.image.insert";
|
|
879
|
+
} & LessonImageInsert) | ({
|
|
875
880
|
type: "lesson.metadata.update";
|
|
876
881
|
} & LessonMetadataUpdate) | ({
|
|
877
882
|
type: "lesson.reorder";
|
|
@@ -899,6 +904,11 @@ interface AuthoringRequest {
|
|
|
899
904
|
* @default "medium"
|
|
900
905
|
*/
|
|
901
906
|
reasoningEffort?: ReasoningEffort;
|
|
907
|
+
/**
|
|
908
|
+
* Executionmode
|
|
909
|
+
* @default "review"
|
|
910
|
+
*/
|
|
911
|
+
executionMode?: "review" | "autonomous";
|
|
902
912
|
/** Context */
|
|
903
913
|
context?: Record<string, JsonValue>;
|
|
904
914
|
/**
|
|
@@ -1391,15 +1401,25 @@ interface DragOption {
|
|
|
1391
1401
|
*/
|
|
1392
1402
|
displayOrder: number;
|
|
1393
1403
|
}
|
|
1394
|
-
/**
|
|
1404
|
+
/**
|
|
1405
|
+
* EmbeddingsRequest
|
|
1406
|
+
* Embed input text with an optional explicitly requested positive vector size.
|
|
1407
|
+
*/
|
|
1395
1408
|
interface EmbeddingsRequest {
|
|
1396
1409
|
/** Texts */
|
|
1397
1410
|
texts: string[];
|
|
1411
|
+
/** Dimensions */
|
|
1412
|
+
dimensions?: number | null;
|
|
1398
1413
|
}
|
|
1399
|
-
/**
|
|
1414
|
+
/**
|
|
1415
|
+
* EmbeddingsResponse
|
|
1416
|
+
* Return vectors plus the resolved model sent to the provider for this exact call.
|
|
1417
|
+
*/
|
|
1400
1418
|
interface EmbeddingsResponse {
|
|
1401
1419
|
/** Embeddings */
|
|
1402
1420
|
embeddings: number[][];
|
|
1421
|
+
/** Model */
|
|
1422
|
+
model?: string | null;
|
|
1403
1423
|
}
|
|
1404
1424
|
/**
|
|
1405
1425
|
* Event
|
|
@@ -1515,6 +1535,8 @@ interface FrozenExport {
|
|
|
1515
1535
|
} & LessonWriteOutput) | ({
|
|
1516
1536
|
type: "lesson.delete";
|
|
1517
1537
|
} & DeleteOperation) | ({
|
|
1538
|
+
type: "lesson.image.insert";
|
|
1539
|
+
} & LessonImageInsert) | ({
|
|
1518
1540
|
type: "lesson.metadata.update";
|
|
1519
1541
|
} & LessonMetadataUpdate) | ({
|
|
1520
1542
|
type: "lesson.reorder";
|
|
@@ -1535,7 +1557,33 @@ interface GenerateAiMentorConfigurationRequest {
|
|
|
1535
1557
|
messages: PublicAiMessage[];
|
|
1536
1558
|
/** Temperature */
|
|
1537
1559
|
temperature?: number | null;
|
|
1538
|
-
configurationType: AiMentorConfigurationType;
|
|
1560
|
+
configurationType: AiMentorConfigurationType$1;
|
|
1561
|
+
}
|
|
1562
|
+
/**
|
|
1563
|
+
* ImageInsertPayload
|
|
1564
|
+
* Choose one image and existing block without accepting replacement lesson prose.
|
|
1565
|
+
*/
|
|
1566
|
+
interface ImageInsertPayload {
|
|
1567
|
+
/**
|
|
1568
|
+
* Assetid
|
|
1569
|
+
* @format uuid
|
|
1570
|
+
*/
|
|
1571
|
+
assetId: string;
|
|
1572
|
+
/**
|
|
1573
|
+
* Anchorblockid
|
|
1574
|
+
* @format uuid
|
|
1575
|
+
*/
|
|
1576
|
+
anchorBlockId: string;
|
|
1577
|
+
/** Position */
|
|
1578
|
+
position: "before" | "after";
|
|
1579
|
+
/** Caption */
|
|
1580
|
+
caption?: string | null;
|
|
1581
|
+
/**
|
|
1582
|
+
* Alttext
|
|
1583
|
+
* @minLength 1
|
|
1584
|
+
* @maxLength 1000
|
|
1585
|
+
*/
|
|
1586
|
+
altText: string;
|
|
1539
1587
|
}
|
|
1540
1588
|
type JsonValue = any;
|
|
1541
1589
|
/** JudgeCriterionResult */
|
|
@@ -1576,6 +1624,37 @@ interface JudgeTriggeredBlockingError {
|
|
|
1576
1624
|
*/
|
|
1577
1625
|
learnerSafeFeedback: string;
|
|
1578
1626
|
}
|
|
1627
|
+
/**
|
|
1628
|
+
* LessonImageInsert
|
|
1629
|
+
* Insert an image beside a trusted existing block under the whole-lesson baseline.
|
|
1630
|
+
*/
|
|
1631
|
+
interface LessonImageInsert {
|
|
1632
|
+
/**
|
|
1633
|
+
* Operationid
|
|
1634
|
+
* @format uuid
|
|
1635
|
+
*/
|
|
1636
|
+
operationId: string;
|
|
1637
|
+
/**
|
|
1638
|
+
* Targetid
|
|
1639
|
+
* @format uuid
|
|
1640
|
+
*/
|
|
1641
|
+
targetId: string;
|
|
1642
|
+
/** Language */
|
|
1643
|
+
language: "en" | "pl" | "de" | "lt" | "cs" | "es" | "fr";
|
|
1644
|
+
/** Baselinehash */
|
|
1645
|
+
baselineHash?: string | null;
|
|
1646
|
+
/** Dependencies */
|
|
1647
|
+
dependencies?: string[];
|
|
1648
|
+
/** Fieldbaselines */
|
|
1649
|
+
fieldBaselines?: Record<string, string>;
|
|
1650
|
+
/**
|
|
1651
|
+
* Type
|
|
1652
|
+
* @default "lesson.image.insert"
|
|
1653
|
+
*/
|
|
1654
|
+
type?: "lesson.image.insert";
|
|
1655
|
+
/** Choose one image and existing block without accepting replacement lesson prose. */
|
|
1656
|
+
payload: ImageInsertPayload;
|
|
1657
|
+
}
|
|
1579
1658
|
/**
|
|
1580
1659
|
* LessonMetadataPayload
|
|
1581
1660
|
* Patch lesson text without rewriting lesson configuration, assessment, or resources.
|
|
@@ -1699,7 +1778,10 @@ interface LessonWriteOutput {
|
|
|
1699
1778
|
lessonType: "quiz";
|
|
1700
1779
|
} & QuizLessonOutput);
|
|
1701
1780
|
}
|
|
1702
|
-
/**
|
|
1781
|
+
/**
|
|
1782
|
+
* MentorChatRequest
|
|
1783
|
+
* Opt in to native assistant metadata without changing existing text/voice calls.
|
|
1784
|
+
*/
|
|
1703
1785
|
interface MentorChatRequest {
|
|
1704
1786
|
/** Messages */
|
|
1705
1787
|
messages: PublicAiMessage[];
|
|
@@ -1707,8 +1789,29 @@ interface MentorChatRequest {
|
|
|
1707
1789
|
temperature?: number | null;
|
|
1708
1790
|
/** Voicesessionid */
|
|
1709
1791
|
voiceSessionId?: string | null;
|
|
1792
|
+
/**
|
|
1793
|
+
* Streamformat
|
|
1794
|
+
* @default "text"
|
|
1795
|
+
*/
|
|
1796
|
+
streamFormat?: "text" | "events";
|
|
1797
|
+
/**
|
|
1798
|
+
* Tools
|
|
1799
|
+
* @maxItems 128
|
|
1800
|
+
*/
|
|
1801
|
+
tools?: NativeChatTool[];
|
|
1802
|
+
/** Toolchoice */
|
|
1803
|
+
toolChoice?: "auto" | "none" | "required" | NamedToolChoice | null;
|
|
1804
|
+
/** Maxoutputtokens */
|
|
1805
|
+
maxOutputTokens?: number | null;
|
|
1806
|
+
/** Topp */
|
|
1807
|
+
topP?: number | null;
|
|
1808
|
+
/** Stopsequences */
|
|
1809
|
+
stopSequences?: string[] | null;
|
|
1710
1810
|
}
|
|
1711
|
-
/**
|
|
1811
|
+
/**
|
|
1812
|
+
* MentorChatResponse
|
|
1813
|
+
* Retain the exact legacy message response for text-only callers.
|
|
1814
|
+
*/
|
|
1712
1815
|
interface MentorChatResponse {
|
|
1713
1816
|
/** Message */
|
|
1714
1817
|
message: string;
|
|
@@ -1826,6 +1929,136 @@ interface MetadataUpdate {
|
|
|
1826
1929
|
/** Carry the optional course metadata fields that a metadata patch may change. */
|
|
1827
1930
|
payload: MetadataPayload;
|
|
1828
1931
|
}
|
|
1932
|
+
/**
|
|
1933
|
+
* NamedToolChoice
|
|
1934
|
+
* Select one of the tools declared on this invocation.
|
|
1935
|
+
*/
|
|
1936
|
+
interface NamedToolChoice {
|
|
1937
|
+
/**
|
|
1938
|
+
* Name
|
|
1939
|
+
* @minLength 1
|
|
1940
|
+
* @maxLength 128
|
|
1941
|
+
*/
|
|
1942
|
+
name: string;
|
|
1943
|
+
}
|
|
1944
|
+
/**
|
|
1945
|
+
* NativeChatResult
|
|
1946
|
+
* Return lossless assistant output when a request opts in to native tool chat.
|
|
1947
|
+
*/
|
|
1948
|
+
interface NativeChatResult {
|
|
1949
|
+
/** Message */
|
|
1950
|
+
message: string;
|
|
1951
|
+
/** Toolcalls */
|
|
1952
|
+
toolCalls: NativeToolCall[];
|
|
1953
|
+
/** Finishreason */
|
|
1954
|
+
finishReason: "stop" | "length" | "tool-calls" | "content-filter" | "other";
|
|
1955
|
+
usage?: NativeChatUsage | null;
|
|
1956
|
+
}
|
|
1957
|
+
/**
|
|
1958
|
+
* NativeChatTool
|
|
1959
|
+
* Describe a caller-owned function; Luma asks for calls but never executes it.
|
|
1960
|
+
*/
|
|
1961
|
+
interface NativeChatTool {
|
|
1962
|
+
/**
|
|
1963
|
+
* Name
|
|
1964
|
+
* @minLength 1
|
|
1965
|
+
* @maxLength 128
|
|
1966
|
+
*/
|
|
1967
|
+
name: string;
|
|
1968
|
+
/** Description */
|
|
1969
|
+
description?: string | null;
|
|
1970
|
+
/** Inputschema */
|
|
1971
|
+
inputSchema: Record<string, JsonValue>;
|
|
1972
|
+
}
|
|
1973
|
+
/**
|
|
1974
|
+
* NativeChatUsage
|
|
1975
|
+
* Report provider token counts only when they are available.
|
|
1976
|
+
*/
|
|
1977
|
+
interface NativeChatUsage {
|
|
1978
|
+
/**
|
|
1979
|
+
* Inputtokens
|
|
1980
|
+
* @min 0
|
|
1981
|
+
*/
|
|
1982
|
+
inputTokens: number;
|
|
1983
|
+
/**
|
|
1984
|
+
* Outputtokens
|
|
1985
|
+
* @min 0
|
|
1986
|
+
*/
|
|
1987
|
+
outputTokens: number;
|
|
1988
|
+
}
|
|
1989
|
+
/**
|
|
1990
|
+
* NativeErrorEvent
|
|
1991
|
+
* Signal a sanitized mid-stream failure without leaking upstream payloads.
|
|
1992
|
+
*/
|
|
1993
|
+
interface NativeErrorEvent {
|
|
1994
|
+
/** Type */
|
|
1995
|
+
type: "error";
|
|
1996
|
+
/** Code */
|
|
1997
|
+
code: "provider_request_failed";
|
|
1998
|
+
}
|
|
1999
|
+
/**
|
|
2000
|
+
* NativeFinishEvent
|
|
2001
|
+
* Close a successful native stream with a reason and optional usage.
|
|
2002
|
+
*/
|
|
2003
|
+
interface NativeFinishEvent {
|
|
2004
|
+
/** Type */
|
|
2005
|
+
type: "finish";
|
|
2006
|
+
/** Finishreason */
|
|
2007
|
+
finishReason: "stop" | "length" | "tool-calls" | "content-filter" | "other";
|
|
2008
|
+
usage?: NativeChatUsage | null;
|
|
2009
|
+
}
|
|
2010
|
+
/**
|
|
2011
|
+
* NativeTextDelta
|
|
2012
|
+
* Stream visible text without provider-specific wire objects.
|
|
2013
|
+
*/
|
|
2014
|
+
interface NativeTextDelta {
|
|
2015
|
+
/** Type */
|
|
2016
|
+
type: "text-delta";
|
|
2017
|
+
/** Text */
|
|
2018
|
+
text: string;
|
|
2019
|
+
}
|
|
2020
|
+
/**
|
|
2021
|
+
* NativeToolCall
|
|
2022
|
+
* Carry one complete validated function call with JSON object arguments.
|
|
2023
|
+
*/
|
|
2024
|
+
interface NativeToolCall {
|
|
2025
|
+
/**
|
|
2026
|
+
* Id
|
|
2027
|
+
* @minLength 1
|
|
2028
|
+
* @maxLength 256
|
|
2029
|
+
*/
|
|
2030
|
+
id: string;
|
|
2031
|
+
/**
|
|
2032
|
+
* Name
|
|
2033
|
+
* @minLength 1
|
|
2034
|
+
* @maxLength 128
|
|
2035
|
+
*/
|
|
2036
|
+
name: string;
|
|
2037
|
+
/** Arguments */
|
|
2038
|
+
arguments: Record<string, JsonValue>;
|
|
2039
|
+
}
|
|
2040
|
+
/**
|
|
2041
|
+
* NativeToolCallEvent
|
|
2042
|
+
* Publish only a complete function call after validating its arguments.
|
|
2043
|
+
*/
|
|
2044
|
+
interface NativeToolCallEvent {
|
|
2045
|
+
/**
|
|
2046
|
+
* Id
|
|
2047
|
+
* @minLength 1
|
|
2048
|
+
* @maxLength 256
|
|
2049
|
+
*/
|
|
2050
|
+
id: string;
|
|
2051
|
+
/**
|
|
2052
|
+
* Name
|
|
2053
|
+
* @minLength 1
|
|
2054
|
+
* @maxLength 128
|
|
2055
|
+
*/
|
|
2056
|
+
name: string;
|
|
2057
|
+
/** Arguments */
|
|
2058
|
+
arguments: Record<string, JsonValue>;
|
|
2059
|
+
/** Type */
|
|
2060
|
+
type: "tool-call";
|
|
2061
|
+
}
|
|
1829
2062
|
/**
|
|
1830
2063
|
* OpenTextSettings
|
|
1831
2064
|
* Constrain and guide manually reviewed free-text answers.
|
|
@@ -1919,6 +2152,15 @@ interface PrepareExport {
|
|
|
1919
2152
|
proposalIds: string[];
|
|
1920
2153
|
/** Omitoptionalassetids */
|
|
1921
2154
|
omitOptionalAssetIds?: string[];
|
|
2155
|
+
/**
|
|
2156
|
+
* Manualapply
|
|
2157
|
+
* @default false
|
|
2158
|
+
*/
|
|
2159
|
+
manualApply?: boolean;
|
|
2160
|
+
/** Autonomousrequestid */
|
|
2161
|
+
autonomousRequestId?: string | null;
|
|
2162
|
+
/** Autonomouscontrolepoch */
|
|
2163
|
+
autonomousControlEpoch?: number | null;
|
|
1922
2164
|
}
|
|
1923
2165
|
/**
|
|
1924
2166
|
* ProposalRegeneration
|
|
@@ -1965,12 +2207,19 @@ interface ProposalReviewDecision {
|
|
|
1965
2207
|
*/
|
|
1966
2208
|
acceptQualityConcerns?: boolean;
|
|
1967
2209
|
}
|
|
1968
|
-
/**
|
|
2210
|
+
/**
|
|
2211
|
+
* PublicAiMessage
|
|
2212
|
+
* Preserve native text messages and carry assistant calls and their tool results.
|
|
2213
|
+
*/
|
|
1969
2214
|
interface PublicAiMessage {
|
|
1970
2215
|
/** Role */
|
|
1971
|
-
role: "system" | "user" | "assistant";
|
|
2216
|
+
role: "system" | "user" | "assistant" | "tool";
|
|
1972
2217
|
/** Content */
|
|
1973
2218
|
content: string;
|
|
2219
|
+
/** Toolcalls */
|
|
2220
|
+
toolCalls?: NativeToolCall[] | null;
|
|
2221
|
+
/** Toolcallid */
|
|
2222
|
+
toolCallId?: string | null;
|
|
1974
2223
|
}
|
|
1975
2224
|
/** PublicConfigurationResponse */
|
|
1976
2225
|
interface PublicConfigurationResponse {
|
|
@@ -2681,6 +2930,9 @@ interface WorkspaceRecord {
|
|
|
2681
2930
|
/** Payload */
|
|
2682
2931
|
payload: Record<string, JsonValue>;
|
|
2683
2932
|
}
|
|
2933
|
+
type BaseNullTypeMapping<Key, Type> = {
|
|
2934
|
+
type: Key;
|
|
2935
|
+
} & Type;
|
|
2684
2936
|
|
|
2685
2937
|
type QueryParamsType = Record<string | number, any>;
|
|
2686
2938
|
interface FullRequestParams extends Omit<AxiosRequestConfig, "data" | "params" | "url" | "responseType"> {
|
|
@@ -2740,7 +2992,7 @@ declare class API<SecurityDataType extends unknown> extends HttpClient<SecurityD
|
|
|
2740
2992
|
*/
|
|
2741
2993
|
getConfigurationStatusApiPublicV1AiConfigurationGet: (params?: RequestParams) => Promise<AxiosResponse<PublicConfigurationResponse, any, {}, any>>;
|
|
2742
2994
|
/**
|
|
2743
|
-
*
|
|
2995
|
+
* @description Existing text stream by default; streamFormat=events opts into newline-delimited native text, complete tool-call, finish and sanitized error events. Tools execute in the caller, never in Luma.
|
|
2744
2996
|
*
|
|
2745
2997
|
* @tags Public - Require API Key
|
|
2746
2998
|
* @name MentorChatApiPublicV1AiMentorChatPost
|
|
@@ -2748,7 +3000,7 @@ declare class API<SecurityDataType extends unknown> extends HttpClient<SecurityD
|
|
|
2748
3000
|
* @request POST:/api/public/v1/ai/mentor/chat
|
|
2749
3001
|
* @secure
|
|
2750
3002
|
*/
|
|
2751
|
-
mentorChatApiPublicV1AiMentorChatPost: (data: MentorChatRequest, params?: RequestParams) => Promise<AxiosResponse<
|
|
3003
|
+
mentorChatApiPublicV1AiMentorChatPost: (data: MentorChatRequest, params?: RequestParams) => Promise<AxiosResponse<string & (BaseNullTypeMapping<"text-delta", NativeTextDelta> | BaseNullTypeMapping<"tool-call", NativeToolCallEvent> | BaseNullTypeMapping<"finish", NativeFinishEvent> | BaseNullTypeMapping<"error", NativeErrorEvent>), any, {}, any>>;
|
|
2752
3004
|
/**
|
|
2753
3005
|
* No description
|
|
2754
3006
|
*
|
|
@@ -2758,7 +3010,7 @@ declare class API<SecurityDataType extends unknown> extends HttpClient<SecurityD
|
|
|
2758
3010
|
* @request POST:/api/public/v1/ai/mentor/chat/generate
|
|
2759
3011
|
* @secure
|
|
2760
3012
|
*/
|
|
2761
|
-
generateMentorChatApiPublicV1AiMentorChatGeneratePost: (data: MentorChatRequest, params?: RequestParams) => Promise<AxiosResponse<MentorChatResponse, any, {}, any>>;
|
|
3013
|
+
generateMentorChatApiPublicV1AiMentorChatGeneratePost: (data: MentorChatRequest, params?: RequestParams) => Promise<AxiosResponse<NativeChatResult | MentorChatResponse, any, {}, any>>;
|
|
2762
3014
|
/**
|
|
2763
3015
|
* No description
|
|
2764
3016
|
*
|
|
@@ -2820,7 +3072,7 @@ declare class API<SecurityDataType extends unknown> extends HttpClient<SecurityD
|
|
|
2820
3072
|
*/
|
|
2821
3073
|
generateTranslationsApiPublicV1AiTranslationsGeneratePost: (data: StructuredGenerationRequest, params?: RequestParams) => Promise<AxiosResponse<TranslationResponse, any, {}, any>>;
|
|
2822
3074
|
/**
|
|
2823
|
-
*
|
|
3075
|
+
* @description Embeds texts using the API key's Custom embeddings runtime. Optional dimensions requests a positive vector size. The response model identifies the same resolved runtime used to produce the validated vectors.
|
|
2824
3076
|
*
|
|
2825
3077
|
* @tags Public - Require API Key
|
|
2826
3078
|
* @name CreateEmbeddingsApiPublicV1AiEmbeddingsPost
|
|
@@ -3135,6 +3387,7 @@ declare const LUMA_AI_MODEL_DOMAINS: {
|
|
|
3135
3387
|
readonly AI_JUDGE_CONFIGURATION_VALIDATOR: AiModelDomain.AiJudgeConfigurationValidator;
|
|
3136
3388
|
readonly TRANSLATIONS: AiModelDomain.Translations;
|
|
3137
3389
|
readonly COURSE_GENERATION: AiModelDomain.CourseGeneration;
|
|
3390
|
+
readonly COURSE_GENERATION_VISION: AiModelDomain.CourseGenerationVision;
|
|
3138
3391
|
readonly COURSE_GENERATION_VISUAL_ASSETS: AiModelDomain.CourseGenerationVisualAssets;
|
|
3139
3392
|
readonly COURSE_GENERATION_EMBEDDINGS: AiModelDomain.CourseGenerationEmbeddings;
|
|
3140
3393
|
readonly EMBEDDINGS: AiModelDomain.Embeddings;
|
|
@@ -3665,4 +3918,62 @@ interface LumaSocket extends LumaSocketBase {
|
|
|
3665
3918
|
onAudioOutputComplete(handler: LumaSocketListenEvents[typeof LUMA_SOCKET_LISTEN_EVENTS.AUDIO_OUTPUT_COMPLETE]): this;
|
|
3666
3919
|
}
|
|
3667
3920
|
|
|
3668
|
-
|
|
3921
|
+
type AiRuntimeConfiguration = PublicConfigurationResponse;
|
|
3922
|
+
type MentorChatOptions = MentorChatRequest;
|
|
3923
|
+
type MentorStreamRequestOptions = {
|
|
3924
|
+
signal?: AbortSignal;
|
|
3925
|
+
};
|
|
3926
|
+
type MentorGenerateChatResponse = MentorChatResponse | NativeChatResult;
|
|
3927
|
+
/** Native NDJSON records returned by event-mode Mentor chat. */
|
|
3928
|
+
type MentorChatEvent = NativeTextDelta | NativeToolCallEvent | NativeFinishEvent | NativeErrorEvent;
|
|
3929
|
+
type MentorJudgeOptions = StructuredGenerationRequest;
|
|
3930
|
+
type MentorJudgeResponse = JudgeResponse;
|
|
3931
|
+
type GenerateAiJudgeConfigurationOptions = StructuredGenerationRequest;
|
|
3932
|
+
type GenerateAiJudgeConfigurationResponse = AiJudgeConfigurationResponseOutput;
|
|
3933
|
+
declare const AI_MENTOR_CONFIGURATION_TYPES: {
|
|
3934
|
+
readonly TEACHER: "teacher";
|
|
3935
|
+
readonly ROLEPLAY: "roleplay";
|
|
3936
|
+
};
|
|
3937
|
+
type AiMentorConfigurationType = (typeof AI_MENTOR_CONFIGURATION_TYPES)[keyof typeof AI_MENTOR_CONFIGURATION_TYPES];
|
|
3938
|
+
type GenerateAiMentorConfigurationOptions = Omit<GenerateAiMentorConfigurationRequest, "configurationType"> & {
|
|
3939
|
+
configurationType: AiMentorConfigurationType;
|
|
3940
|
+
};
|
|
3941
|
+
type GenerateAiMentorConfigurationResponse = AiMentorTeacherConfigurationResponse | AiMentorRoleplayConfigurationResponse;
|
|
3942
|
+
type ValidateAiJudgeConfigurationOptions = StructuredGenerationRequest;
|
|
3943
|
+
type ValidateAiJudgeConfigurationResponse = AiJudgeConfigurationValidationResponse;
|
|
3944
|
+
type ValidateAiMentorConfigurationOptions = StructuredGenerationRequest;
|
|
3945
|
+
type ValidateAiMentorConfigurationResponse = AiMentorConfigurationValidationResponse;
|
|
3946
|
+
type CreateEmbeddingsOptions = EmbeddingsRequest;
|
|
3947
|
+
type CreateEmbeddingsResponse = EmbeddingsResponse;
|
|
3948
|
+
type GenerateTranslationsOptions = StructuredGenerationRequest;
|
|
3949
|
+
type GenerateTranslationsResponse = TranslationResponse;
|
|
3950
|
+
type TranscribeDictationOptions = BodyTranscribeDictationApiPublicV1AiTranscriptionsPost;
|
|
3951
|
+
type TranscribeDictationResponse = TranscriptionResponse;
|
|
3952
|
+
declare const LUMA_AI_CAPABILITY_MODES: {
|
|
3953
|
+
readonly CORE: AiCapabilityMode.Core;
|
|
3954
|
+
readonly CUSTOM: AiCapabilityMode.Custom;
|
|
3955
|
+
readonly DISABLED: AiCapabilityMode.Disabled;
|
|
3956
|
+
};
|
|
3957
|
+
declare const LUMA_AI_CAPABILITY_PROVIDERS: {
|
|
3958
|
+
readonly LUMA: AiCapabilityProvider.Luma;
|
|
3959
|
+
readonly MENTINGO_CORE: AiCapabilityProvider.MentingoCore;
|
|
3960
|
+
};
|
|
3961
|
+
declare const LUMA_AI_CAPABILITIES: {
|
|
3962
|
+
readonly COURSE_GENERATION: AiCapability.CourseGeneration;
|
|
3963
|
+
readonly COURSE_GENERATION_VISION: AiCapability.CourseGenerationVision;
|
|
3964
|
+
readonly COURSE_GENERATION_VISUAL_ASSETS: AiCapability.CourseGenerationVisualAssets;
|
|
3965
|
+
readonly COURSE_GENERATION_EMBEDDINGS: AiCapability.CourseGenerationEmbeddings;
|
|
3966
|
+
readonly AI_MENTOR_CHAT: AiCapability.AiMentorChat;
|
|
3967
|
+
readonly AI_MENTOR_JUDGE: AiCapability.AiMentorJudge;
|
|
3968
|
+
readonly AI_MENTOR_CONFIGURATION_GENERATOR: AiCapability.AiMentorConfigurationGenerator;
|
|
3969
|
+
readonly AI_JUDGE_CONFIGURATION_GENERATOR: AiCapability.AiJudgeConfigurationGenerator;
|
|
3970
|
+
readonly AI_JUDGE_CONFIGURATION_VALIDATOR: AiCapability.AiJudgeConfigurationValidator;
|
|
3971
|
+
readonly AI_MENTOR_RAG_EMBEDDINGS: AiCapability.AiMentorRagEmbeddings;
|
|
3972
|
+
readonly TRANSLATION_GENERATION: AiCapability.TranslationGeneration;
|
|
3973
|
+
readonly DICTATION_TRANSCRIPTION: AiCapability.DictationTranscription;
|
|
3974
|
+
readonly VOICE_TRANSCRIPTION: AiCapability.VoiceTranscription;
|
|
3975
|
+
readonly VOICE_MENTOR: AiCapability.VoiceMentor;
|
|
3976
|
+
readonly VOICE_TEXT_TO_SPEECH: AiCapability.VoiceTextToSpeech;
|
|
3977
|
+
};
|
|
3978
|
+
|
|
3979
|
+
export { type MentorStreamRequestOptions as $, API as A, type AuthoringTurnHistoryPage as B, type CreateEmbeddingsOptions as C, type AuthoringEventsOptions as D, type AuthoringEventPage as E, type AuthoringSourceUploadReceipt as F, type GenerateAiJudgeConfigurationOptions as G, type DownloadAuthoringAssetOptions as H, type DownloadedAuthoringAsset as I, type SendAuthoringCommandOptions as J, type AuthoringCommandReceipt as K, type ListAuthoringSessionsOptions as L, type FulfillAuthoringContextOptions as M, type AuthoringContextFulfillmentReceipt as N, type FailAuthoringContextOptions as O, type AuthoringContextFailureReceipt as P, type PrepareAuthoringExportOptions as Q, type FrozenAuthoringExport as R, type SubscribeAuthoringEventsOptions as S, type TranscribeDictationOptions as T, type UploadAuthoringSourceOptions as U, type ValidateAiJudgeConfigurationOptions as V, type GetAuthoringExportOptions as W, type RecordAuthoringReceiptOptions as X, type AuthoringApplicationReceipt as Y, type PublicConfigurationResponse as Z, type MentorChatOptions as _, type CreateEmbeddingsResponse as a, type AuthoringWorkProgressChapter as a$, type NativeChatResult as a0, type MentorGenerateChatResponse as a1, type MentorJudgeOptions as a2, type MentorJudgeResponse as a3, type LumaSocket as a4, AI_MENTOR_CONFIGURATION_TYPES as a5, AUDIO_PROVIDER_STATES as a6, AUDIO_RECOVERY_STATES as a7, AiCapability as a8, AiCapabilityMode as a9, type AudioOutputErrorPayload as aA, type AudioOutputInterruptedData as aB, type AudioOutputInterruptedPayload as aC, type AudioProtocolErrorPayload as aD, type AudioProviderState as aE, type AudioReconnectPayload as aF, type AudioRecoveryPayload as aG, type AudioRecoveryState as aH, type AudioStartedPayload as aI, type AudioStopPayload as aJ, type AudioTriggerTTSPayload as aK, type AuthoringCommand as aL, type AuthoringContextFailure as aM, type AuthoringContextResponse as aN, type AuthoringEvent as aO, type AuthoringLessonCreateOperation as aP, type AuthoringLessonUpdateOperation as aQ, type AuthoringMentorLessonCreatePayload as aR, type AuthoringOperation as aS, type AuthoringSessionSummary as aT, AuthoringSubscriptionError as aU, type AuthoringSubscriptionErrorCode as aV, type AuthoringTaskFailure as aW, type AuthoringTaskSummary as aX, type AuthoringTurn as aY, type AuthoringTurnPart as aZ, type AuthoringWorkProgress as a_, AiCapabilityProvider as aa, type AiCapabilityStatus as ab, type AiJudgeConfigurationResponseInput as ac, type AiMentorConfigurationType as ad, type AiModelAssignmentResponse as ae, type AiModelAssignmentUpdateRequest as af, AiModelDomain as ag, AiModelProfileKind as ah, type AiModelProfileResponse as ai, type AiRuntimeConfiguration as aj, type ApiKeyCreateRequest as ak, type ApiKeyCreateResponse as al, type ApiKeyMetadata as am, type ApiKeyResponse as an, type ApiKeyUpdateRequest as ao, type ApplicationReceipt as ap, type AudioBinaryChunk as aq, type AudioChunkPayload as ar, type AudioChunkedPayload as as, type AudioOutputAlignmentData as at, type AudioOutputAlignmentPayload as au, type AudioOutputChunkData as av, type AudioOutputChunkPayload as aw, type AudioOutputCompleteData as ax, type AudioOutputCompletePayload as ay, type AudioOutputErrorData as az, type GenerateAiJudgeConfigurationResponse as b, ReasoningEffort as b$, type AuthoringWorkProgressStage as b0, type AuthoringWorkspaceRecord as b1, type BodyUploadSourceApiPublicV1AuthoringSessionsSessionIdSourcesPost as b2, type ClientSpeechBoundaryPayload as b3, type CommandReceipt as b4, type ContextFailure as b5, type ContextFailureReceipt as b6, type ContextFulfillmentReceipt as b7, type ContextResponse as b8, type CreateSession as b9, type LearnerTranscriptionTimingData as bA, type LumaAiModelDomain as bB, type LumaAiModelProfileKind as bC, type LumaCaptureProfile as bD, type LumaSocketEmitEvents as bE, type LumaSocketListenEvents as bF, type LumaVoiceTimingPrecision as bG, type MentorChatEvent as bH, type MentorChatRequest as bI, type MentorChatResponse as bJ, type MentorStreamEventEnvelope as bK, type MentorTextDeltaPayload as bL, type MentorTextEndPayload as bM, type MentorTextErrorPayload as bN, type MentorTranscriptionPayload as bO, type NamedToolChoice as bP, type NativeChatTool as bQ, type NativeChatUsage as bR, type NativeErrorEvent as bS, type NativeFinishEvent as bT, type NativeTextDelta as bU, type NativeToolCall as bV, type NativeToolCallEvent as bW, type PrepareAuthoringExport as bX, type PrepareExport as bY, type ProposalReviewDecision as bZ, type PublicAiMessage as b_, EXTERNAL_AUDIO_CLIENT_RECONNECT_GRACE_MS as ba, EXTERNAL_AUDIO_MAX_BUFFERED_CHUNKS as bb, EXTERNAL_AUDIO_MAX_RECOVERY_ATTEMPTS as bc, EXTERNAL_AUDIO_OPERATION as bd, EXTERNAL_AUDIO_RECOVERY_STATE as be, EXTERNAL_AUDIO_RECOVERY_TIMEOUT_MS as bf, EXTERNAL_AUDIO_TERMINAL_RECOVERY_ERROR_CODES as bg, type EventPage as bh, type FrozenExport as bi, LEARNER_TRANSCRIPT_STATUSES as bj, LUMA_AI_CAPABILITIES as bk, LUMA_AI_CAPABILITY_MODES as bl, LUMA_AI_CAPABILITY_PROVIDERS as bm, LUMA_AI_MODEL_DOMAINS as bn, LUMA_AI_MODEL_PROFILE_KINDS as bo, LUMA_AUDIO_ACTIONS as bp, LUMA_AUDIO_FORMATS as bq, LUMA_CAPTURE_PROFILES as br, LUMA_MENTOR_STREAM_EVENT_TYPES as bs, LUMA_SOCKET_EMIT_EVENTS as bt, LUMA_SOCKET_LISTEN_EVENTS as bu, LUMA_SOCKET_MESSAGE_TYPES as bv, LUMA_VOICE_TIMING_PRECISION as bw, type LearnerTranscriptStatus as bx, type LearnerTranscriptionData as by, type LearnerTranscriptionPayload as bz, type GenerateAiMentorConfigurationOptions as c, type ServerConnectedPayload as c0, type SessionSnapshot as c1, type SessionSummary as c2, type SessionSummaryPage as c3, type SourceUploadReceipt as c4, type SpeechAlignmentWord as c5, type StartAudioPayload as c6, TRANSCRIPTION_MODES as c7, TTSProvider as c8, type TaskFailure as c9, TaskKind as ca, type TaskSummary as cb, TextToSpeechProvider as cc, type TranscriptionSessionPlan as cd, TurnPartKind as ce, TurnPartStatus as cf, TurnStatus as cg, type WorkspaceRecord as ch, type GenerateAiMentorConfigurationResponse as d, type ValidateAiJudgeConfigurationResponse as e, type ValidateAiMentorConfigurationOptions as f, type ValidateAiMentorConfigurationResponse as g, type GenerateTranslationsOptions as h, type GenerateTranslationsResponse as i, type TranscribeDictationResponse as j, type AdminOrganizationIdOptions as k, type AdminApiKeyResponse as l, type AdminApiKeyCreateOptions as m, type AdminApiKeyCreateResponse as n, type AdminApiKeyIdentifierOptions as o, type AdminApiKeyUpdateOptions as p, type AdminApiKeyRevokeResponse as q, type AdminConfigurationResponse as r, type AdminModelAssignmentResponse as s, type AdminApiKeyAssignmentUpdateOptions as t, type AdminModelProfileResponse as u, type AuthoringCreateSessionOptions as v, type AuthoringSessionSnapshot as w, type AuthoringSessionPage as x, type AuthoringSessionOptions as y, type AuthoringTurnHistoryOptions as z };
|