@hydradb/sdk 2.0.1 → 2.1.0
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 +494 -554
- package/dist/Client.d.ts +4 -7
- package/dist/Client.js +6 -10
- package/dist/api/client/requests/SearchQueryRequest.d.ts +26 -15
- package/dist/api/errors/index.d.ts +0 -1
- package/dist/api/errors/index.js +0 -1
- package/dist/api/resources/context/client/Client.d.ts +18 -1
- package/dist/api/resources/context/client/Client.js +90 -1
- package/dist/api/resources/context/client/requests/HandlerContextMetadataUpdateRequest.d.ts +15 -0
- package/dist/api/resources/context/client/requests/ListV2ListContentRequest.d.ts +9 -0
- package/dist/api/resources/context/client/requests/SourcesV2SourceDeleteRequest.d.ts +9 -0
- package/dist/api/resources/context/client/requests/index.d.ts +1 -0
- package/dist/api/resources/databases/client/Client.d.ts +109 -0
- package/dist/api/resources/{tenants → databases}/client/Client.js +61 -61
- package/dist/api/resources/databases/client/requests/CollectionsDatabasesRequest.d.ts +10 -0
- package/dist/api/resources/databases/client/requests/DeleteDatabasesRequest.d.ts +10 -0
- package/dist/api/resources/databases/client/requests/StatsDatabasesRequest.d.ts +10 -0
- package/dist/api/resources/databases/client/requests/StatusDatabasesRequest.d.ts +10 -0
- package/dist/api/resources/{tenants → databases}/client/requests/TenantsTenantCreateRequest.d.ts +7 -0
- package/dist/api/resources/databases/client/requests/index.d.ts +5 -0
- package/dist/api/resources/databases/exports.d.ts +2 -0
- package/dist/api/resources/{tenants → databases}/exports.js +2 -2
- package/dist/api/resources/index.d.ts +2 -4
- package/dist/api/resources/index.js +3 -5
- package/dist/api/types/GithubComHydradbHydradbApplicationInternalServiceMetadataEditResult.d.ts +13 -0
- package/dist/api/types/HandlerDeprecationNotice.d.ts +7 -0
- package/dist/api/types/HandlerEnvelopeGithubComHydradbHydradbApplicationInternalServiceMetadataEditResult.d.ts +7 -0
- package/dist/api/types/{HandlerEnvelopeEmbeddingsDeleteResult.d.ts → HandlerEnvelopeSourcesMemoryDeleteResponse.d.ts} +2 -2
- package/dist/api/types/HandlerErrorDetail.d.ts +3 -0
- package/dist/api/types/HandlerResponseMeta.d.ts +14 -0
- package/dist/api/types/ListContentFilter.d.ts +8 -2
- package/dist/api/types/SearchGraphContext.d.ts +5 -0
- package/dist/api/types/SearchMetadataFilters.d.ts +4 -0
- package/dist/api/types/SearchQueryRequestCollections.d.ts +4 -0
- package/dist/api/types/SearchQueryRequestSubTenantIds.d.ts +4 -0
- package/dist/api/types/SearchRecallMode.d.ts +1 -0
- package/dist/api/types/SearchRecallMode.js +1 -0
- package/dist/api/types/SearchSourceInfo.d.ts +1 -0
- package/dist/api/types/SearchV2Chunk.d.ts +1 -0
- package/dist/api/types/{SourcesSourceDeleteResponse.d.ts → SourcesMemoryDeleteResponse.d.ts} +2 -1
- package/dist/api/types/TenantsFailedTenant.d.ts +1 -0
- package/dist/api/types/TenantsInfraStatusResponseV2.d.ts +1 -0
- package/dist/api/types/TenantsSubTenantIdsResponse.d.ts +1 -0
- package/dist/api/types/TenantsTenantCreateAcceptedResponse.d.ts +1 -0
- package/dist/api/types/TenantsTenantDeleteResponse.d.ts +1 -0
- package/dist/api/types/TenantsTenantIdsResponse.d.ts +2 -0
- package/dist/api/types/TenantsTenantStatsResponse.d.ts +1 -0
- package/dist/api/types/index.d.ts +8 -10
- package/dist/api/types/index.js +8 -10
- package/dist/serialization/client/requests/SearchQueryRequest.d.ts +9 -3
- package/dist/serialization/client/requests/SearchQueryRequest.js +9 -3
- package/dist/serialization/resources/context/client/requests/HandlerContextMetadataUpdateRequest.d.ts +13 -0
- package/dist/serialization/resources/{embeddings/client/requests/EmbeddingsInsertRawEmbeddingsRequest.js → context/client/requests/HandlerContextMetadataUpdateRequest.js} +6 -6
- package/dist/serialization/resources/context/client/requests/ListV2ListContentRequest.d.ts +2 -0
- package/dist/serialization/resources/context/client/requests/ListV2ListContentRequest.js +2 -0
- package/dist/serialization/resources/context/client/requests/SourcesV2SourceDeleteRequest.d.ts +2 -0
- package/dist/serialization/resources/context/client/requests/SourcesV2SourceDeleteRequest.js +2 -0
- package/dist/serialization/resources/context/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/context/client/requests/index.js +3 -1
- package/dist/serialization/resources/{tenants → databases}/client/requests/TenantsTenantCreateRequest.d.ts +1 -0
- package/dist/serialization/resources/{tenants → databases}/client/requests/TenantsTenantCreateRequest.js +1 -0
- package/dist/serialization/resources/index.d.ts +2 -4
- package/dist/serialization/resources/index.js +3 -5
- package/dist/serialization/types/GithubComHydradbHydradbApplicationInternalServiceMetadataEditResult.d.ts +19 -0
- package/dist/serialization/types/{EmbeddingsRawEmbeddingDocument.js → GithubComHydradbHydradbApplicationInternalServiceMetadataEditResult.js} +11 -6
- package/dist/serialization/types/HandlerDeprecationNotice.d.ts +13 -0
- package/dist/serialization/types/HandlerDeprecationNotice.js +45 -0
- package/dist/serialization/types/HandlerEnvelopeGithubComHydradbHydradbApplicationInternalServiceMetadataEditResult.d.ts +15 -0
- package/dist/serialization/types/{HandlerEnvelopeEmbeddingsInsertResult.js → HandlerEnvelopeGithubComHydradbHydradbApplicationInternalServiceMetadataEditResult.js} +4 -4
- package/dist/serialization/types/{HandlerEnvelopeSourcesSourceDeleteResponse.d.ts → HandlerEnvelopeSourcesMemoryDeleteResponse.d.ts} +4 -4
- package/dist/serialization/types/{HandlerEnvelopeSourcesSourceDeleteResponse.js → HandlerEnvelopeSourcesMemoryDeleteResponse.js} +4 -4
- package/dist/serialization/types/HandlerErrorDetail.d.ts +3 -0
- package/dist/serialization/types/HandlerErrorDetail.js +3 -0
- package/dist/serialization/types/HandlerResponseMeta.d.ts +7 -0
- package/dist/serialization/types/HandlerResponseMeta.js +7 -0
- package/dist/serialization/types/ListContentFilter.d.ts +2 -2
- package/dist/serialization/types/ListContentFilter.js +2 -2
- package/dist/serialization/types/SearchMetadataFilters.d.ts +7 -0
- package/dist/serialization/types/{EmbeddingsRawEmbeddingVector.js → SearchMetadataFilters.js} +2 -5
- package/dist/serialization/types/SearchQueryRequestCollections.d.ts +7 -0
- package/dist/serialization/types/{EmbeddingsDeleteResult.js → SearchQueryRequestCollections.js} +5 -6
- package/dist/serialization/types/SearchQueryRequestSubTenantIds.d.ts +7 -0
- package/dist/serialization/types/{EmbeddingsInsertResult.js → SearchQueryRequestSubTenantIds.js} +5 -7
- package/dist/serialization/types/SearchRecallMode.d.ts +1 -1
- package/dist/serialization/types/SearchRecallMode.js +1 -1
- package/dist/serialization/types/SearchSourceInfo.d.ts +1 -0
- package/dist/serialization/types/SearchSourceInfo.js +1 -0
- package/dist/serialization/types/SearchV2Chunk.d.ts +1 -0
- package/dist/serialization/types/SearchV2Chunk.js +1 -0
- package/dist/serialization/types/{SourcesSourceDeleteResponse.d.ts → SourcesMemoryDeleteResponse.d.ts} +3 -2
- package/dist/serialization/types/{SourcesSourceDeleteResponse.js → SourcesMemoryDeleteResponse.js} +3 -2
- package/dist/serialization/types/TenantsFailedTenant.d.ts +1 -0
- package/dist/serialization/types/TenantsFailedTenant.js +1 -0
- package/dist/serialization/types/TenantsInfraStatusResponseV2.d.ts +1 -0
- package/dist/serialization/types/TenantsInfraStatusResponseV2.js +1 -0
- package/dist/serialization/types/TenantsSubTenantIdsResponse.d.ts +1 -0
- package/dist/serialization/types/TenantsSubTenantIdsResponse.js +1 -0
- package/dist/serialization/types/TenantsTenantCreateAcceptedResponse.d.ts +1 -0
- package/dist/serialization/types/TenantsTenantCreateAcceptedResponse.js +1 -0
- package/dist/serialization/types/TenantsTenantDeleteResponse.d.ts +1 -0
- package/dist/serialization/types/TenantsTenantDeleteResponse.js +1 -0
- package/dist/serialization/types/TenantsTenantIdsResponse.d.ts +2 -0
- package/dist/serialization/types/TenantsTenantIdsResponse.js +2 -0
- package/dist/serialization/types/TenantsTenantStatsResponse.d.ts +1 -0
- package/dist/serialization/types/TenantsTenantStatsResponse.js +1 -0
- package/dist/serialization/types/index.d.ts +8 -10
- package/dist/serialization/types/index.js +8 -10
- package/package.json +1 -1
- package/dist/api/errors/TooManyRequestsError.d.ts +0 -6
- package/dist/api/errors/TooManyRequestsError.js +0 -54
- package/dist/api/resources/embeddings/client/Client.d.ts +0 -80
- package/dist/api/resources/embeddings/client/Client.js +0 -351
- package/dist/api/resources/embeddings/client/requests/DeleteEmbeddingsRequest.d.ts +0 -18
- package/dist/api/resources/embeddings/client/requests/EmbeddingsFilterRawEmbeddingsRequest.d.ts +0 -15
- package/dist/api/resources/embeddings/client/requests/EmbeddingsInsertRawEmbeddingsRequest.d.ts +0 -14
- package/dist/api/resources/embeddings/client/requests/EmbeddingsSearchRawEmbeddingsRequest.d.ts +0 -16
- package/dist/api/resources/embeddings/client/requests/index.d.ts +0 -4
- package/dist/api/resources/embeddings/exports.d.ts +0 -2
- package/dist/api/resources/embeddings/exports.js +0 -21
- package/dist/api/resources/tenants/client/Client.d.ts +0 -109
- package/dist/api/resources/tenants/client/requests/DeleteTenantsRequest.d.ts +0 -10
- package/dist/api/resources/tenants/client/requests/StatsTenantsRequest.d.ts +0 -10
- package/dist/api/resources/tenants/client/requests/StatusTenantsRequest.d.ts +0 -10
- package/dist/api/resources/tenants/client/requests/SubTenantsTenantsRequest.d.ts +0 -10
- package/dist/api/resources/tenants/client/requests/index.d.ts +0 -5
- package/dist/api/resources/tenants/client/requests/index.js +0 -2
- package/dist/api/resources/tenants/exports.d.ts +0 -2
- package/dist/api/types/EmbeddingsDeleteResult.d.ts +0 -5
- package/dist/api/types/EmbeddingsInsertResult.d.ts +0 -6
- package/dist/api/types/EmbeddingsRawEmbeddingDocument.d.ts +0 -8
- package/dist/api/types/EmbeddingsRawEmbeddingSearchResult.d.ts +0 -8
- package/dist/api/types/EmbeddingsRawEmbeddingVector.d.ts +0 -5
- package/dist/api/types/HandlerEnvelopeArrayEmbeddingsRawEmbeddingSearchResult.d.ts +0 -7
- package/dist/api/types/HandlerEnvelopeArrayEmbeddingsRawEmbeddingSearchResult.js +0 -3
- package/dist/api/types/HandlerEnvelopeEmbeddingsDeleteResult.js +0 -3
- package/dist/api/types/HandlerEnvelopeEmbeddingsInsertResult.d.ts +0 -7
- package/dist/api/types/HandlerEnvelopeEmbeddingsInsertResult.js +0 -3
- package/dist/api/types/HandlerEnvelopeSourcesSourceDeleteResponse.d.ts +0 -7
- package/dist/api/types/HandlerEnvelopeSourcesSourceDeleteResponse.js +0 -3
- package/dist/api/types/SourcesSourceDeleteResponse.js +0 -3
- package/dist/serialization/resources/embeddings/client/index.d.ts +0 -1
- package/dist/serialization/resources/embeddings/client/index.js +0 -17
- package/dist/serialization/resources/embeddings/client/requests/EmbeddingsFilterRawEmbeddingsRequest.d.ts +0 -14
- package/dist/serialization/resources/embeddings/client/requests/EmbeddingsFilterRawEmbeddingsRequest.js +0 -46
- package/dist/serialization/resources/embeddings/client/requests/EmbeddingsInsertRawEmbeddingsRequest.d.ts +0 -13
- package/dist/serialization/resources/embeddings/client/requests/EmbeddingsSearchRawEmbeddingsRequest.d.ts +0 -14
- package/dist/serialization/resources/embeddings/client/requests/EmbeddingsSearchRawEmbeddingsRequest.js +0 -46
- package/dist/serialization/resources/embeddings/client/requests/index.d.ts +0 -3
- package/dist/serialization/resources/embeddings/client/requests/index.js +0 -9
- package/dist/serialization/resources/embeddings/index.d.ts +0 -1
- package/dist/serialization/resources/embeddings/index.js +0 -17
- package/dist/serialization/resources/tenants/client/index.d.ts +0 -1
- package/dist/serialization/resources/tenants/client/index.js +0 -17
- package/dist/serialization/resources/tenants/index.d.ts +0 -1
- package/dist/serialization/resources/tenants/index.js +0 -17
- package/dist/serialization/types/EmbeddingsDeleteResult.d.ts +0 -11
- package/dist/serialization/types/EmbeddingsInsertResult.d.ts +0 -12
- package/dist/serialization/types/EmbeddingsRawEmbeddingDocument.d.ts +0 -14
- package/dist/serialization/types/EmbeddingsRawEmbeddingSearchResult.d.ts +0 -14
- package/dist/serialization/types/EmbeddingsRawEmbeddingSearchResult.js +0 -46
- package/dist/serialization/types/EmbeddingsRawEmbeddingVector.d.ts +0 -10
- package/dist/serialization/types/HandlerEnvelopeArrayEmbeddingsRawEmbeddingSearchResult.d.ts +0 -15
- package/dist/serialization/types/HandlerEnvelopeArrayEmbeddingsRawEmbeddingSearchResult.js +0 -47
- package/dist/serialization/types/HandlerEnvelopeEmbeddingsDeleteResult.d.ts +0 -15
- package/dist/serialization/types/HandlerEnvelopeEmbeddingsDeleteResult.js +0 -47
- package/dist/serialization/types/HandlerEnvelopeEmbeddingsInsertResult.d.ts +0 -15
- /package/dist/api/resources/{embeddings/client/requests/DeleteEmbeddingsRequest.js → context/client/requests/HandlerContextMetadataUpdateRequest.js} +0 -0
- /package/dist/api/resources/{embeddings → databases}/client/index.d.ts +0 -0
- /package/dist/api/resources/{embeddings → databases}/client/index.js +0 -0
- /package/dist/api/resources/{embeddings/client/requests/EmbeddingsFilterRawEmbeddingsRequest.js → databases/client/requests/CollectionsDatabasesRequest.js} +0 -0
- /package/dist/api/resources/{embeddings/client/requests/EmbeddingsInsertRawEmbeddingsRequest.js → databases/client/requests/DeleteDatabasesRequest.js} +0 -0
- /package/dist/api/resources/{embeddings/client/requests/EmbeddingsSearchRawEmbeddingsRequest.js → databases/client/requests/StatsDatabasesRequest.js} +0 -0
- /package/dist/api/resources/{tenants/client/requests/DeleteTenantsRequest.js → databases/client/requests/StatusDatabasesRequest.js} +0 -0
- /package/dist/api/resources/{tenants → databases}/client/requests/TenantsTenantCreateRequest.js +0 -0
- /package/dist/api/resources/{embeddings → databases}/client/requests/index.js +0 -0
- /package/dist/api/resources/{embeddings → databases}/index.d.ts +0 -0
- /package/dist/api/resources/{embeddings → databases}/index.js +0 -0
- /package/dist/api/{resources/tenants/client/requests/StatsTenantsRequest.js → types/GithubComHydradbHydradbApplicationInternalServiceMetadataEditResult.js} +0 -0
- /package/dist/api/{resources/tenants/client/requests/StatusTenantsRequest.js → types/HandlerDeprecationNotice.js} +0 -0
- /package/dist/api/{resources/tenants/client/requests/SubTenantsTenantsRequest.js → types/HandlerEnvelopeGithubComHydradbHydradbApplicationInternalServiceMetadataEditResult.js} +0 -0
- /package/dist/api/types/{EmbeddingsDeleteResult.js → HandlerEnvelopeSourcesMemoryDeleteResponse.js} +0 -0
- /package/dist/api/types/{EmbeddingsInsertResult.js → SearchMetadataFilters.js} +0 -0
- /package/dist/api/types/{EmbeddingsRawEmbeddingDocument.js → SearchQueryRequestCollections.js} +0 -0
- /package/dist/api/types/{EmbeddingsRawEmbeddingSearchResult.js → SearchQueryRequestSubTenantIds.js} +0 -0
- /package/dist/api/types/{EmbeddingsRawEmbeddingVector.js → SourcesMemoryDeleteResponse.js} +0 -0
- /package/dist/{api/resources/tenants → serialization/resources/databases}/client/index.d.ts +0 -0
- /package/dist/{api/resources/tenants → serialization/resources/databases}/client/index.js +0 -0
- /package/dist/serialization/resources/{tenants → databases}/client/requests/index.d.ts +0 -0
- /package/dist/serialization/resources/{tenants → databases}/client/requests/index.js +0 -0
- /package/dist/{api/resources/tenants → serialization/resources/databases}/index.d.ts +0 -0
- /package/dist/{api/resources/tenants → serialization/resources/databases}/index.js +0 -0
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type * as HydraDB from "../index.js";
|
|
2
|
-
export interface HandlerEnvelopeArrayEmbeddingsRawEmbeddingSearchResult {
|
|
3
|
-
data?: HydraDB.EmbeddingsRawEmbeddingSearchResult[];
|
|
4
|
-
error?: HydraDB.HandlerApiError;
|
|
5
|
-
meta?: HydraDB.HandlerResponseMeta;
|
|
6
|
-
success?: boolean;
|
|
7
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./requests/index.js";
|
|
@@ -1,17 +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 __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./requests/index.js"), exports);
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type * as HydraDB from "../../../../../api/index.js";
|
|
2
|
-
import * as core from "../../../../../core/index.js";
|
|
3
|
-
import type * as serializers from "../../../../index.js";
|
|
4
|
-
export declare const EmbeddingsFilterRawEmbeddingsRequest: core.serialization.Schema<serializers.EmbeddingsFilterRawEmbeddingsRequest.Raw, HydraDB.EmbeddingsFilterRawEmbeddingsRequest>;
|
|
5
|
-
export declare namespace EmbeddingsFilterRawEmbeddingsRequest {
|
|
6
|
-
interface Raw {
|
|
7
|
-
chunk_ids?: string[] | null;
|
|
8
|
-
limit?: number | null;
|
|
9
|
-
output_fields?: string[] | null;
|
|
10
|
-
source_id?: string | null;
|
|
11
|
-
sub_tenant_id: string;
|
|
12
|
-
tenant_id: string;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
-
if (k2 === undefined) k2 = k;
|
|
5
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
-
}
|
|
9
|
-
Object.defineProperty(o, k2, desc);
|
|
10
|
-
}) : (function(o, m, k, k2) {
|
|
11
|
-
if (k2 === undefined) k2 = k;
|
|
12
|
-
o[k2] = m[k];
|
|
13
|
-
}));
|
|
14
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
-
}) : function(o, v) {
|
|
17
|
-
o["default"] = v;
|
|
18
|
-
});
|
|
19
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
-
var ownKeys = function(o) {
|
|
21
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
-
var ar = [];
|
|
23
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
-
return ar;
|
|
25
|
-
};
|
|
26
|
-
return ownKeys(o);
|
|
27
|
-
};
|
|
28
|
-
return function (mod) {
|
|
29
|
-
if (mod && mod.__esModule) return mod;
|
|
30
|
-
var result = {};
|
|
31
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
-
__setModuleDefault(result, mod);
|
|
33
|
-
return result;
|
|
34
|
-
};
|
|
35
|
-
})();
|
|
36
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
-
exports.EmbeddingsFilterRawEmbeddingsRequest = void 0;
|
|
38
|
-
const core = __importStar(require("../../../../../core/index.js"));
|
|
39
|
-
exports.EmbeddingsFilterRawEmbeddingsRequest = core.serialization.object({
|
|
40
|
-
chunkIds: core.serialization.property("chunk_ids", core.serialization.list(core.serialization.string()).optional()),
|
|
41
|
-
limit: core.serialization.number().optional(),
|
|
42
|
-
outputFields: core.serialization.property("output_fields", core.serialization.list(core.serialization.string()).optional()),
|
|
43
|
-
sourceId: core.serialization.property("source_id", core.serialization.string().optional()),
|
|
44
|
-
subTenantId: core.serialization.property("sub_tenant_id", core.serialization.string()),
|
|
45
|
-
tenantId: core.serialization.property("tenant_id", core.serialization.string()),
|
|
46
|
-
});
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type * as HydraDB from "../../../../../api/index.js";
|
|
2
|
-
import * as core from "../../../../../core/index.js";
|
|
3
|
-
import type * as serializers from "../../../../index.js";
|
|
4
|
-
import { EmbeddingsRawEmbeddingDocument } from "../../../../types/EmbeddingsRawEmbeddingDocument.js";
|
|
5
|
-
export declare const EmbeddingsInsertRawEmbeddingsRequest: core.serialization.Schema<serializers.EmbeddingsInsertRawEmbeddingsRequest.Raw, HydraDB.EmbeddingsInsertRawEmbeddingsRequest>;
|
|
6
|
-
export declare namespace EmbeddingsInsertRawEmbeddingsRequest {
|
|
7
|
-
interface Raw {
|
|
8
|
-
embeddings: EmbeddingsRawEmbeddingDocument.Raw[];
|
|
9
|
-
sub_tenant_id?: string | null;
|
|
10
|
-
tenant_id: string;
|
|
11
|
-
upsert?: boolean | null;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type * as HydraDB from "../../../../../api/index.js";
|
|
2
|
-
import * as core from "../../../../../core/index.js";
|
|
3
|
-
import type * as serializers from "../../../../index.js";
|
|
4
|
-
export declare const EmbeddingsSearchRawEmbeddingsRequest: core.serialization.Schema<serializers.EmbeddingsSearchRawEmbeddingsRequest.Raw, HydraDB.EmbeddingsSearchRawEmbeddingsRequest>;
|
|
5
|
-
export declare namespace EmbeddingsSearchRawEmbeddingsRequest {
|
|
6
|
-
interface Raw {
|
|
7
|
-
filter_expr?: string | null;
|
|
8
|
-
limit?: number | null;
|
|
9
|
-
output_fields?: string[] | null;
|
|
10
|
-
query_embedding: number[];
|
|
11
|
-
sub_tenant_id: string;
|
|
12
|
-
tenant_id: string;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
-
if (k2 === undefined) k2 = k;
|
|
5
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
-
}
|
|
9
|
-
Object.defineProperty(o, k2, desc);
|
|
10
|
-
}) : (function(o, m, k, k2) {
|
|
11
|
-
if (k2 === undefined) k2 = k;
|
|
12
|
-
o[k2] = m[k];
|
|
13
|
-
}));
|
|
14
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
-
}) : function(o, v) {
|
|
17
|
-
o["default"] = v;
|
|
18
|
-
});
|
|
19
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
-
var ownKeys = function(o) {
|
|
21
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
-
var ar = [];
|
|
23
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
-
return ar;
|
|
25
|
-
};
|
|
26
|
-
return ownKeys(o);
|
|
27
|
-
};
|
|
28
|
-
return function (mod) {
|
|
29
|
-
if (mod && mod.__esModule) return mod;
|
|
30
|
-
var result = {};
|
|
31
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
-
__setModuleDefault(result, mod);
|
|
33
|
-
return result;
|
|
34
|
-
};
|
|
35
|
-
})();
|
|
36
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
-
exports.EmbeddingsSearchRawEmbeddingsRequest = void 0;
|
|
38
|
-
const core = __importStar(require("../../../../../core/index.js"));
|
|
39
|
-
exports.EmbeddingsSearchRawEmbeddingsRequest = core.serialization.object({
|
|
40
|
-
filterExpr: core.serialization.property("filter_expr", core.serialization.string().optional()),
|
|
41
|
-
limit: core.serialization.number().optional(),
|
|
42
|
-
outputFields: core.serialization.property("output_fields", core.serialization.list(core.serialization.string()).optional()),
|
|
43
|
-
queryEmbedding: core.serialization.property("query_embedding", core.serialization.list(core.serialization.number())),
|
|
44
|
-
subTenantId: core.serialization.property("sub_tenant_id", core.serialization.string()),
|
|
45
|
-
tenantId: core.serialization.property("tenant_id", core.serialization.string()),
|
|
46
|
-
});
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export { EmbeddingsFilterRawEmbeddingsRequest } from "./EmbeddingsFilterRawEmbeddingsRequest.js";
|
|
2
|
-
export { EmbeddingsInsertRawEmbeddingsRequest } from "./EmbeddingsInsertRawEmbeddingsRequest.js";
|
|
3
|
-
export { EmbeddingsSearchRawEmbeddingsRequest } from "./EmbeddingsSearchRawEmbeddingsRequest.js";
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.EmbeddingsSearchRawEmbeddingsRequest = exports.EmbeddingsInsertRawEmbeddingsRequest = exports.EmbeddingsFilterRawEmbeddingsRequest = void 0;
|
|
4
|
-
var EmbeddingsFilterRawEmbeddingsRequest_js_1 = require("./EmbeddingsFilterRawEmbeddingsRequest.js");
|
|
5
|
-
Object.defineProperty(exports, "EmbeddingsFilterRawEmbeddingsRequest", { enumerable: true, get: function () { return EmbeddingsFilterRawEmbeddingsRequest_js_1.EmbeddingsFilterRawEmbeddingsRequest; } });
|
|
6
|
-
var EmbeddingsInsertRawEmbeddingsRequest_js_1 = require("./EmbeddingsInsertRawEmbeddingsRequest.js");
|
|
7
|
-
Object.defineProperty(exports, "EmbeddingsInsertRawEmbeddingsRequest", { enumerable: true, get: function () { return EmbeddingsInsertRawEmbeddingsRequest_js_1.EmbeddingsInsertRawEmbeddingsRequest; } });
|
|
8
|
-
var EmbeddingsSearchRawEmbeddingsRequest_js_1 = require("./EmbeddingsSearchRawEmbeddingsRequest.js");
|
|
9
|
-
Object.defineProperty(exports, "EmbeddingsSearchRawEmbeddingsRequest", { enumerable: true, get: function () { return EmbeddingsSearchRawEmbeddingsRequest_js_1.EmbeddingsSearchRawEmbeddingsRequest; } });
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./client/index.js";
|
|
@@ -1,17 +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 __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./client/index.js"), exports);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./requests/index.js";
|
|
@@ -1,17 +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 __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./requests/index.js"), exports);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./client/index.js";
|
|
@@ -1,17 +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 __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./client/index.js"), exports);
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type * as HydraDB from "../../api/index.js";
|
|
2
|
-
import * as core from "../../core/index.js";
|
|
3
|
-
import type * as serializers from "../index.js";
|
|
4
|
-
export declare const EmbeddingsDeleteResult: core.serialization.ObjectSchema<serializers.EmbeddingsDeleteResult.Raw, HydraDB.EmbeddingsDeleteResult>;
|
|
5
|
-
export declare namespace EmbeddingsDeleteResult {
|
|
6
|
-
interface Raw {
|
|
7
|
-
delete_count?: number | null;
|
|
8
|
-
error?: string | null;
|
|
9
|
-
success?: boolean | null;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type * as HydraDB from "../../api/index.js";
|
|
2
|
-
import * as core from "../../core/index.js";
|
|
3
|
-
import type * as serializers from "../index.js";
|
|
4
|
-
export declare const EmbeddingsInsertResult: core.serialization.ObjectSchema<serializers.EmbeddingsInsertResult.Raw, HydraDB.EmbeddingsInsertResult>;
|
|
5
|
-
export declare namespace EmbeddingsInsertResult {
|
|
6
|
-
interface Raw {
|
|
7
|
-
error?: string | null;
|
|
8
|
-
ids?: string[] | null;
|
|
9
|
-
insert_count?: number | null;
|
|
10
|
-
success?: boolean | null;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type * as HydraDB from "../../api/index.js";
|
|
2
|
-
import * as core from "../../core/index.js";
|
|
3
|
-
import type * as serializers from "../index.js";
|
|
4
|
-
import { EmbeddingsRawEmbeddingVector } from "./EmbeddingsRawEmbeddingVector.js";
|
|
5
|
-
export declare const EmbeddingsRawEmbeddingDocument: core.serialization.ObjectSchema<serializers.EmbeddingsRawEmbeddingDocument.Raw, HydraDB.EmbeddingsRawEmbeddingDocument>;
|
|
6
|
-
export declare namespace EmbeddingsRawEmbeddingDocument {
|
|
7
|
-
interface Raw {
|
|
8
|
-
embeddings?: EmbeddingsRawEmbeddingVector.Raw[] | null;
|
|
9
|
-
metadata?: Record<string, unknown> | null;
|
|
10
|
-
source_id?: string | null;
|
|
11
|
-
sub_tenant_id?: string | null;
|
|
12
|
-
tenant_id?: string | null;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type * as HydraDB from "../../api/index.js";
|
|
2
|
-
import * as core from "../../core/index.js";
|
|
3
|
-
import type * as serializers from "../index.js";
|
|
4
|
-
import { EmbeddingsRawEmbeddingVector } from "./EmbeddingsRawEmbeddingVector.js";
|
|
5
|
-
export declare const EmbeddingsRawEmbeddingSearchResult: core.serialization.ObjectSchema<serializers.EmbeddingsRawEmbeddingSearchResult.Raw, HydraDB.EmbeddingsRawEmbeddingSearchResult>;
|
|
6
|
-
export declare namespace EmbeddingsRawEmbeddingSearchResult {
|
|
7
|
-
interface Raw {
|
|
8
|
-
distance?: number | null;
|
|
9
|
-
embedding?: EmbeddingsRawEmbeddingVector.Raw | null;
|
|
10
|
-
metadata?: Record<string, unknown> | null;
|
|
11
|
-
score?: number | null;
|
|
12
|
-
source_id?: string | null;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
-
if (k2 === undefined) k2 = k;
|
|
5
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
-
}
|
|
9
|
-
Object.defineProperty(o, k2, desc);
|
|
10
|
-
}) : (function(o, m, k, k2) {
|
|
11
|
-
if (k2 === undefined) k2 = k;
|
|
12
|
-
o[k2] = m[k];
|
|
13
|
-
}));
|
|
14
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
-
}) : function(o, v) {
|
|
17
|
-
o["default"] = v;
|
|
18
|
-
});
|
|
19
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
-
var ownKeys = function(o) {
|
|
21
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
-
var ar = [];
|
|
23
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
-
return ar;
|
|
25
|
-
};
|
|
26
|
-
return ownKeys(o);
|
|
27
|
-
};
|
|
28
|
-
return function (mod) {
|
|
29
|
-
if (mod && mod.__esModule) return mod;
|
|
30
|
-
var result = {};
|
|
31
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
-
__setModuleDefault(result, mod);
|
|
33
|
-
return result;
|
|
34
|
-
};
|
|
35
|
-
})();
|
|
36
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
-
exports.EmbeddingsRawEmbeddingSearchResult = void 0;
|
|
38
|
-
const core = __importStar(require("../../core/index.js"));
|
|
39
|
-
const EmbeddingsRawEmbeddingVector_js_1 = require("./EmbeddingsRawEmbeddingVector.js");
|
|
40
|
-
exports.EmbeddingsRawEmbeddingSearchResult = core.serialization.object({
|
|
41
|
-
distance: core.serialization.number().optional(),
|
|
42
|
-
embedding: EmbeddingsRawEmbeddingVector_js_1.EmbeddingsRawEmbeddingVector.optional(),
|
|
43
|
-
metadata: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
|
|
44
|
-
score: core.serialization.number().optional(),
|
|
45
|
-
sourceId: core.serialization.property("source_id", core.serialization.string().optional()),
|
|
46
|
-
});
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type * as HydraDB from "../../api/index.js";
|
|
2
|
-
import * as core from "../../core/index.js";
|
|
3
|
-
import type * as serializers from "../index.js";
|
|
4
|
-
export declare const EmbeddingsRawEmbeddingVector: core.serialization.ObjectSchema<serializers.EmbeddingsRawEmbeddingVector.Raw, HydraDB.EmbeddingsRawEmbeddingVector>;
|
|
5
|
-
export declare namespace EmbeddingsRawEmbeddingVector {
|
|
6
|
-
interface Raw {
|
|
7
|
-
chunk_id?: string | null;
|
|
8
|
-
embedding?: number[] | null;
|
|
9
|
-
}
|
|
10
|
-
}
|
package/dist/serialization/types/HandlerEnvelopeArrayEmbeddingsRawEmbeddingSearchResult.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type * as HydraDB from "../../api/index.js";
|
|
2
|
-
import * as core from "../../core/index.js";
|
|
3
|
-
import type * as serializers from "../index.js";
|
|
4
|
-
import { EmbeddingsRawEmbeddingSearchResult } from "./EmbeddingsRawEmbeddingSearchResult.js";
|
|
5
|
-
import { HandlerApiError } from "./HandlerApiError.js";
|
|
6
|
-
import { HandlerResponseMeta } from "./HandlerResponseMeta.js";
|
|
7
|
-
export declare const HandlerEnvelopeArrayEmbeddingsRawEmbeddingSearchResult: core.serialization.ObjectSchema<serializers.HandlerEnvelopeArrayEmbeddingsRawEmbeddingSearchResult.Raw, HydraDB.HandlerEnvelopeArrayEmbeddingsRawEmbeddingSearchResult>;
|
|
8
|
-
export declare namespace HandlerEnvelopeArrayEmbeddingsRawEmbeddingSearchResult {
|
|
9
|
-
interface Raw {
|
|
10
|
-
data?: EmbeddingsRawEmbeddingSearchResult.Raw[] | null;
|
|
11
|
-
error?: HandlerApiError.Raw | null;
|
|
12
|
-
meta?: HandlerResponseMeta.Raw | null;
|
|
13
|
-
success?: boolean | null;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
-
if (k2 === undefined) k2 = k;
|
|
5
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
-
}
|
|
9
|
-
Object.defineProperty(o, k2, desc);
|
|
10
|
-
}) : (function(o, m, k, k2) {
|
|
11
|
-
if (k2 === undefined) k2 = k;
|
|
12
|
-
o[k2] = m[k];
|
|
13
|
-
}));
|
|
14
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
-
}) : function(o, v) {
|
|
17
|
-
o["default"] = v;
|
|
18
|
-
});
|
|
19
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
-
var ownKeys = function(o) {
|
|
21
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
-
var ar = [];
|
|
23
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
-
return ar;
|
|
25
|
-
};
|
|
26
|
-
return ownKeys(o);
|
|
27
|
-
};
|
|
28
|
-
return function (mod) {
|
|
29
|
-
if (mod && mod.__esModule) return mod;
|
|
30
|
-
var result = {};
|
|
31
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
-
__setModuleDefault(result, mod);
|
|
33
|
-
return result;
|
|
34
|
-
};
|
|
35
|
-
})();
|
|
36
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
-
exports.HandlerEnvelopeArrayEmbeddingsRawEmbeddingSearchResult = void 0;
|
|
38
|
-
const core = __importStar(require("../../core/index.js"));
|
|
39
|
-
const EmbeddingsRawEmbeddingSearchResult_js_1 = require("./EmbeddingsRawEmbeddingSearchResult.js");
|
|
40
|
-
const HandlerApiError_js_1 = require("./HandlerApiError.js");
|
|
41
|
-
const HandlerResponseMeta_js_1 = require("./HandlerResponseMeta.js");
|
|
42
|
-
exports.HandlerEnvelopeArrayEmbeddingsRawEmbeddingSearchResult = core.serialization.object({
|
|
43
|
-
data: core.serialization.list(EmbeddingsRawEmbeddingSearchResult_js_1.EmbeddingsRawEmbeddingSearchResult).optional(),
|
|
44
|
-
error: HandlerApiError_js_1.HandlerApiError.optional(),
|
|
45
|
-
meta: HandlerResponseMeta_js_1.HandlerResponseMeta.optional(),
|
|
46
|
-
success: core.serialization.boolean().optional(),
|
|
47
|
-
});
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type * as HydraDB from "../../api/index.js";
|
|
2
|
-
import * as core from "../../core/index.js";
|
|
3
|
-
import type * as serializers from "../index.js";
|
|
4
|
-
import { EmbeddingsDeleteResult } from "./EmbeddingsDeleteResult.js";
|
|
5
|
-
import { HandlerApiError } from "./HandlerApiError.js";
|
|
6
|
-
import { HandlerResponseMeta } from "./HandlerResponseMeta.js";
|
|
7
|
-
export declare const HandlerEnvelopeEmbeddingsDeleteResult: core.serialization.ObjectSchema<serializers.HandlerEnvelopeEmbeddingsDeleteResult.Raw, HydraDB.HandlerEnvelopeEmbeddingsDeleteResult>;
|
|
8
|
-
export declare namespace HandlerEnvelopeEmbeddingsDeleteResult {
|
|
9
|
-
interface Raw {
|
|
10
|
-
data?: EmbeddingsDeleteResult.Raw | null;
|
|
11
|
-
error?: HandlerApiError.Raw | null;
|
|
12
|
-
meta?: HandlerResponseMeta.Raw | null;
|
|
13
|
-
success?: boolean | null;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
-
if (k2 === undefined) k2 = k;
|
|
5
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
-
}
|
|
9
|
-
Object.defineProperty(o, k2, desc);
|
|
10
|
-
}) : (function(o, m, k, k2) {
|
|
11
|
-
if (k2 === undefined) k2 = k;
|
|
12
|
-
o[k2] = m[k];
|
|
13
|
-
}));
|
|
14
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
-
}) : function(o, v) {
|
|
17
|
-
o["default"] = v;
|
|
18
|
-
});
|
|
19
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
-
var ownKeys = function(o) {
|
|
21
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
-
var ar = [];
|
|
23
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
-
return ar;
|
|
25
|
-
};
|
|
26
|
-
return ownKeys(o);
|
|
27
|
-
};
|
|
28
|
-
return function (mod) {
|
|
29
|
-
if (mod && mod.__esModule) return mod;
|
|
30
|
-
var result = {};
|
|
31
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
-
__setModuleDefault(result, mod);
|
|
33
|
-
return result;
|
|
34
|
-
};
|
|
35
|
-
})();
|
|
36
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
-
exports.HandlerEnvelopeEmbeddingsDeleteResult = void 0;
|
|
38
|
-
const core = __importStar(require("../../core/index.js"));
|
|
39
|
-
const EmbeddingsDeleteResult_js_1 = require("./EmbeddingsDeleteResult.js");
|
|
40
|
-
const HandlerApiError_js_1 = require("./HandlerApiError.js");
|
|
41
|
-
const HandlerResponseMeta_js_1 = require("./HandlerResponseMeta.js");
|
|
42
|
-
exports.HandlerEnvelopeEmbeddingsDeleteResult = core.serialization.object({
|
|
43
|
-
data: EmbeddingsDeleteResult_js_1.EmbeddingsDeleteResult.optional(),
|
|
44
|
-
error: HandlerApiError_js_1.HandlerApiError.optional(),
|
|
45
|
-
meta: HandlerResponseMeta_js_1.HandlerResponseMeta.optional(),
|
|
46
|
-
success: core.serialization.boolean().optional(),
|
|
47
|
-
});
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type * as HydraDB from "../../api/index.js";
|
|
2
|
-
import * as core from "../../core/index.js";
|
|
3
|
-
import type * as serializers from "../index.js";
|
|
4
|
-
import { EmbeddingsInsertResult } from "./EmbeddingsInsertResult.js";
|
|
5
|
-
import { HandlerApiError } from "./HandlerApiError.js";
|
|
6
|
-
import { HandlerResponseMeta } from "./HandlerResponseMeta.js";
|
|
7
|
-
export declare const HandlerEnvelopeEmbeddingsInsertResult: core.serialization.ObjectSchema<serializers.HandlerEnvelopeEmbeddingsInsertResult.Raw, HydraDB.HandlerEnvelopeEmbeddingsInsertResult>;
|
|
8
|
-
export declare namespace HandlerEnvelopeEmbeddingsInsertResult {
|
|
9
|
-
interface Raw {
|
|
10
|
-
data?: EmbeddingsInsertResult.Raw | null;
|
|
11
|
-
error?: HandlerApiError.Raw | null;
|
|
12
|
-
meta?: HandlerResponseMeta.Raw | null;
|
|
13
|
-
success?: boolean | null;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/api/resources/{tenants → databases}/client/requests/TenantsTenantCreateRequest.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/api/types/{EmbeddingsDeleteResult.js → HandlerEnvelopeSourcesMemoryDeleteResponse.js}
RENAMED
|
File without changes
|
|
File without changes
|
/package/dist/api/types/{EmbeddingsRawEmbeddingDocument.js → SearchQueryRequestCollections.js}
RENAMED
|
File without changes
|
/package/dist/api/types/{EmbeddingsRawEmbeddingSearchResult.js → SearchQueryRequestSubTenantIds.js}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|