@letta-ai/letta-client 0.0.68644 → 0.0.68646
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 +0 -3
- package/Client.js +26 -31
- package/api/resources/agents/client/Client.js +10 -10
- 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/files/client/Client.js +4 -4
- package/api/resources/agents/resources/folders/client/Client.js +3 -3
- 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.d.ts +4 -4
- package/api/resources/agents/resources/messages/client/Client.js +16 -18
- package/api/resources/agents/resources/messages/types/{MessagesPreviewRawPayloadRequest.d.ts → MessagesPreviewRequest.d.ts} +1 -1
- package/api/resources/agents/resources/messages/types/index.d.ts +1 -1
- package/api/resources/agents/resources/messages/types/index.js +1 -1
- package/api/resources/agents/resources/passages/client/Client.js +5 -5
- 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 +4 -4
- package/api/resources/batches/client/Client.js +4 -4
- package/api/resources/batches/resources/messages/client/Client.js +1 -1
- package/api/resources/blocks/client/Client.js +6 -6
- package/api/resources/blocks/resources/agents/client/Client.js +1 -1
- package/api/resources/clientSideAccessTokens/client/Client.js +3 -3
- package/api/resources/folders/client/Client.js +9 -9
- package/api/resources/folders/resources/files/client/Client.js +3 -3
- package/api/resources/folders/resources/passages/client/Client.js +1 -1
- package/api/resources/groups/client/Client.js +6 -6
- 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 +0 -1
- package/api/resources/index.js +1 -2
- package/api/resources/jobs/client/Client.js +5 -5
- package/api/resources/models/client/Client.d.ts +3 -0
- package/api/resources/models/client/Client.js +7 -2
- package/api/resources/models/index.d.ts +1 -0
- package/api/resources/models/index.js +1 -0
- package/{dist/api/resources/embeddingModels → api/resources/models/resources/embeddings}/client/Client.d.ts +10 -10
- package/{dist/api/resources/embeddingModels → api/resources/models/resources/embeddings}/client/Client.js +12 -12
- package/api/resources/models/resources/index.d.ts +1 -0
- package/api/resources/models/resources/index.js +37 -0
- package/api/resources/projects/client/Client.js +1 -1
- package/api/resources/providers/client/Client.js +5 -5
- package/api/resources/runs/client/Client.js +5 -5
- 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 +10 -10
- 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/steps/resources/feedback/client/Client.js +1 -1
- package/api/resources/steps/resources/metrics/client/Client.js +1 -1
- package/api/resources/steps/resources/trace/client/Client.js +1 -1
- package/api/resources/tags/client/Client.js +1 -1
- package/api/resources/telemetry/client/Client.js +1 -1
- package/api/resources/templates/client/Client.js +9 -9
- package/api/resources/templates/resources/agents/client/Client.js +1 -1
- package/api/resources/tools/client/Client.js +20 -20
- package/api/resources/voice/client/Client.js +1 -1
- package/dist/Client.d.ts +0 -3
- package/dist/Client.js +26 -31
- package/dist/api/resources/agents/client/Client.js +10 -10
- 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/files/client/Client.js +4 -4
- package/dist/api/resources/agents/resources/folders/client/Client.js +3 -3
- 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.d.ts +4 -4
- package/dist/api/resources/agents/resources/messages/client/Client.js +16 -18
- package/dist/api/resources/agents/resources/messages/types/{MessagesPreviewRawPayloadRequest.d.ts → MessagesPreviewRequest.d.ts} +1 -1
- package/dist/api/resources/agents/resources/messages/types/index.d.ts +1 -1
- package/dist/api/resources/agents/resources/messages/types/index.js +1 -1
- package/dist/api/resources/agents/resources/passages/client/Client.js +5 -5
- 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 +4 -4
- package/dist/api/resources/batches/client/Client.js +4 -4
- package/dist/api/resources/batches/resources/messages/client/Client.js +1 -1
- package/dist/api/resources/blocks/client/Client.js +6 -6
- package/dist/api/resources/blocks/resources/agents/client/Client.js +1 -1
- package/dist/api/resources/clientSideAccessTokens/client/Client.js +3 -3
- package/dist/api/resources/folders/client/Client.js +9 -9
- package/dist/api/resources/folders/resources/files/client/Client.js +3 -3
- package/dist/api/resources/folders/resources/passages/client/Client.js +1 -1
- package/dist/api/resources/groups/client/Client.js +6 -6
- 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 +0 -1
- package/dist/api/resources/index.js +1 -2
- package/dist/api/resources/jobs/client/Client.js +5 -5
- package/dist/api/resources/models/client/Client.d.ts +3 -0
- package/dist/api/resources/models/client/Client.js +7 -2
- package/dist/api/resources/models/index.d.ts +1 -0
- package/dist/api/resources/models/index.js +1 -0
- package/{api/resources/embeddingModels → dist/api/resources/models/resources/embeddings}/client/Client.d.ts +10 -10
- package/{api/resources/embeddingModels → dist/api/resources/models/resources/embeddings}/client/Client.js +12 -12
- package/dist/api/resources/models/resources/index.d.ts +1 -0
- package/dist/api/resources/models/resources/index.js +37 -0
- package/dist/api/resources/projects/client/Client.js +1 -1
- package/dist/api/resources/providers/client/Client.js +5 -5
- package/dist/api/resources/runs/client/Client.js +5 -5
- 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 +10 -10
- 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/steps/resources/feedback/client/Client.js +1 -1
- package/dist/api/resources/steps/resources/metrics/client/Client.js +1 -1
- package/dist/api/resources/steps/resources/trace/client/Client.js +1 -1
- package/dist/api/resources/tags/client/Client.js +1 -1
- package/dist/api/resources/telemetry/client/Client.js +1 -1
- package/dist/api/resources/templates/client/Client.js +9 -9
- package/dist/api/resources/templates/resources/agents/client/Client.js +1 -1
- package/dist/api/resources/tools/client/Client.js +20 -20
- package/dist/api/resources/voice/client/Client.js +1 -1
- package/dist/serialization/resources/agents/resources/messages/client/index.d.ts +1 -1
- package/dist/serialization/resources/agents/resources/messages/client/index.js +2 -2
- package/{serialization/resources/agents/resources/messages/client/previewRawPayload.d.ts → dist/serialization/resources/agents/resources/messages/client/preview.d.ts} +1 -1
- package/dist/serialization/resources/agents/resources/messages/types/{MessagesPreviewRawPayloadRequest.d.ts → MessagesPreviewRequest.d.ts} +2 -2
- package/{serialization/resources/agents/resources/messages/types/MessagesPreviewRawPayloadRequest.js → dist/serialization/resources/agents/resources/messages/types/MessagesPreviewRequest.js} +2 -2
- package/dist/serialization/resources/agents/resources/messages/types/index.d.ts +1 -1
- package/dist/serialization/resources/agents/resources/messages/types/index.js +1 -1
- package/dist/serialization/resources/index.d.ts +0 -1
- package/dist/serialization/resources/index.js +1 -2
- package/dist/serialization/resources/models/index.d.ts +1 -0
- package/dist/serialization/resources/models/index.js +1 -0
- package/dist/serialization/resources/models/resources/embeddings/client/list.d.ts +11 -0
- package/{serialization/resources/embeddingModels → dist/serialization/resources/models/resources/embeddings}/client/list.js +2 -2
- package/dist/serialization/resources/models/resources/index.d.ts +1 -0
- package/dist/serialization/resources/models/resources/index.js +37 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +60 -60
- package/serialization/resources/agents/resources/messages/client/index.d.ts +1 -1
- package/serialization/resources/agents/resources/messages/client/index.js +2 -2
- package/{dist/serialization/resources/agents/resources/messages/client/previewRawPayload.d.ts → serialization/resources/agents/resources/messages/client/preview.d.ts} +1 -1
- package/serialization/resources/agents/resources/messages/types/{MessagesPreviewRawPayloadRequest.d.ts → MessagesPreviewRequest.d.ts} +2 -2
- package/{dist/serialization/resources/agents/resources/messages/types/MessagesPreviewRawPayloadRequest.js → serialization/resources/agents/resources/messages/types/MessagesPreviewRequest.js} +2 -2
- package/serialization/resources/agents/resources/messages/types/index.d.ts +1 -1
- package/serialization/resources/agents/resources/messages/types/index.js +1 -1
- package/serialization/resources/index.d.ts +0 -1
- package/serialization/resources/index.js +1 -2
- package/serialization/resources/models/index.d.ts +1 -0
- package/serialization/resources/models/index.js +1 -0
- package/serialization/resources/models/resources/embeddings/client/list.d.ts +11 -0
- package/{dist/serialization/resources/embeddingModels → serialization/resources/models/resources/embeddings}/client/list.js +2 -2
- package/serialization/resources/models/resources/index.d.ts +1 -0
- package/serialization/resources/models/resources/index.js +37 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/dist/serialization/resources/embeddingModels/client/list.d.ts +0 -11
- package/serialization/resources/embeddingModels/client/list.d.ts +0 -11
- /package/api/resources/agents/resources/messages/types/{MessagesPreviewRawPayloadRequest.js → MessagesPreviewRequest.js} +0 -0
- /package/api/resources/{embeddingModels → models/resources/embeddings}/client/index.d.ts +0 -0
- /package/api/resources/{embeddingModels → models/resources/embeddings}/client/index.js +0 -0
- /package/api/resources/{embeddingModels → models/resources/embeddings}/index.d.ts +0 -0
- /package/api/resources/{embeddingModels → models/resources/embeddings}/index.js +0 -0
- /package/dist/api/resources/agents/resources/messages/types/{MessagesPreviewRawPayloadRequest.js → MessagesPreviewRequest.js} +0 -0
- /package/dist/api/resources/{embeddingModels → models/resources/embeddings}/client/index.d.ts +0 -0
- /package/dist/api/resources/{embeddingModels → models/resources/embeddings}/client/index.js +0 -0
- /package/dist/api/resources/{embeddingModels → models/resources/embeddings}/index.d.ts +0 -0
- /package/dist/api/resources/{embeddingModels → models/resources/embeddings}/index.js +0 -0
- /package/dist/serialization/resources/agents/resources/messages/client/{previewRawPayload.js → preview.js} +0 -0
- /package/dist/serialization/resources/{embeddingModels → models/resources/embeddings}/client/index.d.ts +0 -0
- /package/dist/serialization/resources/{embeddingModels → models/resources/embeddings}/client/index.js +0 -0
- /package/dist/serialization/resources/{embeddingModels → models/resources/embeddings}/index.d.ts +0 -0
- /package/dist/serialization/resources/{embeddingModels → models/resources/embeddings}/index.js +0 -0
- /package/serialization/resources/agents/resources/messages/client/{previewRawPayload.js → preview.js} +0 -0
- /package/serialization/resources/{embeddingModels → models/resources/embeddings}/client/index.d.ts +0 -0
- /package/serialization/resources/{embeddingModels → models/resources/embeddings}/client/index.js +0 -0
- /package/serialization/resources/{embeddingModels → models/resources/embeddings}/index.d.ts +0 -0
- /package/serialization/resources/{embeddingModels → models/resources/embeddings}/index.js +0 -0
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as serializers from "../../../../../index";
|
|
5
5
|
import * as core from "../../../../../../core";
|
|
6
|
-
export declare const Response: core.serialization.Schema<serializers.agents.messages.
|
|
6
|
+
export declare const Response: core.serialization.Schema<serializers.agents.messages.preview.Response.Raw, Record<string, unknown>>;
|
|
7
7
|
export declare namespace Response {
|
|
8
8
|
type Raw = Record<string, unknown>;
|
|
9
9
|
}
|
|
@@ -6,7 +6,7 @@ import * as Letta from "../../../../../../api/index";
|
|
|
6
6
|
import * as core from "../../../../../../core";
|
|
7
7
|
import { LettaRequest } from "../../../../../types/LettaRequest";
|
|
8
8
|
import { LettaStreamingRequest } from "../../../../../types/LettaStreamingRequest";
|
|
9
|
-
export declare const
|
|
10
|
-
export declare namespace
|
|
9
|
+
export declare const MessagesPreviewRequest: core.serialization.Schema<serializers.agents.MessagesPreviewRequest.Raw, Letta.agents.MessagesPreviewRequest>;
|
|
10
|
+
export declare namespace MessagesPreviewRequest {
|
|
11
11
|
type Raw = LettaRequest.Raw | LettaStreamingRequest.Raw;
|
|
12
12
|
}
|
|
@@ -36,8 +36,8 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
39
|
+
exports.MessagesPreviewRequest = void 0;
|
|
40
40
|
const core = __importStar(require("../../../../../../core"));
|
|
41
41
|
const LettaRequest_1 = require("../../../../../types/LettaRequest");
|
|
42
42
|
const LettaStreamingRequest_1 = require("../../../../../types/LettaStreamingRequest");
|
|
43
|
-
exports.
|
|
43
|
+
exports.MessagesPreviewRequest = core.serialization.undiscriminatedUnion([LettaRequest_1.LettaRequest, LettaStreamingRequest_1.LettaStreamingRequest]);
|
|
@@ -3,4 +3,4 @@ export * from "./MessagesModifyResponse";
|
|
|
3
3
|
export * from "./LettaStreamingResponse";
|
|
4
4
|
export * from "./MessageSearchRequestSearchMode";
|
|
5
5
|
export * from "./LettaAsyncRequestMessagesItem";
|
|
6
|
-
export * from "./
|
|
6
|
+
export * from "./MessagesPreviewRequest";
|
|
@@ -19,4 +19,4 @@ __exportStar(require("./MessagesModifyResponse"), exports);
|
|
|
19
19
|
__exportStar(require("./LettaStreamingResponse"), exports);
|
|
20
20
|
__exportStar(require("./MessageSearchRequestSearchMode"), exports);
|
|
21
21
|
__exportStar(require("./LettaAsyncRequestMessagesItem"), exports);
|
|
22
|
-
__exportStar(require("./
|
|
22
|
+
__exportStar(require("./MessagesPreviewRequest"), exports);
|
|
@@ -22,7 +22,6 @@ export * as sources from "./sources";
|
|
|
22
22
|
export * as folders from "./folders";
|
|
23
23
|
export * as identities from "./identities";
|
|
24
24
|
export * as models from "./models";
|
|
25
|
-
export * as embeddingModels from "./embeddingModels";
|
|
26
25
|
export * as blocks from "./blocks";
|
|
27
26
|
export * as jobs from "./jobs";
|
|
28
27
|
export * as providers from "./providers";
|
|
@@ -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.voice = exports.telemetry = exports.providers = exports.jobs = exports.blocks = exports.
|
|
39
|
+
exports.voice = exports.telemetry = exports.providers = exports.jobs = exports.blocks = exports.models = exports.identities = exports.folders = exports.sources = exports.projects = exports.clientSideAccessTokens = exports.templates = exports.batches = exports.tags = exports.steps = exports.runs = 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"));
|
|
@@ -61,7 +61,6 @@ exports.sources = __importStar(require("./sources"));
|
|
|
61
61
|
exports.folders = __importStar(require("./folders"));
|
|
62
62
|
exports.identities = __importStar(require("./identities"));
|
|
63
63
|
exports.models = __importStar(require("./models"));
|
|
64
|
-
exports.embeddingModels = __importStar(require("./embeddingModels"));
|
|
65
64
|
exports.blocks = __importStar(require("./blocks"));
|
|
66
65
|
exports.jobs = __importStar(require("./jobs"));
|
|
67
66
|
exports.providers = __importStar(require("./providers"));
|
|
@@ -0,0 +1,11 @@
|
|
|
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 { EmbeddingConfig } from "../../../../../types/EmbeddingConfig";
|
|
8
|
+
export declare const Response: core.serialization.Schema<serializers.models.embeddings.list.Response.Raw, Letta.EmbeddingConfig[]>;
|
|
9
|
+
export declare namespace Response {
|
|
10
|
+
type Raw = EmbeddingConfig.Raw[];
|
|
11
|
+
}
|
|
@@ -37,6 +37,6 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
39
|
exports.Response = void 0;
|
|
40
|
-
const core = __importStar(require("
|
|
41
|
-
const EmbeddingConfig_1 = require("
|
|
40
|
+
const core = __importStar(require("../../../../../../core"));
|
|
41
|
+
const EmbeddingConfig_1 = require("../../../../../types/EmbeddingConfig");
|
|
42
42
|
exports.Response = core.serialization.list(EmbeddingConfig_1.EmbeddingConfig);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * as embeddings from "./embeddings";
|
|
@@ -0,0 +1,37 @@
|
|
|
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.embeddings = void 0;
|
|
37
|
+
exports.embeddings = __importStar(require("./embeddings"));
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.0.
|
|
1
|
+
export declare const SDK_VERSION = "0.0.68646";
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
package/reference.md
CHANGED
|
@@ -4079,63 +4079,6 @@ await client.models.listembeddingmodels();
|
|
|
4079
4079
|
</dl>
|
|
4080
4080
|
</details>
|
|
4081
4081
|
|
|
4082
|
-
## EmbeddingModels
|
|
4083
|
-
|
|
4084
|
-
<details><summary><code>client.embeddingModels.<a href="/src/api/resources/embeddingModels/client/Client.ts">list</a>() -> Letta.EmbeddingConfig[]</code></summary>
|
|
4085
|
-
<dl>
|
|
4086
|
-
<dd>
|
|
4087
|
-
|
|
4088
|
-
#### 📝 Description
|
|
4089
|
-
|
|
4090
|
-
<dl>
|
|
4091
|
-
<dd>
|
|
4092
|
-
|
|
4093
|
-
<dl>
|
|
4094
|
-
<dd>
|
|
4095
|
-
|
|
4096
|
-
List available embedding models using the asynchronous implementation for improved performance
|
|
4097
|
-
|
|
4098
|
-
</dd>
|
|
4099
|
-
</dl>
|
|
4100
|
-
</dd>
|
|
4101
|
-
</dl>
|
|
4102
|
-
|
|
4103
|
-
#### 🔌 Usage
|
|
4104
|
-
|
|
4105
|
-
<dl>
|
|
4106
|
-
<dd>
|
|
4107
|
-
|
|
4108
|
-
<dl>
|
|
4109
|
-
<dd>
|
|
4110
|
-
|
|
4111
|
-
```typescript
|
|
4112
|
-
await client.embeddingModels.list();
|
|
4113
|
-
```
|
|
4114
|
-
|
|
4115
|
-
</dd>
|
|
4116
|
-
</dl>
|
|
4117
|
-
</dd>
|
|
4118
|
-
</dl>
|
|
4119
|
-
|
|
4120
|
-
#### ⚙️ Parameters
|
|
4121
|
-
|
|
4122
|
-
<dl>
|
|
4123
|
-
<dd>
|
|
4124
|
-
|
|
4125
|
-
<dl>
|
|
4126
|
-
<dd>
|
|
4127
|
-
|
|
4128
|
-
**requestOptions:** `EmbeddingModels.RequestOptions`
|
|
4129
|
-
|
|
4130
|
-
</dd>
|
|
4131
|
-
</dl>
|
|
4132
|
-
</dd>
|
|
4133
|
-
</dl>
|
|
4134
|
-
|
|
4135
|
-
</dd>
|
|
4136
|
-
</dl>
|
|
4137
|
-
</details>
|
|
4138
|
-
|
|
4139
4082
|
## Blocks
|
|
4140
4083
|
|
|
4141
4084
|
<details><summary><code>client.blocks.<a href="/src/api/resources/blocks/client/Client.ts">list</a>({ ...params }) -> Letta.Block[]</code></summary>
|
|
@@ -9445,7 +9388,7 @@ await client.agents.messages.reset("agent_id");
|
|
|
9445
9388
|
</dl>
|
|
9446
9389
|
</details>
|
|
9447
9390
|
|
|
9448
|
-
<details><summary><code>client.agents.messages.<a href="/src/api/resources/agents/resources/messages/client/Client.ts">
|
|
9391
|
+
<details><summary><code>client.agents.messages.<a href="/src/api/resources/agents/resources/messages/client/Client.ts">preview</a>(agentId, { ...params }) -> Record<string, unknown></code></summary>
|
|
9449
9392
|
<dl>
|
|
9450
9393
|
<dd>
|
|
9451
9394
|
|
|
@@ -9477,7 +9420,7 @@ be sent to the LLM provider. Useful for debugging and inspection.
|
|
|
9477
9420
|
<dd>
|
|
9478
9421
|
|
|
9479
9422
|
```typescript
|
|
9480
|
-
await client.agents.messages.
|
|
9423
|
+
await client.agents.messages.preview("agent_id", {
|
|
9481
9424
|
messages: [
|
|
9482
9425
|
{
|
|
9483
9426
|
role: "user",
|
|
@@ -9513,7 +9456,7 @@ await client.agents.messages.previewRawPayload("agent_id", {
|
|
|
9513
9456
|
<dl>
|
|
9514
9457
|
<dd>
|
|
9515
9458
|
|
|
9516
|
-
**request:** `Letta.
|
|
9459
|
+
**request:** `Letta.MessagesPreviewRequest`
|
|
9517
9460
|
|
|
9518
9461
|
</dd>
|
|
9519
9462
|
</dl>
|
|
@@ -10776,6 +10719,63 @@ await client.identities.properties.upsert("identity_id", [
|
|
|
10776
10719
|
</dl>
|
|
10777
10720
|
</details>
|
|
10778
10721
|
|
|
10722
|
+
## Models Embeddings
|
|
10723
|
+
|
|
10724
|
+
<details><summary><code>client.models.embeddings.<a href="/src/api/resources/models/resources/embeddings/client/Client.ts">list</a>() -> Letta.EmbeddingConfig[]</code></summary>
|
|
10725
|
+
<dl>
|
|
10726
|
+
<dd>
|
|
10727
|
+
|
|
10728
|
+
#### 📝 Description
|
|
10729
|
+
|
|
10730
|
+
<dl>
|
|
10731
|
+
<dd>
|
|
10732
|
+
|
|
10733
|
+
<dl>
|
|
10734
|
+
<dd>
|
|
10735
|
+
|
|
10736
|
+
List available embedding models using the asynchronous implementation for improved performance
|
|
10737
|
+
|
|
10738
|
+
</dd>
|
|
10739
|
+
</dl>
|
|
10740
|
+
</dd>
|
|
10741
|
+
</dl>
|
|
10742
|
+
|
|
10743
|
+
#### 🔌 Usage
|
|
10744
|
+
|
|
10745
|
+
<dl>
|
|
10746
|
+
<dd>
|
|
10747
|
+
|
|
10748
|
+
<dl>
|
|
10749
|
+
<dd>
|
|
10750
|
+
|
|
10751
|
+
```typescript
|
|
10752
|
+
await client.models.embeddings.list();
|
|
10753
|
+
```
|
|
10754
|
+
|
|
10755
|
+
</dd>
|
|
10756
|
+
</dl>
|
|
10757
|
+
</dd>
|
|
10758
|
+
</dl>
|
|
10759
|
+
|
|
10760
|
+
#### ⚙️ Parameters
|
|
10761
|
+
|
|
10762
|
+
<dl>
|
|
10763
|
+
<dd>
|
|
10764
|
+
|
|
10765
|
+
<dl>
|
|
10766
|
+
<dd>
|
|
10767
|
+
|
|
10768
|
+
**requestOptions:** `Embeddings.RequestOptions`
|
|
10769
|
+
|
|
10770
|
+
</dd>
|
|
10771
|
+
</dl>
|
|
10772
|
+
</dd>
|
|
10773
|
+
</dl>
|
|
10774
|
+
|
|
10775
|
+
</dd>
|
|
10776
|
+
</dl>
|
|
10777
|
+
</details>
|
|
10778
|
+
|
|
10779
10779
|
## Runs Messages
|
|
10780
10780
|
|
|
10781
10781
|
<details><summary><code>client.runs.messages.<a href="/src/api/resources/runs/resources/messages/client/Client.ts">list</a>(runId, { ...params }) -> Letta.LettaMessageUnion[]</code></summary>
|
|
@@ -36,9 +36,9 @@ 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.preview = exports.search = exports.cancel = exports.list = void 0;
|
|
40
40
|
exports.list = __importStar(require("./list"));
|
|
41
41
|
exports.cancel = __importStar(require("./cancel"));
|
|
42
42
|
exports.search = __importStar(require("./search"));
|
|
43
|
-
exports.
|
|
43
|
+
exports.preview = __importStar(require("./preview"));
|
|
44
44
|
__exportStar(require("./requests"), exports);
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as serializers from "../../../../../index";
|
|
5
5
|
import * as core from "../../../../../../core";
|
|
6
|
-
export declare const Response: core.serialization.Schema<serializers.agents.messages.
|
|
6
|
+
export declare const Response: core.serialization.Schema<serializers.agents.messages.preview.Response.Raw, Record<string, unknown>>;
|
|
7
7
|
export declare namespace Response {
|
|
8
8
|
type Raw = Record<string, unknown>;
|
|
9
9
|
}
|
|
@@ -6,7 +6,7 @@ import * as Letta from "../../../../../../api/index";
|
|
|
6
6
|
import * as core from "../../../../../../core";
|
|
7
7
|
import { LettaRequest } from "../../../../../types/LettaRequest";
|
|
8
8
|
import { LettaStreamingRequest } from "../../../../../types/LettaStreamingRequest";
|
|
9
|
-
export declare const
|
|
10
|
-
export declare namespace
|
|
9
|
+
export declare const MessagesPreviewRequest: core.serialization.Schema<serializers.agents.MessagesPreviewRequest.Raw, Letta.agents.MessagesPreviewRequest>;
|
|
10
|
+
export declare namespace MessagesPreviewRequest {
|
|
11
11
|
type Raw = LettaRequest.Raw | LettaStreamingRequest.Raw;
|
|
12
12
|
}
|
|
@@ -36,8 +36,8 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
39
|
+
exports.MessagesPreviewRequest = void 0;
|
|
40
40
|
const core = __importStar(require("../../../../../../core"));
|
|
41
41
|
const LettaRequest_1 = require("../../../../../types/LettaRequest");
|
|
42
42
|
const LettaStreamingRequest_1 = require("../../../../../types/LettaStreamingRequest");
|
|
43
|
-
exports.
|
|
43
|
+
exports.MessagesPreviewRequest = core.serialization.undiscriminatedUnion([LettaRequest_1.LettaRequest, LettaStreamingRequest_1.LettaStreamingRequest]);
|
|
@@ -3,4 +3,4 @@ export * from "./MessagesModifyResponse";
|
|
|
3
3
|
export * from "./LettaStreamingResponse";
|
|
4
4
|
export * from "./MessageSearchRequestSearchMode";
|
|
5
5
|
export * from "./LettaAsyncRequestMessagesItem";
|
|
6
|
-
export * from "./
|
|
6
|
+
export * from "./MessagesPreviewRequest";
|
|
@@ -19,4 +19,4 @@ __exportStar(require("./MessagesModifyResponse"), exports);
|
|
|
19
19
|
__exportStar(require("./LettaStreamingResponse"), exports);
|
|
20
20
|
__exportStar(require("./MessageSearchRequestSearchMode"), exports);
|
|
21
21
|
__exportStar(require("./LettaAsyncRequestMessagesItem"), exports);
|
|
22
|
-
__exportStar(require("./
|
|
22
|
+
__exportStar(require("./MessagesPreviewRequest"), exports);
|
|
@@ -22,7 +22,6 @@ export * as sources from "./sources";
|
|
|
22
22
|
export * as folders from "./folders";
|
|
23
23
|
export * as identities from "./identities";
|
|
24
24
|
export * as models from "./models";
|
|
25
|
-
export * as embeddingModels from "./embeddingModels";
|
|
26
25
|
export * as blocks from "./blocks";
|
|
27
26
|
export * as jobs from "./jobs";
|
|
28
27
|
export * as providers from "./providers";
|
|
@@ -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.voice = exports.telemetry = exports.providers = exports.jobs = exports.blocks = exports.
|
|
39
|
+
exports.voice = exports.telemetry = exports.providers = exports.jobs = exports.blocks = exports.models = exports.identities = exports.folders = exports.sources = exports.projects = exports.clientSideAccessTokens = exports.templates = exports.batches = exports.tags = exports.steps = exports.runs = 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"));
|
|
@@ -61,7 +61,6 @@ exports.sources = __importStar(require("./sources"));
|
|
|
61
61
|
exports.folders = __importStar(require("./folders"));
|
|
62
62
|
exports.identities = __importStar(require("./identities"));
|
|
63
63
|
exports.models = __importStar(require("./models"));
|
|
64
|
-
exports.embeddingModels = __importStar(require("./embeddingModels"));
|
|
65
64
|
exports.blocks = __importStar(require("./blocks"));
|
|
66
65
|
exports.jobs = __importStar(require("./jobs"));
|
|
67
66
|
exports.providers = __importStar(require("./providers"));
|
|
@@ -0,0 +1,11 @@
|
|
|
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 { EmbeddingConfig } from "../../../../../types/EmbeddingConfig";
|
|
8
|
+
export declare const Response: core.serialization.Schema<serializers.models.embeddings.list.Response.Raw, Letta.EmbeddingConfig[]>;
|
|
9
|
+
export declare namespace Response {
|
|
10
|
+
type Raw = EmbeddingConfig.Raw[];
|
|
11
|
+
}
|
|
@@ -37,6 +37,6 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
39
|
exports.Response = void 0;
|
|
40
|
-
const core = __importStar(require("
|
|
41
|
-
const EmbeddingConfig_1 = require("
|
|
40
|
+
const core = __importStar(require("../../../../../../core"));
|
|
41
|
+
const EmbeddingConfig_1 = require("../../../../../types/EmbeddingConfig");
|
|
42
42
|
exports.Response = core.serialization.list(EmbeddingConfig_1.EmbeddingConfig);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * as embeddings from "./embeddings";
|
|
@@ -0,0 +1,37 @@
|
|
|
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.embeddings = void 0;
|
|
37
|
+
exports.embeddings = __importStar(require("./embeddings"));
|
package/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.0.
|
|
1
|
+
export declare const SDK_VERSION = "0.0.68646";
|
package/version.js
CHANGED
|
@@ -1,11 +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 Letta from "../../../../api/index";
|
|
6
|
-
import * as core from "../../../../core";
|
|
7
|
-
import { EmbeddingConfig } from "../../../types/EmbeddingConfig";
|
|
8
|
-
export declare const Response: core.serialization.Schema<serializers.embeddingModels.list.Response.Raw, Letta.EmbeddingConfig[]>;
|
|
9
|
-
export declare namespace Response {
|
|
10
|
-
type Raw = EmbeddingConfig.Raw[];
|
|
11
|
-
}
|
|
@@ -1,11 +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 Letta from "../../../../api/index";
|
|
6
|
-
import * as core from "../../../../core";
|
|
7
|
-
import { EmbeddingConfig } from "../../../types/EmbeddingConfig";
|
|
8
|
-
export declare const Response: core.serialization.Schema<serializers.embeddingModels.list.Response.Raw, Letta.EmbeddingConfig[]>;
|
|
9
|
-
export declare namespace Response {
|
|
10
|
-
type Raw = EmbeddingConfig.Raw[];
|
|
11
|
-
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/api/resources/{embeddingModels → models/resources/embeddings}/client/index.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/serialization/resources/{embeddingModels → models/resources/embeddings}/index.d.ts
RENAMED
|
File without changes
|
/package/dist/serialization/resources/{embeddingModels → models/resources/embeddings}/index.js
RENAMED
|
File without changes
|
|
File without changes
|
/package/serialization/resources/{embeddingModels → models/resources/embeddings}/client/index.d.ts
RENAMED
|
File without changes
|
/package/serialization/resources/{embeddingModels → models/resources/embeddings}/client/index.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|