@letta-ai/letta-client 0.1.112 → 0.1.114
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/Client.d.ts +3 -3
- package/Client.js +6 -6
- package/api/resources/agents/client/Client.js +9 -9
- package/api/resources/agents/resources/blocks/client/Client.js +5 -5
- package/api/resources/agents/resources/context/client/Client.js +1 -1
- package/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
- package/api/resources/agents/resources/groups/client/Client.js +1 -1
- package/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
- package/api/resources/agents/resources/messages/client/Client.js +6 -6
- package/api/resources/agents/resources/passages/client/Client.js +4 -4
- package/api/resources/agents/resources/sources/client/Client.js +3 -3
- package/api/resources/agents/resources/templates/client/Client.js +3 -3
- package/api/resources/agents/resources/tools/client/Client.js +3 -3
- package/api/resources/batches/client/Client.js +4 -4
- package/api/resources/batches/client/requests/CreateBatch.d.ts +1 -1
- package/api/resources/blocks/client/Client.js +5 -5
- package/api/resources/blocks/resources/agents/client/Client.js +1 -1
- package/api/resources/clientSideAccessTokens/client/Client.js +2 -2
- package/api/resources/embeddingModels/client/Client.js +1 -1
- package/api/resources/groups/client/Client.js +5 -5
- package/api/resources/groups/resources/messages/client/Client.js +5 -5
- package/api/resources/health/client/Client.js +1 -1
- package/api/resources/identities/client/Client.js +7 -7
- package/api/resources/identities/resources/properties/client/Client.js +1 -1
- package/api/resources/index.d.ts +2 -1
- package/api/resources/index.js +3 -2
- package/api/resources/jobs/client/Client.js +4 -4
- package/api/resources/{embeddings → messages}/client/Client.d.ts +18 -8
- package/{dist/api/resources/embeddings → api/resources/messages}/client/Client.js +36 -12
- package/api/resources/messages/client/index.d.ts +1 -0
- package/{serialization/resources/embeddings → api/resources/messages/client}/index.js +1 -1
- package/api/resources/messages/client/requests/ListBatchMessagesRequest.d.ts +25 -0
- package/api/resources/messages/client/requests/ListBatchMessagesRequest.js +5 -0
- package/api/resources/messages/client/requests/index.d.ts +1 -0
- package/api/resources/models/client/Client.js +1 -1
- package/api/resources/projects/client/Client.js +1 -1
- package/api/resources/providers/client/Client.js +4 -4
- package/api/resources/runs/client/Client.js +4 -4
- package/api/resources/runs/resources/messages/client/Client.js +1 -1
- package/api/resources/runs/resources/steps/client/Client.js +1 -1
- package/api/resources/runs/resources/usage/client/Client.js +1 -1
- package/api/resources/sources/client/Client.js +7 -7
- package/api/resources/sources/resources/files/client/Client.js +3 -3
- package/api/resources/sources/resources/passages/client/Client.js +1 -1
- package/api/resources/steps/client/Client.js +2 -2
- package/api/resources/tags/client/Client.js +1 -1
- package/api/resources/templates/client/Client.js +1 -1
- package/api/resources/templates/resources/agents/client/Client.js +1 -1
- package/api/resources/tools/client/Client.js +17 -17
- package/api/resources/voice/client/Client.js +1 -1
- package/api/types/LettaBatchMessages.d.ts +7 -0
- package/api/types/LettaBatchMessages.js +5 -0
- package/api/types/Message.d.ts +2 -0
- package/api/types/MessageCreate.d.ts +2 -0
- package/api/types/index.d.ts +1 -0
- package/api/types/index.js +1 -0
- package/dist/Client.d.ts +3 -3
- package/dist/Client.js +6 -6
- package/dist/api/resources/agents/client/Client.js +9 -9
- package/dist/api/resources/agents/resources/blocks/client/Client.js +5 -5
- package/dist/api/resources/agents/resources/context/client/Client.js +1 -1
- package/dist/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
- package/dist/api/resources/agents/resources/groups/client/Client.js +1 -1
- package/dist/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
- package/dist/api/resources/agents/resources/messages/client/Client.js +6 -6
- package/dist/api/resources/agents/resources/passages/client/Client.js +4 -4
- package/dist/api/resources/agents/resources/sources/client/Client.js +3 -3
- package/dist/api/resources/agents/resources/templates/client/Client.js +3 -3
- package/dist/api/resources/agents/resources/tools/client/Client.js +3 -3
- package/dist/api/resources/batches/client/Client.js +4 -4
- package/dist/api/resources/batches/client/requests/CreateBatch.d.ts +1 -1
- package/dist/api/resources/blocks/client/Client.js +5 -5
- package/dist/api/resources/blocks/resources/agents/client/Client.js +1 -1
- package/dist/api/resources/clientSideAccessTokens/client/Client.js +2 -2
- package/dist/api/resources/embeddingModels/client/Client.js +1 -1
- package/dist/api/resources/groups/client/Client.js +5 -5
- package/dist/api/resources/groups/resources/messages/client/Client.js +5 -5
- package/dist/api/resources/health/client/Client.js +1 -1
- package/dist/api/resources/identities/client/Client.js +7 -7
- package/dist/api/resources/identities/resources/properties/client/Client.js +1 -1
- package/dist/api/resources/index.d.ts +2 -1
- package/dist/api/resources/index.js +3 -2
- package/dist/api/resources/jobs/client/Client.js +4 -4
- package/dist/api/resources/{embeddings → messages}/client/Client.d.ts +18 -8
- package/{api/resources/embeddings → dist/api/resources/messages}/client/Client.js +36 -12
- package/dist/api/resources/messages/client/index.d.ts +1 -0
- package/dist/{serialization/resources/embeddings → api/resources/messages/client}/index.js +1 -1
- package/dist/api/resources/messages/client/requests/ListBatchMessagesRequest.d.ts +25 -0
- package/dist/api/resources/messages/client/requests/ListBatchMessagesRequest.js +5 -0
- package/dist/api/resources/messages/client/requests/index.d.ts +1 -0
- package/dist/api/resources/models/client/Client.js +1 -1
- package/dist/api/resources/projects/client/Client.js +1 -1
- package/dist/api/resources/providers/client/Client.js +4 -4
- package/dist/api/resources/runs/client/Client.js +4 -4
- package/dist/api/resources/runs/resources/messages/client/Client.js +1 -1
- package/dist/api/resources/runs/resources/steps/client/Client.js +1 -1
- package/dist/api/resources/runs/resources/usage/client/Client.js +1 -1
- package/dist/api/resources/sources/client/Client.js +7 -7
- package/dist/api/resources/sources/resources/files/client/Client.js +3 -3
- package/dist/api/resources/sources/resources/passages/client/Client.js +1 -1
- package/dist/api/resources/steps/client/Client.js +2 -2
- package/dist/api/resources/tags/client/Client.js +1 -1
- package/dist/api/resources/templates/client/Client.js +1 -1
- package/dist/api/resources/templates/resources/agents/client/Client.js +1 -1
- package/dist/api/resources/tools/client/Client.js +17 -17
- package/dist/api/resources/voice/client/Client.js +1 -1
- package/dist/api/types/LettaBatchMessages.d.ts +7 -0
- package/dist/api/types/LettaBatchMessages.js +5 -0
- package/dist/api/types/Message.d.ts +2 -0
- package/dist/api/types/MessageCreate.d.ts +2 -0
- package/dist/api/types/index.d.ts +1 -0
- package/dist/api/types/index.js +1 -0
- package/dist/serialization/resources/index.d.ts +0 -1
- package/dist/serialization/resources/index.js +1 -2
- package/dist/serialization/types/LettaBatchMessages.d.ts +13 -0
- package/{serialization/resources/embeddings/client/getEmbeddingsTotalStorageSize.js → dist/serialization/types/LettaBatchMessages.js} +6 -3
- package/dist/serialization/types/Message.d.ts +1 -0
- package/dist/serialization/types/Message.js +1 -0
- package/dist/serialization/types/MessageCreate.d.ts +1 -0
- package/dist/serialization/types/MessageCreate.js +1 -0
- package/dist/serialization/types/index.d.ts +1 -0
- package/dist/serialization/types/index.js +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +52 -29
- package/serialization/resources/index.d.ts +0 -1
- package/serialization/resources/index.js +1 -2
- package/serialization/types/LettaBatchMessages.d.ts +13 -0
- package/{dist/serialization/resources/embeddings/client/getEmbeddingsTotalStorageSize.js → serialization/types/LettaBatchMessages.js} +6 -3
- package/serialization/types/Message.d.ts +1 -0
- package/serialization/types/Message.js +1 -0
- package/serialization/types/MessageCreate.d.ts +1 -0
- package/serialization/types/MessageCreate.js +1 -0
- package/serialization/types/index.d.ts +1 -0
- package/serialization/types/index.js +1 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/resources/embeddings/client/index.d.ts +0 -1
- package/dist/api/resources/embeddings/client/index.d.ts +0 -1
- package/dist/serialization/resources/embeddings/client/getEmbeddingsTotalStorageSize.d.ts +0 -9
- package/dist/serialization/resources/embeddings/client/index.d.ts +0 -1
- package/dist/serialization/resources/embeddings/client/index.js +0 -37
- package/dist/serialization/resources/embeddings/index.d.ts +0 -1
- package/serialization/resources/embeddings/client/getEmbeddingsTotalStorageSize.d.ts +0 -9
- package/serialization/resources/embeddings/client/index.d.ts +0 -1
- package/serialization/resources/embeddings/client/index.js +0 -37
- package/serialization/resources/embeddings/index.d.ts +0 -1
- /package/api/resources/{embeddings/client → messages/client/requests}/index.js +0 -0
- /package/api/resources/{embeddings → messages}/index.d.ts +0 -0
- /package/api/resources/{embeddings → messages}/index.js +0 -0
- /package/dist/api/resources/{embeddings/client → messages/client/requests}/index.js +0 -0
- /package/dist/api/resources/{embeddings → messages}/index.d.ts +0 -0
- /package/dist/api/resources/{embeddings → messages}/index.js +0 -0
package/dist/api/types/index.js
CHANGED
|
@@ -135,6 +135,7 @@ __exportStar(require("./JsonSchemaResponseFormat"), exports);
|
|
|
135
135
|
__exportStar(require("./LlmConfigModelEndpointType"), exports);
|
|
136
136
|
__exportStar(require("./LlmConfigReasoningEffort"), exports);
|
|
137
137
|
__exportStar(require("./LlmConfig"), exports);
|
|
138
|
+
__exportStar(require("./LettaBatchMessages"), exports);
|
|
138
139
|
__exportStar(require("./LettaBatchRequest"), exports);
|
|
139
140
|
__exportStar(require("./LettaRequest"), exports);
|
|
140
141
|
__exportStar(require("./LettaRequestConfig"), exports);
|
|
@@ -23,7 +23,6 @@ export * as runs from "./runs";
|
|
|
23
23
|
export * as steps from "./steps";
|
|
24
24
|
export * as tags from "./tags";
|
|
25
25
|
export * as batches from "./batches";
|
|
26
|
-
export * as embeddings from "./embeddings";
|
|
27
26
|
export * from "./tools/client/requests";
|
|
28
27
|
export * from "./sources/client/requests";
|
|
29
28
|
export * from "./agents/client/requests";
|
|
@@ -36,7 +36,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
36
36
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
39
|
+
exports.batches = exports.tags = exports.steps = exports.runs = exports.providers = exports.jobs = exports.blocks = exports.embeddingModels = exports.models = exports.identities = exports.sources = exports.projects = exports.clientSideAccessTokens = exports.templates = exports.voice = exports.groups = exports.agents = exports.tools = void 0;
|
|
40
40
|
exports.tools = __importStar(require("./tools"));
|
|
41
41
|
__exportStar(require("./tools/types"), exports);
|
|
42
42
|
exports.agents = __importStar(require("./agents"));
|
|
@@ -62,7 +62,6 @@ exports.runs = __importStar(require("./runs"));
|
|
|
62
62
|
exports.steps = __importStar(require("./steps"));
|
|
63
63
|
exports.tags = __importStar(require("./tags"));
|
|
64
64
|
exports.batches = __importStar(require("./batches"));
|
|
65
|
-
exports.embeddings = __importStar(require("./embeddings"));
|
|
66
65
|
__exportStar(require("./tools/client/requests"), exports);
|
|
67
66
|
__exportStar(require("./sources/client/requests"), exports);
|
|
68
67
|
__exportStar(require("./agents/client/requests"), exports);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Letta from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
import { Message } from "./Message";
|
|
8
|
+
export declare const LettaBatchMessages: core.serialization.ObjectSchema<serializers.LettaBatchMessages.Raw, Letta.LettaBatchMessages>;
|
|
9
|
+
export declare namespace LettaBatchMessages {
|
|
10
|
+
interface Raw {
|
|
11
|
+
messages: Message.Raw[];
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -36,6 +36,9 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
40
|
-
const core = __importStar(require("
|
|
41
|
-
|
|
39
|
+
exports.LettaBatchMessages = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
const Message_1 = require("./Message");
|
|
42
|
+
exports.LettaBatchMessages = core.serialization.object({
|
|
43
|
+
messages: core.serialization.list(Message_1.Message),
|
|
44
|
+
});
|
|
@@ -60,4 +60,5 @@ exports.Message = core.serialization.object({
|
|
|
60
60
|
toolReturns: core.serialization.property("tool_returns", core.serialization.list(ToolReturn_1.ToolReturn).optional()),
|
|
61
61
|
groupId: core.serialization.property("group_id", core.serialization.string().optional()),
|
|
62
62
|
senderId: core.serialization.property("sender_id", core.serialization.string().optional()),
|
|
63
|
+
batchItemId: core.serialization.property("batch_item_id", core.serialization.string().optional()),
|
|
63
64
|
});
|
|
@@ -46,5 +46,6 @@ exports.MessageCreate = core.serialization.object({
|
|
|
46
46
|
name: core.serialization.string().optional(),
|
|
47
47
|
otid: core.serialization.string().optional(),
|
|
48
48
|
senderId: core.serialization.property("sender_id", core.serialization.string().optional()),
|
|
49
|
+
batchItemId: core.serialization.property("batch_item_id", core.serialization.string().optional()),
|
|
49
50
|
groupId: core.serialization.property("group_id", core.serialization.string().optional()),
|
|
50
51
|
});
|
|
@@ -119,6 +119,7 @@ export * from "./JsonSchemaResponseFormat";
|
|
|
119
119
|
export * from "./LlmConfigModelEndpointType";
|
|
120
120
|
export * from "./LlmConfigReasoningEffort";
|
|
121
121
|
export * from "./LlmConfig";
|
|
122
|
+
export * from "./LettaBatchMessages";
|
|
122
123
|
export * from "./LettaBatchRequest";
|
|
123
124
|
export * from "./LettaRequest";
|
|
124
125
|
export * from "./LettaRequestConfig";
|
|
@@ -135,6 +135,7 @@ __exportStar(require("./JsonSchemaResponseFormat"), exports);
|
|
|
135
135
|
__exportStar(require("./LlmConfigModelEndpointType"), exports);
|
|
136
136
|
__exportStar(require("./LlmConfigReasoningEffort"), exports);
|
|
137
137
|
__exportStar(require("./LlmConfig"), exports);
|
|
138
|
+
__exportStar(require("./LettaBatchMessages"), exports);
|
|
138
139
|
__exportStar(require("./LettaBatchRequest"), exports);
|
|
139
140
|
__exportStar(require("./LettaRequest"), exports);
|
|
140
141
|
__exportStar(require("./LettaRequestConfig"), exports);
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.1.
|
|
1
|
+
export declare const SDK_VERSION = "0.1.114";
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
package/reference.md
CHANGED
|
@@ -4445,12 +4445,34 @@ await client.batches.cancel("batch_id");
|
|
|
4445
4445
|
</dl>
|
|
4446
4446
|
</details>
|
|
4447
4447
|
|
|
4448
|
-
##
|
|
4448
|
+
## Messages
|
|
4449
|
+
|
|
4450
|
+
<details><summary><code>client.messages.<a href="/src/api/resources/messages/client/Client.ts">listBatchMessages</a>(batchId, { ...params }) -> Letta.LettaBatchMessages</code></summary>
|
|
4451
|
+
<dl>
|
|
4452
|
+
<dd>
|
|
4453
|
+
|
|
4454
|
+
#### 📝 Description
|
|
4455
|
+
|
|
4456
|
+
<dl>
|
|
4457
|
+
<dd>
|
|
4449
4458
|
|
|
4450
|
-
<details><summary><code>client.voice.<a href="/src/api/resources/voice/client/Client.ts">createVoiceChatCompletions</a>(agentId, { ...params }) -> unknown</code></summary>
|
|
4451
4459
|
<dl>
|
|
4452
4460
|
<dd>
|
|
4453
4461
|
|
|
4462
|
+
Get messages for a specific batch job.
|
|
4463
|
+
|
|
4464
|
+
Returns messages associated with the batch in chronological order.
|
|
4465
|
+
|
|
4466
|
+
Pagination:
|
|
4467
|
+
|
|
4468
|
+
- For the first page, omit the cursor parameter
|
|
4469
|
+
- For subsequent pages, use the ID of the last message from the previous response as the cursor
|
|
4470
|
+
- Results will include messages before/after the cursor based on sort_descending
|
|
4471
|
+
</dd>
|
|
4472
|
+
</dl>
|
|
4473
|
+
</dd>
|
|
4474
|
+
</dl>
|
|
4475
|
+
|
|
4454
4476
|
#### 🔌 Usage
|
|
4455
4477
|
|
|
4456
4478
|
<dl>
|
|
@@ -4460,17 +4482,7 @@ await client.batches.cancel("batch_id");
|
|
|
4460
4482
|
<dd>
|
|
4461
4483
|
|
|
4462
4484
|
```typescript
|
|
4463
|
-
await client.
|
|
4464
|
-
body: {
|
|
4465
|
-
messages: [
|
|
4466
|
-
{
|
|
4467
|
-
content: "content",
|
|
4468
|
-
role: "developer",
|
|
4469
|
-
},
|
|
4470
|
-
],
|
|
4471
|
-
model: "model",
|
|
4472
|
-
},
|
|
4473
|
-
});
|
|
4485
|
+
await client.messages.listBatchMessages("batch_id");
|
|
4474
4486
|
```
|
|
4475
4487
|
|
|
4476
4488
|
</dd>
|
|
@@ -4486,7 +4498,7 @@ await client.voice.createVoiceChatCompletions("agent_id", {
|
|
|
4486
4498
|
<dl>
|
|
4487
4499
|
<dd>
|
|
4488
4500
|
|
|
4489
|
-
**
|
|
4501
|
+
**batchId:** `string`
|
|
4490
4502
|
|
|
4491
4503
|
</dd>
|
|
4492
4504
|
</dl>
|
|
@@ -4494,7 +4506,7 @@ await client.voice.createVoiceChatCompletions("agent_id", {
|
|
|
4494
4506
|
<dl>
|
|
4495
4507
|
<dd>
|
|
4496
4508
|
|
|
4497
|
-
**request:** `Letta.
|
|
4509
|
+
**request:** `Letta.ListBatchMessagesRequest`
|
|
4498
4510
|
|
|
4499
4511
|
</dd>
|
|
4500
4512
|
</dl>
|
|
@@ -4502,7 +4514,7 @@ await client.voice.createVoiceChatCompletions("agent_id", {
|
|
|
4502
4514
|
<dl>
|
|
4503
4515
|
<dd>
|
|
4504
4516
|
|
|
4505
|
-
**requestOptions:** `
|
|
4517
|
+
**requestOptions:** `Messages.RequestOptions`
|
|
4506
4518
|
|
|
4507
4519
|
</dd>
|
|
4508
4520
|
</dl>
|
|
@@ -4513,13 +4525,13 @@ await client.voice.createVoiceChatCompletions("agent_id", {
|
|
|
4513
4525
|
</dl>
|
|
4514
4526
|
</details>
|
|
4515
4527
|
|
|
4516
|
-
##
|
|
4528
|
+
## Voice
|
|
4517
4529
|
|
|
4518
|
-
<details><summary><code>client.
|
|
4530
|
+
<details><summary><code>client.voice.<a href="/src/api/resources/voice/client/Client.ts">createVoiceChatCompletions</a>(agentId, { ...params }) -> unknown</code></summary>
|
|
4519
4531
|
<dl>
|
|
4520
4532
|
<dd>
|
|
4521
4533
|
|
|
4522
|
-
####
|
|
4534
|
+
#### 🔌 Usage
|
|
4523
4535
|
|
|
4524
4536
|
<dl>
|
|
4525
4537
|
<dd>
|
|
@@ -4527,14 +4539,26 @@ await client.voice.createVoiceChatCompletions("agent_id", {
|
|
|
4527
4539
|
<dl>
|
|
4528
4540
|
<dd>
|
|
4529
4541
|
|
|
4530
|
-
|
|
4542
|
+
```typescript
|
|
4543
|
+
await client.voice.createVoiceChatCompletions("agent_id", {
|
|
4544
|
+
body: {
|
|
4545
|
+
messages: [
|
|
4546
|
+
{
|
|
4547
|
+
content: "content",
|
|
4548
|
+
role: "developer",
|
|
4549
|
+
},
|
|
4550
|
+
],
|
|
4551
|
+
model: "model",
|
|
4552
|
+
},
|
|
4553
|
+
});
|
|
4554
|
+
```
|
|
4531
4555
|
|
|
4532
4556
|
</dd>
|
|
4533
4557
|
</dl>
|
|
4534
4558
|
</dd>
|
|
4535
4559
|
</dl>
|
|
4536
4560
|
|
|
4537
|
-
####
|
|
4561
|
+
#### ⚙️ Parameters
|
|
4538
4562
|
|
|
4539
4563
|
<dl>
|
|
4540
4564
|
<dd>
|
|
@@ -4542,24 +4566,23 @@ Get the total size of all embeddings in the database for a user in the storage u
|
|
|
4542
4566
|
<dl>
|
|
4543
4567
|
<dd>
|
|
4544
4568
|
|
|
4545
|
-
|
|
4546
|
-
await client.embeddings.getEmbeddingsTotalStorageSize();
|
|
4547
|
-
```
|
|
4569
|
+
**agentId:** `string`
|
|
4548
4570
|
|
|
4549
|
-
</dd>
|
|
4550
|
-
</dl>
|
|
4551
4571
|
</dd>
|
|
4552
4572
|
</dl>
|
|
4553
4573
|
|
|
4554
|
-
#### ⚙️ Parameters
|
|
4555
|
-
|
|
4556
4574
|
<dl>
|
|
4557
4575
|
<dd>
|
|
4558
4576
|
|
|
4577
|
+
**request:** `Letta.CreateVoiceChatCompletionsRequest`
|
|
4578
|
+
|
|
4579
|
+
</dd>
|
|
4580
|
+
</dl>
|
|
4581
|
+
|
|
4559
4582
|
<dl>
|
|
4560
4583
|
<dd>
|
|
4561
4584
|
|
|
4562
|
-
**requestOptions:** `
|
|
4585
|
+
**requestOptions:** `Voice.RequestOptions`
|
|
4563
4586
|
|
|
4564
4587
|
</dd>
|
|
4565
4588
|
</dl>
|
|
@@ -23,7 +23,6 @@ export * as runs from "./runs";
|
|
|
23
23
|
export * as steps from "./steps";
|
|
24
24
|
export * as tags from "./tags";
|
|
25
25
|
export * as batches from "./batches";
|
|
26
|
-
export * as embeddings from "./embeddings";
|
|
27
26
|
export * from "./tools/client/requests";
|
|
28
27
|
export * from "./sources/client/requests";
|
|
29
28
|
export * from "./agents/client/requests";
|
|
@@ -36,7 +36,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
36
36
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
39
|
+
exports.batches = exports.tags = exports.steps = exports.runs = exports.providers = exports.jobs = exports.blocks = exports.embeddingModels = exports.models = exports.identities = exports.sources = exports.projects = exports.clientSideAccessTokens = exports.templates = exports.voice = exports.groups = exports.agents = exports.tools = void 0;
|
|
40
40
|
exports.tools = __importStar(require("./tools"));
|
|
41
41
|
__exportStar(require("./tools/types"), exports);
|
|
42
42
|
exports.agents = __importStar(require("./agents"));
|
|
@@ -62,7 +62,6 @@ exports.runs = __importStar(require("./runs"));
|
|
|
62
62
|
exports.steps = __importStar(require("./steps"));
|
|
63
63
|
exports.tags = __importStar(require("./tags"));
|
|
64
64
|
exports.batches = __importStar(require("./batches"));
|
|
65
|
-
exports.embeddings = __importStar(require("./embeddings"));
|
|
66
65
|
__exportStar(require("./tools/client/requests"), exports);
|
|
67
66
|
__exportStar(require("./sources/client/requests"), exports);
|
|
68
67
|
__exportStar(require("./agents/client/requests"), exports);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Letta from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
import { Message } from "./Message";
|
|
8
|
+
export declare const LettaBatchMessages: core.serialization.ObjectSchema<serializers.LettaBatchMessages.Raw, Letta.LettaBatchMessages>;
|
|
9
|
+
export declare namespace LettaBatchMessages {
|
|
10
|
+
interface Raw {
|
|
11
|
+
messages: Message.Raw[];
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -36,6 +36,9 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
40
|
-
const core = __importStar(require("
|
|
41
|
-
|
|
39
|
+
exports.LettaBatchMessages = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
const Message_1 = require("./Message");
|
|
42
|
+
exports.LettaBatchMessages = core.serialization.object({
|
|
43
|
+
messages: core.serialization.list(Message_1.Message),
|
|
44
|
+
});
|
|
@@ -60,4 +60,5 @@ exports.Message = core.serialization.object({
|
|
|
60
60
|
toolReturns: core.serialization.property("tool_returns", core.serialization.list(ToolReturn_1.ToolReturn).optional()),
|
|
61
61
|
groupId: core.serialization.property("group_id", core.serialization.string().optional()),
|
|
62
62
|
senderId: core.serialization.property("sender_id", core.serialization.string().optional()),
|
|
63
|
+
batchItemId: core.serialization.property("batch_item_id", core.serialization.string().optional()),
|
|
63
64
|
});
|
|
@@ -46,5 +46,6 @@ exports.MessageCreate = core.serialization.object({
|
|
|
46
46
|
name: core.serialization.string().optional(),
|
|
47
47
|
otid: core.serialization.string().optional(),
|
|
48
48
|
senderId: core.serialization.property("sender_id", core.serialization.string().optional()),
|
|
49
|
+
batchItemId: core.serialization.property("batch_item_id", core.serialization.string().optional()),
|
|
49
50
|
groupId: core.serialization.property("group_id", core.serialization.string().optional()),
|
|
50
51
|
});
|
|
@@ -119,6 +119,7 @@ export * from "./JsonSchemaResponseFormat";
|
|
|
119
119
|
export * from "./LlmConfigModelEndpointType";
|
|
120
120
|
export * from "./LlmConfigReasoningEffort";
|
|
121
121
|
export * from "./LlmConfig";
|
|
122
|
+
export * from "./LettaBatchMessages";
|
|
122
123
|
export * from "./LettaBatchRequest";
|
|
123
124
|
export * from "./LettaRequest";
|
|
124
125
|
export * from "./LettaRequestConfig";
|
|
@@ -135,6 +135,7 @@ __exportStar(require("./JsonSchemaResponseFormat"), exports);
|
|
|
135
135
|
__exportStar(require("./LlmConfigModelEndpointType"), exports);
|
|
136
136
|
__exportStar(require("./LlmConfigReasoningEffort"), exports);
|
|
137
137
|
__exportStar(require("./LlmConfig"), exports);
|
|
138
|
+
__exportStar(require("./LettaBatchMessages"), exports);
|
|
138
139
|
__exportStar(require("./LettaBatchRequest"), exports);
|
|
139
140
|
__exportStar(require("./LettaRequest"), exports);
|
|
140
141
|
__exportStar(require("./LettaRequestConfig"), exports);
|
package/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.1.
|
|
1
|
+
export declare const SDK_VERSION = "0.1.114";
|
package/version.js
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as serializers from "../../../index";
|
|
5
|
-
import * as core from "../../../../core";
|
|
6
|
-
export declare const Response: core.serialization.Schema<serializers.embeddings.getEmbeddingsTotalStorageSize.Response.Raw, number>;
|
|
7
|
-
export declare namespace Response {
|
|
8
|
-
type Raw = number;
|
|
9
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * as getEmbeddingsTotalStorageSize from "./getEmbeddingsTotalStorageSize";
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
-
var ownKeys = function(o) {
|
|
20
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
-
var ar = [];
|
|
22
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
-
return ar;
|
|
24
|
-
};
|
|
25
|
-
return ownKeys(o);
|
|
26
|
-
};
|
|
27
|
-
return function (mod) {
|
|
28
|
-
if (mod && mod.__esModule) return mod;
|
|
29
|
-
var result = {};
|
|
30
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
-
__setModuleDefault(result, mod);
|
|
32
|
-
return result;
|
|
33
|
-
};
|
|
34
|
-
})();
|
|
35
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.getEmbeddingsTotalStorageSize = void 0;
|
|
37
|
-
exports.getEmbeddingsTotalStorageSize = __importStar(require("./getEmbeddingsTotalStorageSize"));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./client";
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as serializers from "../../../index";
|
|
5
|
-
import * as core from "../../../../core";
|
|
6
|
-
export declare const Response: core.serialization.Schema<serializers.embeddings.getEmbeddingsTotalStorageSize.Response.Raw, number>;
|
|
7
|
-
export declare namespace Response {
|
|
8
|
-
type Raw = number;
|
|
9
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * as getEmbeddingsTotalStorageSize from "./getEmbeddingsTotalStorageSize";
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
-
var ownKeys = function(o) {
|
|
20
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
-
var ar = [];
|
|
22
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
-
return ar;
|
|
24
|
-
};
|
|
25
|
-
return ownKeys(o);
|
|
26
|
-
};
|
|
27
|
-
return function (mod) {
|
|
28
|
-
if (mod && mod.__esModule) return mod;
|
|
29
|
-
var result = {};
|
|
30
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
-
__setModuleDefault(result, mod);
|
|
32
|
-
return result;
|
|
33
|
-
};
|
|
34
|
-
})();
|
|
35
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.getEmbeddingsTotalStorageSize = void 0;
|
|
37
|
-
exports.getEmbeddingsTotalStorageSize = __importStar(require("./getEmbeddingsTotalStorageSize"));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./client";
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|