@hydradb/sdk 2.1.4 → 2.1.6
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 +10 -7
- package/dist/Client.d.ts +1 -1
- package/dist/Client.js +1 -1
- package/dist/api/client/requests/SearchQueryRequest.d.ts +44 -4
- package/dist/api/resources/connectors/client/Client.d.ts +80 -1
- package/dist/api/resources/connectors/client/Client.js +322 -1
- package/dist/api/resources/connectors/client/requests/HandlerConfigureReq.d.ts +7 -0
- package/dist/api/resources/connectors/client/requests/HandlerVaultCredentialRevealReq.d.ts +12 -0
- package/dist/api/resources/connectors/client/requests/HandlerVaultCredentialUpdateReq.d.ts +15 -0
- package/dist/api/resources/connectors/client/requests/PauseConnectorsRequest.d.ts +10 -0
- package/dist/api/resources/connectors/client/requests/ResumeConnectorsRequest.d.ts +10 -0
- package/dist/api/resources/connectors/client/requests/index.d.ts +4 -0
- package/dist/api/resources/context/client/Client.d.ts +45 -5
- package/dist/api/resources/context/client/Client.js +200 -8
- package/dist/api/resources/context/client/requests/ChunksContextRequest.d.ts +31 -0
- package/dist/api/resources/context/client/requests/IngestContextRequest.d.ts +8 -4
- package/dist/api/resources/context/client/requests/ListV2ListContentRequest.d.ts +4 -1
- package/dist/api/resources/context/client/requests/ProfileContextRequest.d.ts +30 -0
- package/dist/api/resources/context/client/requests/RelationsContextRequest.d.ts +1 -1
- package/dist/api/resources/context/client/requests/SourcesV2SourceDeleteRequest.d.ts +4 -1
- package/dist/api/resources/context/client/requests/SubgraphContextRequest.d.ts +8 -8
- package/dist/api/resources/context/client/requests/index.d.ts +2 -0
- package/dist/api/resources/context/types/ChunksContextRequestType.d.ts +6 -0
- package/dist/api/resources/context/types/ChunksContextRequestType.js +9 -0
- package/dist/api/resources/context/types/ListV2ListContentRequestType.d.ts +5 -1
- package/dist/api/resources/context/types/ListV2ListContentRequestType.js +5 -1
- package/dist/api/resources/context/types/ProfileContextRequestType.d.ts +5 -0
- package/dist/api/resources/context/types/ProfileContextRequestType.js +8 -0
- package/dist/api/resources/context/types/RelationsContextRequestType.d.ts +1 -0
- package/dist/api/resources/context/types/RelationsContextRequestType.js +1 -0
- package/dist/api/resources/context/types/SourcesV2SourceDeleteRequestType.d.ts +5 -1
- package/dist/api/resources/context/types/SourcesV2SourceDeleteRequestType.js +5 -1
- package/dist/api/resources/context/types/SubgraphContextRequestType.d.ts +1 -0
- package/dist/api/resources/context/types/SubgraphContextRequestType.js +1 -0
- package/dist/api/resources/context/types/index.d.ts +2 -0
- package/dist/api/resources/context/types/index.js +2 -0
- package/dist/api/resources/databases/client/Client.d.ts +71 -0
- package/dist/api/resources/databases/client/Client.js +309 -0
- package/dist/api/resources/databases/client/requests/DeleteCollectionDatabasesRequest.d.ts +13 -0
- package/dist/api/resources/databases/client/requests/DeleteCollectionDatabasesRequest.js +3 -0
- package/dist/api/resources/databases/client/requests/GetInstructionsDatabasesRequest.d.ts +10 -0
- package/dist/api/resources/databases/client/requests/GetInstructionsDatabasesRequest.js +3 -0
- package/dist/api/resources/databases/client/requests/HandlerInstructionsUpdateReq.d.ts +20 -0
- package/dist/api/resources/databases/client/requests/HandlerInstructionsUpdateReq.js +3 -0
- package/dist/api/resources/databases/client/requests/TenantsTenantCreateRequest.d.ts +1 -0
- package/dist/api/resources/databases/client/requests/TenantsTenantRenameRequest.d.ts +21 -0
- package/dist/api/resources/databases/client/requests/TenantsTenantRenameRequest.js +3 -0
- package/dist/api/resources/databases/client/requests/index.d.ts +4 -0
- package/dist/api/resources/feedback/client/Client.d.ts +1 -3
- package/dist/api/resources/feedback/client/Client.js +1 -3
- package/dist/api/resources/feedback/client/index.d.ts +1 -1
- package/dist/api/resources/feedback/client/index.js +15 -0
- package/dist/api/resources/feedback/client/requests/FeedbackSubmitRequest.d.ts +29 -0
- package/dist/api/resources/feedback/client/requests/FeedbackSubmitRequest.js +3 -0
- package/dist/api/resources/feedback/client/requests/index.d.ts +1 -0
- package/dist/api/resources/feedback/client/requests/index.js +2 -0
- package/dist/api/resources/index.d.ts +1 -0
- package/dist/api/resources/index.js +1 -0
- package/dist/api/types/ConnectorsResource.d.ts +58 -0
- package/dist/api/types/GithubComHydradbHydradbApplicationInternalPlatformStoragelayoutLayout.d.ts +11 -0
- package/dist/api/types/GithubComHydradbHydradbApplicationInternalPlatformStoragelayoutLayout.js +14 -0
- package/dist/api/types/GraphRelationEvidence.d.ts +7 -0
- package/dist/api/types/HandlerConnectorApiView.d.ts +15 -0
- package/dist/api/types/HandlerConnectorCreateResponse.d.ts +15 -0
- package/dist/api/types/HandlerConnectorLimitView.d.ts +15 -0
- package/dist/api/types/HandlerConnectorLimitView.js +3 -0
- package/dist/api/types/HandlerConnectorListResponse.d.ts +8 -3
- package/dist/api/types/HandlerConnectorPauseResponse.d.ts +6 -0
- package/dist/api/types/HandlerConnectorPauseResponse.js +3 -0
- package/dist/api/types/HandlerConnectorResourceStatus.d.ts +27 -0
- package/dist/api/types/HandlerConnectorStatusError.d.ts +4 -3
- package/dist/api/types/HandlerConnectorStatusResponse.d.ts +5 -2
- package/dist/api/types/HandlerEnvelopeSearchChunkInspectResult.d.ts +9 -0
- package/dist/api/types/HandlerEnvelopeSearchChunkInspectResult.js +3 -0
- package/dist/api/types/HandlerEnvelopeSearchEntityProfileView.d.ts +9 -0
- package/dist/api/types/HandlerEnvelopeSearchEntityProfileView.js +3 -0
- package/dist/api/types/HandlerEnvelopeSearchV2RetrievalResult.d.ts +2 -1
- package/dist/api/types/HandlerEnvelopeSearchV2RetrievalResultData.d.ts +5 -0
- package/dist/api/types/HandlerEnvelopeSearchV2RetrievalResultData.js +3 -0
- package/dist/api/types/HandlerEnvelopeTenantsSubTenantDeleteResponse.d.ts +9 -0
- package/dist/api/types/HandlerEnvelopeTenantsSubTenantDeleteResponse.js +3 -0
- package/dist/api/types/HandlerEnvelopeTenantsTenantRenameResponse.d.ts +9 -0
- package/dist/api/types/HandlerEnvelopeTenantsTenantRenameResponse.js +3 -0
- package/dist/api/types/HandlerInstructionsResponse.d.ts +13 -0
- package/dist/api/types/HandlerInstructionsResponse.js +3 -0
- package/dist/api/types/HandlerPlanCapView.d.ts +11 -0
- package/dist/api/types/HandlerPlanCapView.js +3 -0
- package/dist/api/types/HandlerVaultCredentialEntry.d.ts +13 -0
- package/dist/api/types/HandlerVaultCredentialEntry.js +3 -0
- package/dist/api/types/HandlerVaultCredentialListResponse.d.ts +8 -0
- package/dist/api/types/HandlerVaultCredentialListResponse.js +3 -0
- package/dist/api/types/HandlerVaultCredentialRevealResponse.d.ts +7 -0
- package/dist/api/types/HandlerVaultCredentialRevealResponse.js +3 -0
- package/dist/api/types/HandlerVaultCredentialUpdateResponse.d.ts +5 -0
- package/dist/api/types/HandlerVaultCredentialUpdateResponse.js +3 -0
- package/dist/api/types/IngestionGraphEntity.d.ts +8 -0
- package/dist/api/types/IngestionGraphEntity.js +3 -0
- package/dist/api/types/IngestionGraphPayload.d.ts +5 -0
- package/dist/api/types/IngestionGraphPayload.js +3 -0
- package/dist/api/types/IngestionGraphRelation.d.ts +9 -0
- package/dist/api/types/IngestionGraphRelation.js +3 -0
- package/dist/api/types/ListV2MemoryItem.d.ts +8 -0
- package/dist/api/types/ListV2SourceItem.d.ts +8 -0
- package/dist/api/types/MemoriesConversationTurn.d.ts +5 -0
- package/dist/api/types/MemoriesConversationTurn.js +3 -0
- package/dist/api/types/MemoriesForcefulRelations.d.ts +11 -0
- package/dist/api/types/MemoriesForcefulRelations.js +3 -0
- package/dist/api/types/MemoriesIngestItem.d.ts +56 -0
- package/dist/api/types/MemoriesIngestItem.js +3 -0
- package/dist/api/types/MemoriesIngestItemContextCategory.d.ts +13 -0
- package/dist/api/types/MemoriesIngestItemContextCategory.js +16 -0
- package/dist/api/types/MemoriesUnifiedIngestRequest.d.ts +26 -0
- package/dist/api/types/MemoriesUnifiedIngestRequest.js +3 -0
- package/dist/api/types/SearchAliasExpansionNote.d.ts +4 -0
- package/dist/api/types/SearchAliasExpansionNote.js +3 -0
- package/dist/api/types/SearchAppSearchFusionDiagnostics.d.ts +31 -0
- package/dist/api/types/SearchAppSearchFusionDiagnostics.js +3 -0
- package/dist/api/types/SearchAppSearchFusionStats.d.ts +43 -0
- package/dist/api/types/SearchAppSearchFusionStats.js +3 -0
- package/dist/api/types/SearchChunkInspectResult.d.ts +24 -0
- package/dist/api/types/SearchChunkInspectResult.js +3 -0
- package/dist/api/types/SearchCodeSearchRepoResult.d.ts +11 -0
- package/dist/api/types/SearchCodeSearchRepoResult.js +3 -0
- package/dist/api/types/SearchCodeSearchResult.d.ts +24 -0
- package/dist/api/types/SearchCodeSearchResult.js +3 -0
- package/dist/api/types/SearchEntityProfileView.d.ts +18 -0
- package/dist/api/types/SearchEntityProfileView.js +3 -0
- package/dist/api/types/SearchForcefulRelationEntry.d.ts +5 -0
- package/dist/api/types/SearchForcefulRelationEntry.js +3 -0
- package/dist/api/types/SearchForcefulRelationsBucket.d.ts +11 -0
- package/dist/api/types/SearchForcefulRelationsBucket.js +3 -0
- package/dist/api/types/SearchGraphPath.d.ts +10 -0
- package/dist/api/types/SearchGraphPath.js +3 -0
- package/dist/api/types/SearchGraphPlane.d.ts +11 -0
- package/dist/api/types/SearchGraphPlane.js +3 -0
- package/dist/api/types/SearchMetadataFilters.d.ts +1 -1
- package/dist/api/types/SearchProfileContext.d.ts +17 -0
- package/dist/api/types/SearchProfileContext.js +3 -0
- package/dist/api/types/SearchProfileEntry.d.ts +11 -0
- package/dist/api/types/SearchProfileEntry.js +3 -0
- package/dist/api/types/SearchProfileFilterInfo.d.ts +10 -0
- package/dist/api/types/SearchProfileFilterInfo.js +3 -0
- package/dist/api/types/SearchQueryChunk.d.ts +19 -0
- package/dist/api/types/SearchQueryChunk.js +3 -0
- package/dist/api/types/SearchQueryChunkEnrichmentKind.d.ts +7 -0
- package/dist/api/types/SearchQueryChunkEnrichmentKind.js +10 -0
- package/dist/api/types/SearchQueryChunkTemporal.d.ts +8 -0
- package/dist/api/types/SearchQueryChunkTemporal.js +3 -0
- package/dist/api/types/SearchQueryForcefulRelation.d.ts +6 -0
- package/dist/api/types/SearchQueryForcefulRelation.js +3 -0
- package/dist/api/types/SearchQueryGraphEdge.d.ts +13 -0
- package/dist/api/types/SearchQueryGraphEdge.js +3 -0
- package/dist/api/types/SearchQueryGraphEntity.d.ts +4 -0
- package/dist/api/types/SearchQueryGraphEntity.js +3 -0
- package/dist/api/types/SearchQueryGraphPath.d.ts +9 -0
- package/dist/api/types/SearchQueryGraphPath.js +3 -0
- package/dist/api/types/SearchQueryGraphPathOrigin.d.ts +6 -0
- package/dist/api/types/SearchQueryGraphPathOrigin.js +9 -0
- package/dist/api/types/SearchQueryGraphTriplet.d.ts +6 -0
- package/dist/api/types/SearchQueryGraphTriplet.js +3 -0
- package/dist/api/types/SearchQueryResult.d.ts +14 -0
- package/dist/api/types/SearchQueryResult.js +3 -0
- package/dist/api/types/SearchRelationVia.d.ts +4 -0
- package/dist/api/types/SearchRelationVia.js +3 -0
- package/dist/api/types/SearchResolvedReference.d.ts +4 -0
- package/dist/api/types/SearchResolvedReference.js +3 -0
- package/dist/api/types/SearchV2RetrievalResult.d.ts +32 -1
- package/dist/api/types/SearchVectorStoreChunk.d.ts +28 -0
- package/dist/api/types/SearchVectorStoreChunk.js +3 -0
- package/dist/api/types/TenantsDatabaseDetail.d.ts +11 -0
- package/dist/api/types/TenantsDatabaseDetail.js +3 -0
- package/dist/api/types/TenantsDatabaseDetailType.d.ts +9 -0
- package/dist/api/types/TenantsDatabaseDetailType.js +12 -0
- package/dist/api/types/TenantsInfraStatusResponseV2.d.ts +5 -0
- package/dist/api/types/TenantsInfraStatusResponseV2Type.d.ts +8 -0
- package/dist/api/types/TenantsInfraStatusResponseV2Type.js +11 -0
- package/dist/api/types/TenantsMilvusDataType.d.ts +1 -0
- package/dist/api/types/TenantsMilvusDataType.js +1 -0
- package/dist/api/types/TenantsSubTenantDeleteResponse.d.ts +12 -0
- package/dist/api/types/TenantsSubTenantDeleteResponse.js +3 -0
- package/dist/api/types/TenantsTenantIdsResponse.d.ts +2 -0
- package/dist/api/types/TenantsTenantRenameResponse.d.ts +20 -0
- package/dist/api/types/TenantsTenantRenameResponse.js +3 -0
- package/dist/api/types/index.d.ts +54 -6
- package/dist/api/types/index.js +54 -6
- package/dist/helpers/buildString.d.ts +9 -3
- package/dist/helpers/buildString.js +28 -3
- package/dist/serialization/client/requests/SearchQueryRequest.d.ts +7 -0
- package/dist/serialization/client/requests/SearchQueryRequest.js +7 -0
- package/dist/serialization/resources/connectors/client/requests/HandlerConfigureReq.d.ts +1 -0
- package/dist/serialization/resources/connectors/client/requests/HandlerConfigureReq.js +1 -0
- package/dist/serialization/resources/connectors/client/requests/HandlerVaultCredentialRevealReq.d.ts +9 -0
- package/dist/serialization/resources/connectors/client/requests/HandlerVaultCredentialRevealReq.js +41 -0
- package/dist/serialization/resources/connectors/client/requests/HandlerVaultCredentialUpdateReq.d.ts +9 -0
- package/dist/serialization/resources/connectors/client/requests/HandlerVaultCredentialUpdateReq.js +41 -0
- package/dist/serialization/resources/connectors/client/requests/index.d.ts +2 -0
- package/dist/serialization/resources/connectors/client/requests/index.js +5 -1
- package/dist/serialization/resources/context/types/ChunksContextRequestType.d.ts +7 -0
- package/dist/serialization/resources/context/types/ChunksContextRequestType.js +39 -0
- package/dist/serialization/resources/context/types/ListV2ListContentRequestType.d.ts +1 -1
- package/dist/serialization/resources/context/types/ListV2ListContentRequestType.js +1 -1
- package/dist/serialization/resources/context/types/ProfileContextRequestType.d.ts +7 -0
- package/dist/serialization/resources/context/types/ProfileContextRequestType.js +39 -0
- package/dist/serialization/resources/context/types/RelationsContextRequestType.d.ts +1 -1
- package/dist/serialization/resources/context/types/RelationsContextRequestType.js +1 -1
- package/dist/serialization/resources/context/types/SourcesV2SourceDeleteRequestType.d.ts +1 -1
- package/dist/serialization/resources/context/types/SourcesV2SourceDeleteRequestType.js +1 -1
- package/dist/serialization/resources/context/types/SubgraphContextRequestType.d.ts +1 -1
- package/dist/serialization/resources/context/types/SubgraphContextRequestType.js +1 -1
- package/dist/serialization/resources/context/types/index.d.ts +2 -0
- package/dist/serialization/resources/context/types/index.js +2 -0
- package/dist/serialization/resources/databases/client/requests/HandlerInstructionsUpdateReq.d.ts +10 -0
- package/dist/serialization/resources/databases/client/requests/HandlerInstructionsUpdateReq.js +44 -0
- package/dist/serialization/resources/databases/client/requests/TenantsTenantCreateRequest.d.ts +2 -0
- package/dist/serialization/resources/databases/client/requests/TenantsTenantCreateRequest.js +2 -0
- package/dist/serialization/resources/databases/client/requests/TenantsTenantRenameRequest.d.ts +9 -0
- package/dist/serialization/resources/databases/client/requests/TenantsTenantRenameRequest.js +41 -0
- package/dist/serialization/resources/databases/client/requests/index.d.ts +2 -0
- package/dist/serialization/resources/databases/client/requests/index.js +5 -1
- package/dist/serialization/resources/feedback/client/index.d.ts +1 -0
- package/dist/serialization/resources/feedback/client/index.js +17 -0
- package/dist/serialization/resources/feedback/client/requests/FeedbackSubmitRequest.d.ts +21 -0
- package/dist/serialization/{types → resources/feedback/client/requests}/FeedbackSubmitRequest.js +16 -4
- package/dist/serialization/resources/feedback/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/feedback/client/requests/index.js +5 -0
- package/dist/serialization/resources/feedback/index.d.ts +1 -0
- package/dist/serialization/resources/feedback/index.js +17 -0
- package/dist/serialization/resources/index.d.ts +2 -0
- package/dist/serialization/resources/index.js +3 -1
- package/dist/serialization/types/ConnectorsResource.d.ts +6 -0
- package/dist/serialization/types/ConnectorsResource.js +6 -0
- package/dist/serialization/types/GithubComHydradbHydradbApplicationInternalPlatformStoragelayoutLayout.d.ts +7 -0
- package/dist/serialization/types/GithubComHydradbHydradbApplicationInternalPlatformStoragelayoutLayout.js +39 -0
- package/dist/serialization/types/GraphRelationEvidence.d.ts +1 -0
- package/dist/serialization/types/GraphRelationEvidence.js +1 -0
- package/dist/serialization/types/HandlerConnectorApiView.d.ts +3 -0
- package/dist/serialization/types/HandlerConnectorApiView.js +3 -0
- package/dist/serialization/types/HandlerConnectorCreateResponse.d.ts +3 -0
- package/dist/serialization/types/HandlerConnectorCreateResponse.js +3 -0
- package/dist/serialization/types/HandlerConnectorLimitView.d.ts +12 -0
- package/dist/serialization/types/{FeedbackSubmitRequestGroundTruth.js → HandlerConnectorLimitView.js} +6 -4
- package/dist/serialization/types/HandlerConnectorListResponse.d.ts +4 -0
- package/dist/serialization/types/HandlerConnectorListResponse.js +4 -0
- package/dist/serialization/types/HandlerConnectorPauseResponse.d.ts +11 -0
- package/dist/serialization/types/HandlerConnectorPauseResponse.js +43 -0
- package/dist/serialization/types/HandlerConnectorResourceStatus.d.ts +4 -0
- package/dist/serialization/types/HandlerConnectorResourceStatus.js +4 -0
- package/dist/serialization/types/HandlerConnectorStatusResponse.d.ts +2 -0
- package/dist/serialization/types/HandlerConnectorStatusResponse.js +2 -0
- package/dist/serialization/types/HandlerEnvelopeSearchChunkInspectResult.d.ts +15 -0
- package/dist/serialization/types/HandlerEnvelopeSearchChunkInspectResult.js +47 -0
- package/dist/serialization/types/HandlerEnvelopeSearchEntityProfileView.d.ts +15 -0
- package/dist/serialization/types/HandlerEnvelopeSearchEntityProfileView.js +47 -0
- package/dist/serialization/types/HandlerEnvelopeSearchV2RetrievalResult.d.ts +2 -2
- package/dist/serialization/types/HandlerEnvelopeSearchV2RetrievalResult.js +2 -2
- package/dist/serialization/types/HandlerEnvelopeSearchV2RetrievalResultData.d.ts +9 -0
- package/dist/serialization/types/HandlerEnvelopeSearchV2RetrievalResultData.js +41 -0
- package/dist/serialization/types/HandlerEnvelopeTenantsSubTenantDeleteResponse.d.ts +15 -0
- package/dist/serialization/types/HandlerEnvelopeTenantsSubTenantDeleteResponse.js +47 -0
- package/dist/serialization/types/HandlerEnvelopeTenantsTenantRenameResponse.d.ts +15 -0
- package/dist/serialization/types/HandlerEnvelopeTenantsTenantRenameResponse.js +47 -0
- package/dist/serialization/types/HandlerInstructionsResponse.d.ts +12 -0
- package/dist/serialization/types/HandlerInstructionsResponse.js +44 -0
- package/dist/serialization/types/HandlerPlanCapView.d.ts +11 -0
- package/dist/serialization/types/{FeedbackSubmitRequestGroundTruthGroundTruthSourceIds.js → HandlerPlanCapView.js} +5 -3
- package/dist/serialization/types/HandlerVaultCredentialEntry.d.ts +15 -0
- package/dist/serialization/types/HandlerVaultCredentialEntry.js +47 -0
- package/dist/serialization/types/HandlerVaultCredentialListResponse.d.ts +12 -0
- package/dist/serialization/types/HandlerVaultCredentialListResponse.js +44 -0
- package/dist/serialization/types/HandlerVaultCredentialRevealResponse.d.ts +12 -0
- package/dist/serialization/types/HandlerVaultCredentialRevealResponse.js +44 -0
- package/dist/serialization/types/HandlerVaultCredentialUpdateResponse.d.ts +10 -0
- package/dist/serialization/types/HandlerVaultCredentialUpdateResponse.js +42 -0
- package/dist/serialization/types/IngestionGraphEntity.d.ts +12 -0
- package/dist/serialization/types/IngestionGraphEntity.js +44 -0
- package/dist/serialization/types/IngestionGraphPayload.d.ts +12 -0
- package/dist/serialization/types/IngestionGraphPayload.js +44 -0
- package/dist/serialization/types/IngestionGraphRelation.d.ts +13 -0
- package/dist/serialization/types/IngestionGraphRelation.js +45 -0
- package/dist/serialization/types/ListV2MemoryItem.d.ts +1 -0
- package/dist/serialization/types/ListV2MemoryItem.js +1 -0
- package/dist/serialization/types/ListV2SourceItem.d.ts +1 -0
- package/dist/serialization/types/ListV2SourceItem.js +1 -0
- package/dist/serialization/types/MemoriesConversationTurn.d.ts +10 -0
- package/dist/serialization/types/MemoriesConversationTurn.js +42 -0
- package/dist/serialization/types/MemoriesForcefulRelations.d.ts +10 -0
- package/dist/serialization/types/MemoriesForcefulRelations.js +42 -0
- package/dist/serialization/types/MemoriesIngestItem.d.ts +25 -0
- package/dist/serialization/types/MemoriesIngestItem.js +57 -0
- package/dist/serialization/types/MemoriesIngestItemContextCategory.d.ts +7 -0
- package/dist/serialization/types/MemoriesIngestItemContextCategory.js +39 -0
- package/dist/serialization/types/MemoriesUnifiedIngestRequest.d.ts +19 -0
- package/dist/serialization/types/MemoriesUnifiedIngestRequest.js +51 -0
- package/dist/serialization/types/SearchAliasExpansionNote.d.ts +10 -0
- package/dist/serialization/types/SearchAliasExpansionNote.js +42 -0
- package/dist/serialization/types/SearchAppSearchFusionDiagnostics.d.ts +13 -0
- package/dist/serialization/types/SearchAppSearchFusionDiagnostics.js +45 -0
- package/dist/serialization/types/SearchAppSearchFusionStats.d.ts +19 -0
- package/dist/serialization/types/SearchAppSearchFusionStats.js +51 -0
- package/dist/serialization/types/SearchChunkInspectResult.d.ts +14 -0
- package/dist/serialization/types/SearchChunkInspectResult.js +46 -0
- package/dist/serialization/types/SearchCodeSearchRepoResult.d.ts +15 -0
- package/dist/serialization/types/SearchCodeSearchRepoResult.js +47 -0
- package/dist/serialization/types/SearchCodeSearchResult.d.ts +14 -0
- package/dist/serialization/types/SearchCodeSearchResult.js +46 -0
- package/dist/serialization/types/SearchEntityProfileView.d.ts +22 -0
- package/dist/serialization/types/SearchEntityProfileView.js +54 -0
- package/dist/serialization/types/SearchForcefulRelationEntry.d.ts +12 -0
- package/dist/serialization/types/SearchForcefulRelationEntry.js +44 -0
- package/dist/serialization/types/SearchForcefulRelationsBucket.d.ts +11 -0
- package/dist/serialization/types/SearchForcefulRelationsBucket.js +43 -0
- package/dist/serialization/types/SearchGraphPath.d.ts +13 -0
- package/dist/serialization/types/SearchGraphPath.js +45 -0
- package/dist/serialization/types/SearchGraphPlane.d.ts +10 -0
- package/dist/serialization/types/SearchGraphPlane.js +42 -0
- package/dist/serialization/types/SearchProfileContext.d.ts +17 -0
- package/dist/serialization/types/SearchProfileContext.js +49 -0
- package/dist/serialization/types/SearchProfileEntry.d.ts +15 -0
- package/dist/serialization/types/SearchProfileEntry.js +47 -0
- package/dist/serialization/types/SearchProfileFilterInfo.d.ts +15 -0
- package/dist/serialization/types/SearchProfileFilterInfo.js +47 -0
- package/dist/serialization/types/SearchQueryChunk.d.ts +18 -0
- package/dist/serialization/types/SearchQueryChunk.js +50 -0
- package/dist/serialization/types/SearchQueryChunkEnrichmentKind.d.ts +7 -0
- package/dist/serialization/types/SearchQueryChunkEnrichmentKind.js +39 -0
- package/dist/serialization/types/SearchQueryChunkTemporal.d.ts +11 -0
- package/dist/serialization/types/SearchQueryChunkTemporal.js +43 -0
- package/dist/serialization/types/SearchQueryForcefulRelation.d.ts +12 -0
- package/dist/serialization/types/SearchQueryForcefulRelation.js +44 -0
- package/dist/serialization/types/SearchQueryGraphEdge.d.ts +14 -0
- package/dist/serialization/types/SearchQueryGraphEdge.js +46 -0
- package/dist/serialization/types/SearchQueryGraphEntity.d.ts +10 -0
- package/dist/serialization/types/SearchQueryGraphEntity.js +42 -0
- package/dist/serialization/types/SearchQueryGraphPath.d.ts +13 -0
- package/dist/serialization/types/SearchQueryGraphPath.js +45 -0
- package/dist/serialization/types/SearchQueryGraphPathOrigin.d.ts +7 -0
- package/dist/serialization/types/{FeedbackSubmitRequestFeedback.js → SearchQueryGraphPathOrigin.js} +2 -4
- package/dist/serialization/types/SearchQueryGraphTriplet.d.ts +13 -0
- package/dist/serialization/types/SearchQueryGraphTriplet.js +45 -0
- package/dist/serialization/types/SearchQueryResult.d.ts +15 -0
- package/dist/serialization/types/SearchQueryResult.js +47 -0
- package/dist/serialization/types/SearchRelationVia.d.ts +10 -0
- package/dist/serialization/types/{FeedbackSubmitRequestGroundTruthGroundTruthAnswer.js → SearchRelationVia.js} +4 -3
- package/dist/serialization/types/SearchResolvedReference.d.ts +10 -0
- package/dist/serialization/types/SearchResolvedReference.js +42 -0
- package/dist/serialization/types/SearchV2RetrievalResult.d.ts +18 -0
- package/dist/serialization/types/SearchV2RetrievalResult.js +18 -0
- package/dist/serialization/types/SearchVectorStoreChunk.d.ts +21 -0
- package/dist/serialization/types/SearchVectorStoreChunk.js +53 -0
- package/dist/serialization/types/TenantsDatabaseDetail.d.ts +11 -0
- package/dist/serialization/types/TenantsDatabaseDetail.js +43 -0
- package/dist/serialization/types/TenantsDatabaseDetailType.d.ts +7 -0
- package/dist/serialization/types/TenantsDatabaseDetailType.js +39 -0
- package/dist/serialization/types/TenantsInfraStatusResponseV2.d.ts +2 -0
- package/dist/serialization/types/TenantsInfraStatusResponseV2.js +2 -0
- package/dist/serialization/types/TenantsInfraStatusResponseV2Type.d.ts +7 -0
- package/dist/serialization/types/TenantsInfraStatusResponseV2Type.js +39 -0
- package/dist/serialization/types/TenantsSubTenantDeleteResponse.d.ts +14 -0
- package/dist/serialization/types/TenantsSubTenantDeleteResponse.js +46 -0
- package/dist/serialization/types/TenantsTenantIdsResponse.d.ts +2 -0
- package/dist/serialization/types/TenantsTenantIdsResponse.js +2 -0
- package/dist/serialization/types/TenantsTenantRenameResponse.d.ts +15 -0
- package/dist/serialization/types/TenantsTenantRenameResponse.js +47 -0
- package/dist/serialization/types/index.d.ts +54 -6
- package/dist/serialization/types/index.js +54 -6
- package/package.json +1 -1
- package/dist/api/types/FeedbackSubmitRequest.d.ts +0 -2
- package/dist/api/types/FeedbackSubmitRequestFeedback.d.ts +0 -3
- package/dist/api/types/FeedbackSubmitRequestGroundTruth.d.ts +0 -4
- package/dist/api/types/FeedbackSubmitRequestGroundTruthGroundTruth.d.ts +0 -2
- package/dist/api/types/FeedbackSubmitRequestGroundTruthGroundTruthAnswer.d.ts +0 -3
- package/dist/api/types/FeedbackSubmitRequestGroundTruthGroundTruthSourceIds.d.ts +0 -3
- package/dist/serialization/types/FeedbackSubmitRequest.d.ts +0 -9
- package/dist/serialization/types/FeedbackSubmitRequestFeedback.d.ts +0 -9
- package/dist/serialization/types/FeedbackSubmitRequestGroundTruth.d.ts +0 -10
- package/dist/serialization/types/FeedbackSubmitRequestGroundTruthGroundTruth.d.ts +0 -9
- package/dist/serialization/types/FeedbackSubmitRequestGroundTruthGroundTruth.js +0 -44
- package/dist/serialization/types/FeedbackSubmitRequestGroundTruthGroundTruthAnswer.d.ts +0 -9
- package/dist/serialization/types/FeedbackSubmitRequestGroundTruthGroundTruthSourceIds.d.ts +0 -9
- /package/dist/api/{types/FeedbackSubmitRequest.js → resources/connectors/client/requests/HandlerVaultCredentialRevealReq.js} +0 -0
- /package/dist/api/{types/FeedbackSubmitRequestFeedback.js → resources/connectors/client/requests/HandlerVaultCredentialUpdateReq.js} +0 -0
- /package/dist/api/{types/FeedbackSubmitRequestGroundTruth.js → resources/connectors/client/requests/PauseConnectorsRequest.js} +0 -0
- /package/dist/api/{types/FeedbackSubmitRequestGroundTruthGroundTruth.js → resources/connectors/client/requests/ResumeConnectorsRequest.js} +0 -0
- /package/dist/api/{types/FeedbackSubmitRequestGroundTruthGroundTruthAnswer.js → resources/context/client/requests/ChunksContextRequest.js} +0 -0
- /package/dist/api/{types/FeedbackSubmitRequestGroundTruthGroundTruthSourceIds.js → resources/context/client/requests/ProfileContextRequest.js} +0 -0
|
@@ -0,0 +1,45 @@
|
|
|
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.IngestionGraphRelation = void 0;
|
|
38
|
+
const core = __importStar(require("../../core/index.js"));
|
|
39
|
+
exports.IngestionGraphRelation = core.serialization.object({
|
|
40
|
+
context: core.serialization.string().optional(),
|
|
41
|
+
predicate: core.serialization.string().optional(),
|
|
42
|
+
source: core.serialization.string().optional(),
|
|
43
|
+
target: core.serialization.string().optional(),
|
|
44
|
+
temporalDetails: core.serialization.property("temporal_details", core.serialization.string().optional()),
|
|
45
|
+
});
|
|
@@ -14,6 +14,7 @@ export declare namespace ListV2MemoryItem {
|
|
|
14
14
|
collection: string;
|
|
15
15
|
comments?: Record<string, unknown>[] | null;
|
|
16
16
|
comments_truncated?: boolean | null;
|
|
17
|
+
context_category?: string | null;
|
|
17
18
|
database: string;
|
|
18
19
|
description?: string | null;
|
|
19
20
|
memory_id: string;
|
|
@@ -49,6 +49,7 @@ exports.ListV2MemoryItem = core.serialization.object({
|
|
|
49
49
|
.list(core.serialization.record(core.serialization.string(), core.serialization.unknown()))
|
|
50
50
|
.optional(),
|
|
51
51
|
commentsTruncated: core.serialization.property("comments_truncated", core.serialization.boolean().optional()),
|
|
52
|
+
contextCategory: core.serialization.property("context_category", core.serialization.string().optional()),
|
|
52
53
|
database: core.serialization.string(),
|
|
53
54
|
description: core.serialization.string().optional(),
|
|
54
55
|
memoryId: core.serialization.property("memory_id", core.serialization.string()),
|
|
@@ -49,6 +49,7 @@ exports.ListV2SourceItem = core.serialization.object({
|
|
|
49
49
|
.list(core.serialization.record(core.serialization.string(), core.serialization.unknown()))
|
|
50
50
|
.optional(),
|
|
51
51
|
commentsTruncated: core.serialization.property("comments_truncated", core.serialization.boolean().optional()),
|
|
52
|
+
contextCategory: core.serialization.property("context_category", core.serialization.string().optional()),
|
|
52
53
|
database: core.serialization.string(),
|
|
53
54
|
description: core.serialization.string().optional(),
|
|
54
55
|
id: core.serialization.string(),
|
|
@@ -0,0 +1,10 @@
|
|
|
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 MemoriesConversationTurn: core.serialization.ObjectSchema<serializers.MemoriesConversationTurn.Raw, HydraDB.MemoriesConversationTurn>;
|
|
5
|
+
export declare namespace MemoriesConversationTurn {
|
|
6
|
+
interface Raw {
|
|
7
|
+
content?: string | null;
|
|
8
|
+
role?: string | null;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
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.MemoriesConversationTurn = void 0;
|
|
38
|
+
const core = __importStar(require("../../core/index.js"));
|
|
39
|
+
exports.MemoriesConversationTurn = core.serialization.object({
|
|
40
|
+
content: core.serialization.string().optional(),
|
|
41
|
+
role: core.serialization.string().optional(),
|
|
42
|
+
});
|
|
@@ -0,0 +1,10 @@
|
|
|
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 MemoriesForcefulRelations: core.serialization.ObjectSchema<serializers.MemoriesForcefulRelations.Raw, HydraDB.MemoriesForcefulRelations>;
|
|
5
|
+
export declare namespace MemoriesForcefulRelations {
|
|
6
|
+
interface Raw {
|
|
7
|
+
context_ids?: string[] | null;
|
|
8
|
+
properties?: Record<string, unknown> | null;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
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.MemoriesForcefulRelations = void 0;
|
|
38
|
+
const core = __importStar(require("../../core/index.js"));
|
|
39
|
+
exports.MemoriesForcefulRelations = core.serialization.object({
|
|
40
|
+
contextIds: core.serialization.property("context_ids", core.serialization.list(core.serialization.string()).optional()),
|
|
41
|
+
properties: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
|
|
42
|
+
});
|
|
@@ -0,0 +1,25 @@
|
|
|
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 { MemoriesConversationTurn } from "./MemoriesConversationTurn.js";
|
|
5
|
+
import { MemoriesForcefulRelations } from "./MemoriesForcefulRelations.js";
|
|
6
|
+
import { MemoriesIngestItemContextCategory } from "./MemoriesIngestItemContextCategory.js";
|
|
7
|
+
export declare const MemoriesIngestItem: core.serialization.ObjectSchema<serializers.MemoriesIngestItem.Raw, HydraDB.MemoriesIngestItem>;
|
|
8
|
+
export declare namespace MemoriesIngestItem {
|
|
9
|
+
interface Raw {
|
|
10
|
+
acl?: string[] | null;
|
|
11
|
+
attributes?: Record<string, unknown> | null;
|
|
12
|
+
context_category?: MemoriesIngestItemContextCategory.Raw | null;
|
|
13
|
+
context_id?: string | null;
|
|
14
|
+
conversation?: MemoriesConversationTurn.Raw[] | null;
|
|
15
|
+
custom_attributes?: Record<string, unknown> | null;
|
|
16
|
+
enrich?: boolean | null;
|
|
17
|
+
forceful_relations?: MemoriesForcefulRelations.Raw | null;
|
|
18
|
+
happened_at?: string | null;
|
|
19
|
+
instructions?: string | null;
|
|
20
|
+
text?: string | null;
|
|
21
|
+
title?: string | null;
|
|
22
|
+
upsert?: boolean | null;
|
|
23
|
+
user_name?: string | null;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
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.MemoriesIngestItem = void 0;
|
|
38
|
+
const core = __importStar(require("../../core/index.js"));
|
|
39
|
+
const MemoriesConversationTurn_js_1 = require("./MemoriesConversationTurn.js");
|
|
40
|
+
const MemoriesForcefulRelations_js_1 = require("./MemoriesForcefulRelations.js");
|
|
41
|
+
const MemoriesIngestItemContextCategory_js_1 = require("./MemoriesIngestItemContextCategory.js");
|
|
42
|
+
exports.MemoriesIngestItem = core.serialization.object({
|
|
43
|
+
acl: core.serialization.list(core.serialization.string()).optional(),
|
|
44
|
+
attributes: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
|
|
45
|
+
contextCategory: core.serialization.property("context_category", MemoriesIngestItemContextCategory_js_1.MemoriesIngestItemContextCategory.optional()),
|
|
46
|
+
contextId: core.serialization.property("context_id", core.serialization.string().optional()),
|
|
47
|
+
conversation: core.serialization.list(MemoriesConversationTurn_js_1.MemoriesConversationTurn).optional(),
|
|
48
|
+
customAttributes: core.serialization.property("custom_attributes", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional()),
|
|
49
|
+
enrich: core.serialization.boolean().optional(),
|
|
50
|
+
forcefulRelations: core.serialization.property("forceful_relations", MemoriesForcefulRelations_js_1.MemoriesForcefulRelations.optional()),
|
|
51
|
+
happenedAt: core.serialization.property("happened_at", core.serialization.string().optional()),
|
|
52
|
+
instructions: core.serialization.string().optional(),
|
|
53
|
+
text: core.serialization.string().optional(),
|
|
54
|
+
title: core.serialization.string().optional(),
|
|
55
|
+
upsert: core.serialization.boolean().optional(),
|
|
56
|
+
userName: core.serialization.property("user_name", core.serialization.string().optional()),
|
|
57
|
+
});
|
|
@@ -0,0 +1,7 @@
|
|
|
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 MemoriesIngestItemContextCategory: core.serialization.Schema<serializers.MemoriesIngestItemContextCategory.Raw, HydraDB.MemoriesIngestItemContextCategory>;
|
|
5
|
+
export declare namespace MemoriesIngestItemContextCategory {
|
|
6
|
+
type Raw = "auto" | "user_preference" | "business_knowledge" | "decision_trace";
|
|
7
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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.MemoriesIngestItemContextCategory = void 0;
|
|
38
|
+
const core = __importStar(require("../../core/index.js"));
|
|
39
|
+
exports.MemoriesIngestItemContextCategory = core.serialization.enum_(["auto", "user_preference", "business_knowledge", "decision_trace"]);
|
|
@@ -0,0 +1,19 @@
|
|
|
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 { IngestionGraphPayload } from "./IngestionGraphPayload.js";
|
|
5
|
+
import { MemoriesIngestItem } from "./MemoriesIngestItem.js";
|
|
6
|
+
export declare const MemoriesUnifiedIngestRequest: core.serialization.ObjectSchema<serializers.MemoriesUnifiedIngestRequest.Raw, HydraDB.MemoriesUnifiedIngestRequest>;
|
|
7
|
+
export declare namespace MemoriesUnifiedIngestRequest {
|
|
8
|
+
interface Raw {
|
|
9
|
+
collection?: string | null;
|
|
10
|
+
context?: MemoriesIngestItem.Raw[] | null;
|
|
11
|
+
database?: string | null;
|
|
12
|
+
enrich?: boolean | null;
|
|
13
|
+
graph_payload?: Record<string, IngestionGraphPayload.Raw> | null;
|
|
14
|
+
instructions?: string | null;
|
|
15
|
+
sub_tenant_id?: string | null;
|
|
16
|
+
tenant_id?: string | null;
|
|
17
|
+
upsert?: boolean | null;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
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.MemoriesUnifiedIngestRequest = void 0;
|
|
38
|
+
const core = __importStar(require("../../core/index.js"));
|
|
39
|
+
const IngestionGraphPayload_js_1 = require("./IngestionGraphPayload.js");
|
|
40
|
+
const MemoriesIngestItem_js_1 = require("./MemoriesIngestItem.js");
|
|
41
|
+
exports.MemoriesUnifiedIngestRequest = core.serialization.object({
|
|
42
|
+
collection: core.serialization.string().optional(),
|
|
43
|
+
context: core.serialization.list(MemoriesIngestItem_js_1.MemoriesIngestItem).optional(),
|
|
44
|
+
database: core.serialization.string().optional(),
|
|
45
|
+
enrich: core.serialization.boolean().optional(),
|
|
46
|
+
graphPayload: core.serialization.property("graph_payload", core.serialization.record(core.serialization.string(), IngestionGraphPayload_js_1.IngestionGraphPayload).optional()),
|
|
47
|
+
instructions: core.serialization.string().optional(),
|
|
48
|
+
subTenantId: core.serialization.property("sub_tenant_id", core.serialization.string().optional()),
|
|
49
|
+
tenantId: core.serialization.property("tenant_id", core.serialization.string().optional()),
|
|
50
|
+
upsert: core.serialization.boolean().optional(),
|
|
51
|
+
});
|
|
@@ -0,0 +1,10 @@
|
|
|
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 SearchAliasExpansionNote: core.serialization.ObjectSchema<serializers.SearchAliasExpansionNote.Raw, HydraDB.SearchAliasExpansionNote>;
|
|
5
|
+
export declare namespace SearchAliasExpansionNote {
|
|
6
|
+
interface Raw {
|
|
7
|
+
alias?: string | null;
|
|
8
|
+
canonical?: string | null;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
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.SearchAliasExpansionNote = void 0;
|
|
38
|
+
const core = __importStar(require("../../core/index.js"));
|
|
39
|
+
exports.SearchAliasExpansionNote = core.serialization.object({
|
|
40
|
+
alias: core.serialization.string().optional(),
|
|
41
|
+
canonical: core.serialization.string().optional(),
|
|
42
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
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 { SearchAppSearchFusionStats } from "./SearchAppSearchFusionStats.js";
|
|
5
|
+
export declare const SearchAppSearchFusionDiagnostics: core.serialization.ObjectSchema<serializers.SearchAppSearchFusionDiagnostics.Raw, HydraDB.SearchAppSearchFusionDiagnostics>;
|
|
6
|
+
export declare namespace SearchAppSearchFusionDiagnostics {
|
|
7
|
+
interface Raw {
|
|
8
|
+
app_recipes?: Record<string, string> | null;
|
|
9
|
+
chunk_origins?: Record<string, string> | null;
|
|
10
|
+
stats?: SearchAppSearchFusionStats.Raw | null;
|
|
11
|
+
stats_by_pass?: SearchAppSearchFusionStats.Raw[] | null;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
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.SearchAppSearchFusionDiagnostics = void 0;
|
|
38
|
+
const core = __importStar(require("../../core/index.js"));
|
|
39
|
+
const SearchAppSearchFusionStats_js_1 = require("./SearchAppSearchFusionStats.js");
|
|
40
|
+
exports.SearchAppSearchFusionDiagnostics = core.serialization.object({
|
|
41
|
+
appRecipes: core.serialization.property("app_recipes", core.serialization.record(core.serialization.string(), core.serialization.string()).optional()),
|
|
42
|
+
chunkOrigins: core.serialization.property("chunk_origins", core.serialization.record(core.serialization.string(), core.serialization.string()).optional()),
|
|
43
|
+
stats: SearchAppSearchFusionStats_js_1.SearchAppSearchFusionStats.optional(),
|
|
44
|
+
statsByPass: core.serialization.property("stats_by_pass", core.serialization.list(SearchAppSearchFusionStats_js_1.SearchAppSearchFusionStats).optional()),
|
|
45
|
+
});
|
|
@@ -0,0 +1,19 @@
|
|
|
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 SearchAppSearchFusionStats: core.serialization.ObjectSchema<serializers.SearchAppSearchFusionStats.Raw, HydraDB.SearchAppSearchFusionStats>;
|
|
5
|
+
export declare namespace SearchAppSearchFusionStats {
|
|
6
|
+
interface Raw {
|
|
7
|
+
app_chunks?: number | null;
|
|
8
|
+
app_has_exact_ids?: boolean | null;
|
|
9
|
+
app_lane_empty_text?: boolean | null;
|
|
10
|
+
consensus?: number | null;
|
|
11
|
+
exact_candidates?: number | null;
|
|
12
|
+
exact_promoted?: number | null;
|
|
13
|
+
limit?: number | null;
|
|
14
|
+
normal_chunks?: number | null;
|
|
15
|
+
normal_displaced?: number | null;
|
|
16
|
+
tail_added?: number | null;
|
|
17
|
+
tail_candidates?: number | null;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
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.SearchAppSearchFusionStats = void 0;
|
|
38
|
+
const core = __importStar(require("../../core/index.js"));
|
|
39
|
+
exports.SearchAppSearchFusionStats = core.serialization.object({
|
|
40
|
+
appChunks: core.serialization.property("app_chunks", core.serialization.number().optional()),
|
|
41
|
+
appHasExactIds: core.serialization.property("app_has_exact_ids", core.serialization.boolean().optional()),
|
|
42
|
+
appLaneEmptyText: core.serialization.property("app_lane_empty_text", core.serialization.boolean().optional()),
|
|
43
|
+
consensus: core.serialization.number().optional(),
|
|
44
|
+
exactCandidates: core.serialization.property("exact_candidates", core.serialization.number().optional()),
|
|
45
|
+
exactPromoted: core.serialization.property("exact_promoted", core.serialization.number().optional()),
|
|
46
|
+
limit: core.serialization.number().optional(),
|
|
47
|
+
normalChunks: core.serialization.property("normal_chunks", core.serialization.number().optional()),
|
|
48
|
+
normalDisplaced: core.serialization.property("normal_displaced", core.serialization.number().optional()),
|
|
49
|
+
tailAdded: core.serialization.property("tail_added", core.serialization.number().optional()),
|
|
50
|
+
tailCandidates: core.serialization.property("tail_candidates", core.serialization.number().optional()),
|
|
51
|
+
});
|
|
@@ -0,0 +1,14 @@
|
|
|
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 { SearchVectorStoreChunk } from "./SearchVectorStoreChunk.js";
|
|
5
|
+
export declare const SearchChunkInspectResult: core.serialization.ObjectSchema<serializers.SearchChunkInspectResult.Raw, HydraDB.SearchChunkInspectResult>;
|
|
6
|
+
export declare namespace SearchChunkInspectResult {
|
|
7
|
+
interface Raw {
|
|
8
|
+
chunks?: SearchVectorStoreChunk.Raw[] | null;
|
|
9
|
+
is_truncated?: boolean | null;
|
|
10
|
+
message?: string | null;
|
|
11
|
+
missing_chunk_ids?: string[] | null;
|
|
12
|
+
success?: boolean | null;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
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.SearchChunkInspectResult = void 0;
|
|
38
|
+
const core = __importStar(require("../../core/index.js"));
|
|
39
|
+
const SearchVectorStoreChunk_js_1 = require("./SearchVectorStoreChunk.js");
|
|
40
|
+
exports.SearchChunkInspectResult = core.serialization.object({
|
|
41
|
+
chunks: core.serialization.list(SearchVectorStoreChunk_js_1.SearchVectorStoreChunk).optional(),
|
|
42
|
+
isTruncated: core.serialization.property("is_truncated", core.serialization.boolean().optional()),
|
|
43
|
+
message: core.serialization.string().optional(),
|
|
44
|
+
missingChunkIds: core.serialization.property("missing_chunk_ids", core.serialization.list(core.serialization.string()).optional()),
|
|
45
|
+
success: core.serialization.boolean().optional(),
|
|
46
|
+
});
|