@getzep/zep-cloud 3.18.0 → 3.22.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/dist/cjs/Client.d.ts +3 -0
- package/dist/cjs/Client.js +19 -14
- package/dist/cjs/api/errors/BadRequestError.d.ts +1 -2
- package/dist/cjs/api/errors/ConflictError.d.ts +9 -0
- package/dist/cjs/api/errors/ConflictError.js +52 -0
- package/dist/cjs/api/errors/index.d.ts +2 -1
- package/dist/cjs/api/errors/index.js +2 -1
- package/dist/cjs/api/resources/batch/client/Client.d.ts +161 -0
- package/dist/cjs/api/resources/batch/client/Client.js +777 -0
- package/dist/cjs/api/resources/batch/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/batch/client/index.js +17 -0
- package/dist/cjs/api/resources/batch/client/requests/ApidataAddBatchItemsRequest.d.ts +15 -0
- package/dist/cjs/api/resources/batch/client/requests/ApidataAddBatchItemsRequest.js +5 -0
- package/dist/cjs/api/resources/batch/client/requests/ApidataCreateBatchRequest.d.ts +10 -0
- package/dist/cjs/api/resources/batch/client/requests/ApidataCreateBatchRequest.js +5 -0
- package/dist/cjs/api/resources/batch/client/requests/BatchListItemsRequest.d.ts +25 -0
- package/dist/cjs/api/resources/batch/client/requests/BatchListItemsRequest.js +5 -0
- package/dist/cjs/api/resources/batch/client/requests/BatchListRequest.d.ts +25 -0
- package/dist/cjs/api/resources/batch/client/requests/BatchListRequest.js +5 -0
- package/dist/cjs/api/resources/batch/client/requests/index.d.ts +4 -0
- package/dist/cjs/api/resources/batch/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/batch/index.d.ts +1 -0
- package/dist/cjs/api/resources/batch/index.js +17 -0
- package/dist/cjs/api/resources/context/client/Client.js +5 -35
- package/dist/cjs/api/resources/graph/client/Client.d.ts +7 -0
- package/dist/cjs/api/resources/graph/client/Client.js +30 -106
- package/dist/cjs/api/resources/graph/client/requests/AddDataRequest.d.ts +2 -0
- package/dist/cjs/api/resources/graph/client/requests/AddTripleRequest.d.ts +5 -0
- package/dist/cjs/api/resources/graph/client/requests/GraphListAllRequest.d.ts +5 -0
- package/dist/cjs/api/resources/graph/client/requests/GraphSearchQuery.d.ts +14 -2
- package/dist/cjs/api/resources/graph/resources/edge/client/Client.js +5 -35
- package/dist/cjs/api/resources/graph/resources/episode/client/Client.d.ts +21 -0
- package/dist/cjs/api/resources/graph/resources/episode/client/Client.js +104 -30
- package/dist/cjs/api/resources/graph/resources/episode/client/requests/UpdateEpisodeRequest.d.ts +15 -0
- package/dist/cjs/api/resources/graph/resources/episode/client/requests/UpdateEpisodeRequest.js +5 -0
- package/dist/cjs/api/resources/graph/resources/episode/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/graph/resources/index.d.ts +2 -0
- package/dist/cjs/api/resources/graph/resources/index.js +3 -1
- package/dist/cjs/api/resources/graph/resources/node/client/Client.js +7 -49
- package/dist/cjs/api/resources/graph/resources/observation/client/Client.d.ts +81 -0
- package/dist/cjs/api/resources/graph/resources/observation/client/Client.js +333 -0
- package/dist/cjs/api/resources/graph/resources/observation/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/graph/resources/observation/client/index.js +2 -0
- package/dist/cjs/api/resources/graph/resources/observation/index.d.ts +1 -0
- package/dist/cjs/api/resources/graph/resources/observation/index.js +17 -0
- package/dist/cjs/api/resources/graph/resources/threadSummary/client/Client.d.ts +66 -0
- package/dist/cjs/api/resources/graph/resources/threadSummary/client/Client.js +249 -0
- package/dist/cjs/api/resources/graph/resources/threadSummary/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/graph/resources/threadSummary/client/index.js +2 -0
- package/dist/cjs/api/resources/graph/resources/threadSummary/index.d.ts +1 -0
- package/dist/cjs/api/resources/graph/resources/threadSummary/index.js +17 -0
- package/dist/cjs/api/resources/index.d.ts +2 -0
- package/dist/cjs/api/resources/index.js +3 -1
- package/dist/cjs/api/resources/project/client/Client.js +1 -7
- package/dist/cjs/api/resources/thread/client/Client.d.ts +15 -0
- package/dist/cjs/api/resources/thread/client/Client.js +92 -14
- package/dist/cjs/api/resources/user/client/Client.js +6 -42
- package/dist/cjs/api/types/ApidataBatchAddItemRole.d.ts +12 -0
- package/dist/cjs/api/types/ApidataBatchAddItemRole.js +14 -0
- package/dist/cjs/api/types/ApidataBatchAddItemType.d.ts +8 -0
- package/dist/cjs/api/types/ApidataBatchAddItemType.js +10 -0
- package/dist/cjs/api/types/BatchAddItem.d.ts +18 -0
- package/dist/cjs/api/types/BatchAddItem.js +5 -0
- package/dist/cjs/api/types/BatchItemDetail.d.ts +18 -0
- package/dist/cjs/api/types/BatchItemDetail.js +5 -0
- package/dist/cjs/api/types/BatchItemKind.d.ts +8 -0
- package/dist/cjs/api/types/BatchItemKind.js +10 -0
- package/dist/cjs/api/types/BatchItemListResponse.d.ts +8 -0
- package/dist/cjs/api/types/BatchItemListResponse.js +5 -0
- package/dist/cjs/api/types/BatchItemStatus.d.ts +12 -0
- package/dist/cjs/api/types/BatchItemStatus.js +14 -0
- package/dist/cjs/api/types/BatchListResponse.d.ts +8 -0
- package/dist/cjs/api/types/BatchListResponse.js +5 -0
- package/dist/cjs/api/types/BatchProgress.d.ts +12 -0
- package/dist/cjs/api/types/BatchProgress.js +5 -0
- package/dist/cjs/api/types/BatchStatus.d.ts +13 -0
- package/dist/cjs/api/types/BatchStatus.js +15 -0
- package/dist/cjs/api/types/BatchSummary.d.ts +15 -0
- package/dist/cjs/api/types/BatchSummary.js +5 -0
- package/dist/cjs/api/types/ComparisonOperator.d.ts +2 -1
- package/dist/cjs/api/types/ComparisonOperator.js +1 -0
- package/dist/cjs/api/types/DerivedNode.d.ts +28 -0
- package/dist/cjs/api/types/DerivedNode.js +5 -0
- package/dist/cjs/api/types/EntityEdge.d.ts +4 -0
- package/dist/cjs/api/types/EntityNode.d.ts +2 -0
- package/dist/cjs/api/types/Episode.d.ts +2 -0
- package/dist/cjs/api/types/EpisodeData.d.ts +2 -0
- package/dist/cjs/api/types/EpisodeMetadataFilter.d.ts +12 -0
- package/dist/cjs/api/types/EpisodeMetadataFilter.js +5 -0
- package/dist/cjs/api/types/GraphDataType.d.ts +2 -1
- package/dist/cjs/api/types/GraphDataType.js +1 -0
- package/dist/cjs/api/types/GraphObservationsRequest.d.ts +9 -0
- package/dist/cjs/api/types/GraphObservationsRequest.js +5 -0
- package/dist/cjs/api/types/GraphSearchResults.d.ts +3 -0
- package/dist/cjs/api/types/GraphSearchScope.d.ts +4 -1
- package/dist/cjs/api/types/GraphSearchScope.js +3 -0
- package/dist/cjs/api/types/GraphThreadSummariesRequest.d.ts +9 -0
- package/dist/cjs/api/types/GraphThreadSummariesRequest.js +5 -0
- package/dist/cjs/api/types/GraphitiMetadataFilterGroupType.d.ts +11 -0
- package/dist/cjs/api/types/GraphitiMetadataFilterGroupType.js +10 -0
- package/dist/cjs/api/types/GraphitiSagaNode.d.ts +26 -0
- package/dist/cjs/api/types/GraphitiSagaNode.js +5 -0
- package/dist/cjs/api/types/MetadataFilterGroup.d.ts +12 -0
- package/dist/cjs/api/types/MetadataFilterGroup.js +5 -0
- package/dist/cjs/api/types/PatternResult.d.ts +17 -3
- package/dist/cjs/api/types/PatternSeeds.d.ts +1 -1
- package/dist/cjs/api/types/SearchFilters.d.ts +6 -1
- package/dist/cjs/api/types/ThreadSummary.d.ts +20 -0
- package/dist/cjs/api/types/ThreadSummary.js +5 -0
- package/dist/cjs/api/types/index.d.ts +19 -0
- package/dist/cjs/api/types/index.js +19 -0
- package/dist/cjs/serialization/resources/batch/client/add.d.ts +11 -0
- package/dist/cjs/serialization/resources/batch/client/add.js +42 -0
- package/dist/cjs/serialization/resources/batch/client/index.d.ts +2 -0
- package/dist/cjs/serialization/resources/batch/client/index.js +41 -0
- package/dist/cjs/serialization/resources/batch/client/requests/ApidataAddBatchItemsRequest.d.ts +13 -0
- package/dist/cjs/serialization/resources/batch/client/requests/ApidataAddBatchItemsRequest.js +44 -0
- package/dist/cjs/serialization/resources/batch/client/requests/ApidataCreateBatchRequest.d.ts +12 -0
- package/dist/cjs/serialization/resources/batch/client/requests/ApidataCreateBatchRequest.js +43 -0
- package/dist/cjs/serialization/resources/batch/client/requests/index.d.ts +2 -0
- package/dist/cjs/serialization/resources/batch/client/requests/index.js +7 -0
- package/dist/cjs/serialization/resources/batch/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/batch/index.js +17 -0
- package/dist/cjs/serialization/resources/graph/client/requests/AddDataRequest.d.ts +1 -0
- package/dist/cjs/serialization/resources/graph/client/requests/AddDataRequest.js +1 -0
- package/dist/cjs/serialization/resources/graph/client/requests/AddTripleRequest.d.ts +1 -0
- package/dist/cjs/serialization/resources/graph/client/requests/AddTripleRequest.js +1 -0
- package/dist/cjs/serialization/resources/graph/client/requests/GraphSearchQuery.d.ts +2 -0
- package/dist/cjs/serialization/resources/graph/client/requests/GraphSearchQuery.js +2 -0
- package/dist/cjs/serialization/resources/graph/resources/episode/client/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/graph/resources/episode/client/index.js +17 -0
- package/dist/cjs/serialization/resources/graph/resources/episode/client/requests/UpdateEpisodeRequest.d.ts +12 -0
- package/dist/cjs/serialization/resources/graph/resources/episode/client/requests/UpdateEpisodeRequest.js +43 -0
- package/dist/cjs/serialization/resources/graph/resources/episode/client/requests/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/graph/resources/episode/client/requests/index.js +5 -0
- package/dist/cjs/serialization/resources/graph/resources/episode/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/graph/resources/episode/index.js +17 -0
- package/dist/cjs/serialization/resources/graph/resources/index.d.ts +4 -0
- package/dist/cjs/serialization/resources/graph/resources/index.js +5 -1
- package/dist/cjs/serialization/resources/graph/resources/observation/client/getByGraphId.d.ts +11 -0
- package/dist/cjs/serialization/resources/graph/resources/observation/client/getByGraphId.js +42 -0
- package/dist/cjs/serialization/resources/graph/resources/observation/client/getByUserId.d.ts +11 -0
- package/dist/cjs/serialization/resources/graph/resources/observation/client/getByUserId.js +42 -0
- package/dist/cjs/serialization/resources/graph/resources/observation/client/index.d.ts +2 -0
- package/dist/cjs/serialization/resources/graph/resources/observation/client/index.js +38 -0
- package/dist/cjs/serialization/resources/graph/resources/observation/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/graph/resources/observation/index.js +17 -0
- package/dist/cjs/serialization/resources/graph/resources/threadSummary/client/getByGraphId.d.ts +11 -0
- package/dist/cjs/serialization/resources/graph/resources/threadSummary/client/getByGraphId.js +42 -0
- package/dist/cjs/serialization/resources/graph/resources/threadSummary/client/getByUserId.d.ts +11 -0
- package/dist/cjs/serialization/resources/graph/resources/threadSummary/client/getByUserId.js +42 -0
- package/dist/cjs/serialization/resources/graph/resources/threadSummary/client/index.d.ts +2 -0
- package/dist/cjs/serialization/resources/graph/resources/threadSummary/client/index.js +38 -0
- package/dist/cjs/serialization/resources/graph/resources/threadSummary/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/graph/resources/threadSummary/index.js +17 -0
- package/dist/cjs/serialization/resources/index.d.ts +2 -0
- package/dist/cjs/serialization/resources/index.js +3 -1
- package/dist/cjs/serialization/types/ApidataBatchAddItemRole.d.ts +10 -0
- package/dist/cjs/serialization/types/ApidataBatchAddItemRole.js +41 -0
- package/dist/cjs/serialization/types/ApidataBatchAddItemType.d.ts +10 -0
- package/dist/cjs/serialization/types/ApidataBatchAddItemType.js +41 -0
- package/dist/cjs/serialization/types/BatchAddItem.d.ts +26 -0
- package/dist/cjs/serialization/types/BatchAddItem.js +57 -0
- package/dist/cjs/serialization/types/BatchItemDetail.d.ts +25 -0
- package/dist/cjs/serialization/types/BatchItemDetail.js +56 -0
- package/dist/cjs/serialization/types/BatchItemKind.d.ts +10 -0
- package/dist/cjs/serialization/types/BatchItemKind.js +41 -0
- package/dist/cjs/serialization/types/BatchItemListResponse.d.ts +14 -0
- package/dist/cjs/serialization/types/BatchItemListResponse.js +45 -0
- package/dist/cjs/serialization/types/BatchItemStatus.d.ts +10 -0
- package/dist/cjs/serialization/types/BatchItemStatus.js +41 -0
- package/dist/cjs/serialization/types/BatchListResponse.d.ts +14 -0
- package/dist/cjs/serialization/types/BatchListResponse.js +45 -0
- package/dist/cjs/serialization/types/BatchProgress.d.ts +18 -0
- package/dist/cjs/serialization/types/BatchProgress.js +49 -0
- package/dist/cjs/serialization/types/BatchStatus.d.ts +10 -0
- package/dist/cjs/serialization/types/BatchStatus.js +41 -0
- package/dist/cjs/serialization/types/BatchSummary.d.ts +22 -0
- package/dist/cjs/serialization/types/BatchSummary.js +53 -0
- package/dist/cjs/serialization/types/ComparisonOperator.d.ts +1 -1
- package/dist/cjs/serialization/types/ComparisonOperator.js +1 -1
- package/dist/cjs/serialization/types/DerivedNode.d.ts +21 -0
- package/dist/cjs/serialization/types/DerivedNode.js +52 -0
- package/dist/cjs/serialization/types/EntityEdge.d.ts +2 -0
- package/dist/cjs/serialization/types/EntityEdge.js +2 -0
- package/dist/cjs/serialization/types/EntityNode.d.ts +1 -0
- package/dist/cjs/serialization/types/EntityNode.js +1 -0
- package/dist/cjs/serialization/types/Episode.d.ts +1 -0
- package/dist/cjs/serialization/types/Episode.js +1 -0
- package/dist/cjs/serialization/types/EpisodeData.d.ts +1 -0
- package/dist/cjs/serialization/types/EpisodeData.js +1 -0
- package/dist/cjs/serialization/types/EpisodeMetadataFilter.d.ts +15 -0
- package/dist/cjs/serialization/types/EpisodeMetadataFilter.js +46 -0
- package/dist/cjs/serialization/types/GraphDataType.d.ts +1 -1
- package/dist/cjs/serialization/types/GraphDataType.js +1 -1
- package/dist/cjs/serialization/types/GraphObservationsRequest.d.ts +13 -0
- package/dist/cjs/serialization/types/GraphObservationsRequest.js +44 -0
- package/dist/cjs/serialization/types/GraphSearchResults.d.ts +5 -0
- package/dist/cjs/serialization/types/GraphSearchResults.js +5 -0
- package/dist/cjs/serialization/types/GraphSearchScope.d.ts +1 -1
- package/dist/cjs/serialization/types/GraphSearchScope.js +1 -1
- package/dist/cjs/serialization/types/GraphThreadSummariesRequest.d.ts +13 -0
- package/dist/cjs/serialization/types/GraphThreadSummariesRequest.js +44 -0
- package/dist/cjs/serialization/types/GraphitiMetadataFilterGroupType.d.ts +10 -0
- package/dist/cjs/serialization/types/GraphitiMetadataFilterGroupType.js +41 -0
- package/dist/cjs/serialization/types/GraphitiSagaNode.d.ts +20 -0
- package/dist/cjs/serialization/types/GraphitiSagaNode.js +51 -0
- package/dist/cjs/serialization/types/MetadataFilterGroup.d.ts +16 -0
- package/dist/cjs/serialization/types/MetadataFilterGroup.js +48 -0
- package/dist/cjs/serialization/types/PatternResult.d.ts +1 -0
- package/dist/cjs/serialization/types/PatternResult.js +1 -0
- package/dist/cjs/serialization/types/SearchFilters.d.ts +1 -0
- package/dist/cjs/serialization/types/SearchFilters.js +2 -0
- package/dist/cjs/serialization/types/ThreadSummary.d.ts +16 -0
- package/dist/cjs/serialization/types/ThreadSummary.js +47 -0
- package/dist/cjs/serialization/types/index.d.ts +19 -0
- package/dist/cjs/serialization/types/index.js +19 -0
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/Client.d.mts +3 -0
- package/dist/esm/Client.mjs +7 -2
- package/dist/esm/api/errors/BadRequestError.d.mts +1 -2
- package/dist/esm/api/errors/ConflictError.d.mts +9 -0
- package/dist/esm/api/errors/ConflictError.mjs +15 -0
- package/dist/esm/api/errors/index.d.mts +2 -1
- package/dist/esm/api/errors/index.mjs +2 -1
- package/dist/esm/api/resources/batch/client/Client.d.mts +161 -0
- package/dist/esm/api/resources/batch/client/Client.mjs +740 -0
- package/dist/esm/api/resources/batch/client/index.d.mts +2 -0
- package/dist/esm/api/resources/batch/client/index.mjs +1 -0
- package/dist/esm/api/resources/batch/client/requests/ApidataAddBatchItemsRequest.d.mts +15 -0
- package/dist/esm/api/resources/batch/client/requests/ApidataAddBatchItemsRequest.mjs +4 -0
- package/dist/esm/api/resources/batch/client/requests/ApidataCreateBatchRequest.d.mts +10 -0
- package/dist/esm/api/resources/batch/client/requests/ApidataCreateBatchRequest.mjs +4 -0
- package/dist/esm/api/resources/batch/client/requests/BatchListItemsRequest.d.mts +25 -0
- package/dist/esm/api/resources/batch/client/requests/BatchListItemsRequest.mjs +4 -0
- package/dist/esm/api/resources/batch/client/requests/BatchListRequest.d.mts +25 -0
- package/dist/esm/api/resources/batch/client/requests/BatchListRequest.mjs +4 -0
- package/dist/esm/api/resources/batch/client/requests/index.d.mts +4 -0
- package/dist/esm/api/resources/batch/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/batch/index.d.mts +1 -0
- package/dist/esm/api/resources/batch/index.mjs +1 -0
- package/dist/esm/api/resources/context/client/Client.mjs +5 -35
- package/dist/esm/api/resources/graph/client/Client.d.mts +7 -0
- package/dist/esm/api/resources/graph/client/Client.mjs +30 -106
- package/dist/esm/api/resources/graph/client/requests/AddDataRequest.d.mts +2 -0
- package/dist/esm/api/resources/graph/client/requests/AddTripleRequest.d.mts +5 -0
- package/dist/esm/api/resources/graph/client/requests/GraphListAllRequest.d.mts +5 -0
- package/dist/esm/api/resources/graph/client/requests/GraphSearchQuery.d.mts +14 -2
- package/dist/esm/api/resources/graph/resources/edge/client/Client.mjs +5 -35
- package/dist/esm/api/resources/graph/resources/episode/client/Client.d.mts +21 -0
- package/dist/esm/api/resources/graph/resources/episode/client/Client.mjs +104 -30
- package/dist/esm/api/resources/graph/resources/episode/client/requests/UpdateEpisodeRequest.d.mts +15 -0
- package/dist/esm/api/resources/graph/resources/episode/client/requests/UpdateEpisodeRequest.mjs +4 -0
- package/dist/esm/api/resources/graph/resources/episode/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/graph/resources/index.d.mts +2 -0
- package/dist/esm/api/resources/graph/resources/index.mjs +2 -0
- package/dist/esm/api/resources/graph/resources/node/client/Client.mjs +7 -49
- package/dist/esm/api/resources/graph/resources/observation/client/Client.d.mts +81 -0
- package/dist/esm/api/resources/graph/resources/observation/client/Client.mjs +296 -0
- package/dist/esm/api/resources/graph/resources/observation/client/index.d.mts +1 -0
- package/dist/esm/api/resources/graph/resources/observation/client/index.mjs +1 -0
- package/dist/esm/api/resources/graph/resources/observation/index.d.mts +1 -0
- package/dist/esm/api/resources/graph/resources/observation/index.mjs +1 -0
- package/dist/esm/api/resources/graph/resources/threadSummary/client/Client.d.mts +66 -0
- package/dist/esm/api/resources/graph/resources/threadSummary/client/Client.mjs +212 -0
- package/dist/esm/api/resources/graph/resources/threadSummary/client/index.d.mts +1 -0
- package/dist/esm/api/resources/graph/resources/threadSummary/client/index.mjs +1 -0
- package/dist/esm/api/resources/graph/resources/threadSummary/index.d.mts +1 -0
- package/dist/esm/api/resources/graph/resources/threadSummary/index.mjs +1 -0
- package/dist/esm/api/resources/index.d.mts +2 -0
- package/dist/esm/api/resources/index.mjs +2 -0
- package/dist/esm/api/resources/project/client/Client.mjs +1 -7
- package/dist/esm/api/resources/thread/client/Client.d.mts +15 -0
- package/dist/esm/api/resources/thread/client/Client.mjs +92 -14
- package/dist/esm/api/resources/user/client/Client.mjs +6 -42
- package/dist/esm/api/types/ApidataBatchAddItemRole.d.mts +12 -0
- package/dist/esm/api/types/ApidataBatchAddItemRole.mjs +11 -0
- package/dist/esm/api/types/ApidataBatchAddItemType.d.mts +8 -0
- package/dist/esm/api/types/ApidataBatchAddItemType.mjs +7 -0
- package/dist/esm/api/types/BatchAddItem.d.mts +18 -0
- package/dist/esm/api/types/BatchAddItem.mjs +4 -0
- package/dist/esm/api/types/BatchItemDetail.d.mts +18 -0
- package/dist/esm/api/types/BatchItemDetail.mjs +4 -0
- package/dist/esm/api/types/BatchItemKind.d.mts +8 -0
- package/dist/esm/api/types/BatchItemKind.mjs +7 -0
- package/dist/esm/api/types/BatchItemListResponse.d.mts +8 -0
- package/dist/esm/api/types/BatchItemListResponse.mjs +4 -0
- package/dist/esm/api/types/BatchItemStatus.d.mts +12 -0
- package/dist/esm/api/types/BatchItemStatus.mjs +11 -0
- package/dist/esm/api/types/BatchListResponse.d.mts +8 -0
- package/dist/esm/api/types/BatchListResponse.mjs +4 -0
- package/dist/esm/api/types/BatchProgress.d.mts +12 -0
- package/dist/esm/api/types/BatchProgress.mjs +4 -0
- package/dist/esm/api/types/BatchStatus.d.mts +13 -0
- package/dist/esm/api/types/BatchStatus.mjs +12 -0
- package/dist/esm/api/types/BatchSummary.d.mts +15 -0
- package/dist/esm/api/types/BatchSummary.mjs +4 -0
- package/dist/esm/api/types/ComparisonOperator.d.mts +2 -1
- package/dist/esm/api/types/ComparisonOperator.mjs +1 -0
- package/dist/esm/api/types/DerivedNode.d.mts +28 -0
- package/dist/esm/api/types/DerivedNode.mjs +4 -0
- package/dist/esm/api/types/EntityEdge.d.mts +4 -0
- package/dist/esm/api/types/EntityNode.d.mts +2 -0
- package/dist/esm/api/types/Episode.d.mts +2 -0
- package/dist/esm/api/types/EpisodeData.d.mts +2 -0
- package/dist/esm/api/types/EpisodeMetadataFilter.d.mts +12 -0
- package/dist/esm/api/types/EpisodeMetadataFilter.mjs +4 -0
- package/dist/esm/api/types/GraphDataType.d.mts +2 -1
- package/dist/esm/api/types/GraphDataType.mjs +1 -0
- package/dist/esm/api/types/GraphObservationsRequest.d.mts +9 -0
- package/dist/esm/api/types/GraphObservationsRequest.mjs +4 -0
- package/dist/esm/api/types/GraphSearchResults.d.mts +3 -0
- package/dist/esm/api/types/GraphSearchScope.d.mts +4 -1
- package/dist/esm/api/types/GraphSearchScope.mjs +3 -0
- package/dist/esm/api/types/GraphThreadSummariesRequest.d.mts +9 -0
- package/dist/esm/api/types/GraphThreadSummariesRequest.mjs +4 -0
- package/dist/esm/api/types/GraphitiMetadataFilterGroupType.d.mts +11 -0
- package/dist/esm/api/types/GraphitiMetadataFilterGroupType.mjs +7 -0
- package/dist/esm/api/types/GraphitiSagaNode.d.mts +26 -0
- package/dist/esm/api/types/GraphitiSagaNode.mjs +4 -0
- package/dist/esm/api/types/MetadataFilterGroup.d.mts +12 -0
- package/dist/esm/api/types/MetadataFilterGroup.mjs +4 -0
- package/dist/esm/api/types/PatternResult.d.mts +17 -3
- package/dist/esm/api/types/PatternSeeds.d.mts +1 -1
- package/dist/esm/api/types/SearchFilters.d.mts +6 -1
- package/dist/esm/api/types/ThreadSummary.d.mts +20 -0
- package/dist/esm/api/types/ThreadSummary.mjs +4 -0
- package/dist/esm/api/types/index.d.mts +19 -0
- package/dist/esm/api/types/index.mjs +19 -0
- package/dist/esm/serialization/resources/batch/client/add.d.mts +11 -0
- package/dist/esm/serialization/resources/batch/client/add.mjs +6 -0
- package/dist/esm/serialization/resources/batch/client/index.d.mts +2 -0
- package/dist/esm/serialization/resources/batch/client/index.mjs +2 -0
- package/dist/esm/serialization/resources/batch/client/requests/ApidataAddBatchItemsRequest.d.mts +13 -0
- package/dist/esm/serialization/resources/batch/client/requests/ApidataAddBatchItemsRequest.mjs +8 -0
- package/dist/esm/serialization/resources/batch/client/requests/ApidataCreateBatchRequest.d.mts +12 -0
- package/dist/esm/serialization/resources/batch/client/requests/ApidataCreateBatchRequest.mjs +7 -0
- package/dist/esm/serialization/resources/batch/client/requests/index.d.mts +2 -0
- package/dist/esm/serialization/resources/batch/client/requests/index.mjs +2 -0
- package/dist/esm/serialization/resources/batch/index.d.mts +1 -0
- package/dist/esm/serialization/resources/batch/index.mjs +1 -0
- package/dist/esm/serialization/resources/graph/client/requests/AddDataRequest.d.mts +1 -0
- package/dist/esm/serialization/resources/graph/client/requests/AddDataRequest.mjs +1 -0
- package/dist/esm/serialization/resources/graph/client/requests/AddTripleRequest.d.mts +1 -0
- package/dist/esm/serialization/resources/graph/client/requests/AddTripleRequest.mjs +1 -0
- package/dist/esm/serialization/resources/graph/client/requests/GraphSearchQuery.d.mts +2 -0
- package/dist/esm/serialization/resources/graph/client/requests/GraphSearchQuery.mjs +2 -0
- package/dist/esm/serialization/resources/graph/resources/episode/client/index.d.mts +1 -0
- package/dist/esm/serialization/resources/graph/resources/episode/client/index.mjs +1 -0
- package/dist/esm/serialization/resources/graph/resources/episode/client/requests/UpdateEpisodeRequest.d.mts +12 -0
- package/dist/esm/serialization/resources/graph/resources/episode/client/requests/UpdateEpisodeRequest.mjs +7 -0
- package/dist/esm/serialization/resources/graph/resources/episode/client/requests/index.d.mts +1 -0
- package/dist/esm/serialization/resources/graph/resources/episode/client/requests/index.mjs +1 -0
- package/dist/esm/serialization/resources/graph/resources/episode/index.d.mts +1 -0
- package/dist/esm/serialization/resources/graph/resources/episode/index.mjs +1 -0
- package/dist/esm/serialization/resources/graph/resources/index.d.mts +4 -0
- package/dist/esm/serialization/resources/graph/resources/index.mjs +4 -0
- package/dist/esm/serialization/resources/graph/resources/observation/client/getByGraphId.d.mts +11 -0
- package/dist/esm/serialization/resources/graph/resources/observation/client/getByGraphId.mjs +6 -0
- package/dist/esm/serialization/resources/graph/resources/observation/client/getByUserId.d.mts +11 -0
- package/dist/esm/serialization/resources/graph/resources/observation/client/getByUserId.mjs +6 -0
- package/dist/esm/serialization/resources/graph/resources/observation/client/index.d.mts +2 -0
- package/dist/esm/serialization/resources/graph/resources/observation/client/index.mjs +2 -0
- package/dist/esm/serialization/resources/graph/resources/observation/index.d.mts +1 -0
- package/dist/esm/serialization/resources/graph/resources/observation/index.mjs +1 -0
- package/dist/esm/serialization/resources/graph/resources/threadSummary/client/getByGraphId.d.mts +11 -0
- package/dist/esm/serialization/resources/graph/resources/threadSummary/client/getByGraphId.mjs +6 -0
- package/dist/esm/serialization/resources/graph/resources/threadSummary/client/getByUserId.d.mts +11 -0
- package/dist/esm/serialization/resources/graph/resources/threadSummary/client/getByUserId.mjs +6 -0
- package/dist/esm/serialization/resources/graph/resources/threadSummary/client/index.d.mts +2 -0
- package/dist/esm/serialization/resources/graph/resources/threadSummary/client/index.mjs +2 -0
- package/dist/esm/serialization/resources/graph/resources/threadSummary/index.d.mts +1 -0
- package/dist/esm/serialization/resources/graph/resources/threadSummary/index.mjs +1 -0
- package/dist/esm/serialization/resources/index.d.mts +2 -0
- package/dist/esm/serialization/resources/index.mjs +2 -0
- package/dist/esm/serialization/types/ApidataBatchAddItemRole.d.mts +10 -0
- package/dist/esm/serialization/types/ApidataBatchAddItemRole.mjs +5 -0
- package/dist/esm/serialization/types/ApidataBatchAddItemType.d.mts +10 -0
- package/dist/esm/serialization/types/ApidataBatchAddItemType.mjs +5 -0
- package/dist/esm/serialization/types/BatchAddItem.d.mts +26 -0
- package/dist/esm/serialization/types/BatchAddItem.mjs +21 -0
- package/dist/esm/serialization/types/BatchItemDetail.d.mts +25 -0
- package/dist/esm/serialization/types/BatchItemDetail.mjs +20 -0
- package/dist/esm/serialization/types/BatchItemKind.d.mts +10 -0
- package/dist/esm/serialization/types/BatchItemKind.mjs +5 -0
- package/dist/esm/serialization/types/BatchItemListResponse.d.mts +14 -0
- package/dist/esm/serialization/types/BatchItemListResponse.mjs +9 -0
- package/dist/esm/serialization/types/BatchItemStatus.d.mts +10 -0
- package/dist/esm/serialization/types/BatchItemStatus.mjs +5 -0
- package/dist/esm/serialization/types/BatchListResponse.d.mts +14 -0
- package/dist/esm/serialization/types/BatchListResponse.mjs +9 -0
- package/dist/esm/serialization/types/BatchProgress.d.mts +18 -0
- package/dist/esm/serialization/types/BatchProgress.mjs +13 -0
- package/dist/esm/serialization/types/BatchStatus.d.mts +10 -0
- package/dist/esm/serialization/types/BatchStatus.mjs +5 -0
- package/dist/esm/serialization/types/BatchSummary.d.mts +22 -0
- package/dist/esm/serialization/types/BatchSummary.mjs +17 -0
- package/dist/esm/serialization/types/ComparisonOperator.d.mts +1 -1
- package/dist/esm/serialization/types/ComparisonOperator.mjs +1 -1
- package/dist/esm/serialization/types/DerivedNode.d.mts +21 -0
- package/dist/esm/serialization/types/DerivedNode.mjs +16 -0
- package/dist/esm/serialization/types/EntityEdge.d.mts +2 -0
- package/dist/esm/serialization/types/EntityEdge.mjs +2 -0
- package/dist/esm/serialization/types/EntityNode.d.mts +1 -0
- package/dist/esm/serialization/types/EntityNode.mjs +1 -0
- package/dist/esm/serialization/types/Episode.d.mts +1 -0
- package/dist/esm/serialization/types/Episode.mjs +1 -0
- package/dist/esm/serialization/types/EpisodeData.d.mts +1 -0
- package/dist/esm/serialization/types/EpisodeData.mjs +1 -0
- package/dist/esm/serialization/types/EpisodeMetadataFilter.d.mts +15 -0
- package/dist/esm/serialization/types/EpisodeMetadataFilter.mjs +10 -0
- package/dist/esm/serialization/types/GraphDataType.d.mts +1 -1
- package/dist/esm/serialization/types/GraphDataType.mjs +1 -1
- package/dist/esm/serialization/types/GraphObservationsRequest.d.mts +13 -0
- package/dist/esm/serialization/types/GraphObservationsRequest.mjs +8 -0
- package/dist/esm/serialization/types/GraphSearchResults.d.mts +5 -0
- package/dist/esm/serialization/types/GraphSearchResults.mjs +5 -0
- package/dist/esm/serialization/types/GraphSearchScope.d.mts +1 -1
- package/dist/esm/serialization/types/GraphSearchScope.mjs +1 -1
- package/dist/esm/serialization/types/GraphThreadSummariesRequest.d.mts +13 -0
- package/dist/esm/serialization/types/GraphThreadSummariesRequest.mjs +8 -0
- package/dist/esm/serialization/types/GraphitiMetadataFilterGroupType.d.mts +10 -0
- package/dist/esm/serialization/types/GraphitiMetadataFilterGroupType.mjs +5 -0
- package/dist/esm/serialization/types/GraphitiSagaNode.d.mts +20 -0
- package/dist/esm/serialization/types/GraphitiSagaNode.mjs +15 -0
- package/dist/esm/serialization/types/MetadataFilterGroup.d.mts +16 -0
- package/dist/esm/serialization/types/MetadataFilterGroup.mjs +12 -0
- package/dist/esm/serialization/types/PatternResult.d.mts +1 -0
- package/dist/esm/serialization/types/PatternResult.mjs +1 -0
- package/dist/esm/serialization/types/SearchFilters.d.mts +1 -0
- package/dist/esm/serialization/types/SearchFilters.mjs +2 -0
- package/dist/esm/serialization/types/ThreadSummary.d.mts +16 -0
- package/dist/esm/serialization/types/ThreadSummary.mjs +11 -0
- package/dist/esm/serialization/types/index.d.mts +19 -0
- package/dist/esm/serialization/types/index.mjs +19 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +16 -9
- package/reference.md +1421 -458
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Zep from "../index.js";
|
|
5
|
+
export interface BatchItemDetail {
|
|
6
|
+
createdAt?: string;
|
|
7
|
+
episodeUuid?: string;
|
|
8
|
+
error?: Record<string, unknown>;
|
|
9
|
+
graphId?: string;
|
|
10
|
+
itemId?: string;
|
|
11
|
+
kind?: Zep.BatchItemKind;
|
|
12
|
+
sequenceIndex?: number;
|
|
13
|
+
sourceUuid?: string;
|
|
14
|
+
status?: Zep.BatchItemStatus;
|
|
15
|
+
threadId?: string;
|
|
16
|
+
updatedAt?: string;
|
|
17
|
+
userId?: string;
|
|
18
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export type BatchItemKind = "graph_episode" | "thread_message";
|
|
5
|
+
export declare const BatchItemKind: {
|
|
6
|
+
readonly GraphEpisode: "graph_episode";
|
|
7
|
+
readonly ThreadMessage: "thread_message";
|
|
8
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.BatchItemKind = void 0;
|
|
7
|
+
exports.BatchItemKind = {
|
|
8
|
+
GraphEpisode: "graph_episode",
|
|
9
|
+
ThreadMessage: "thread_message",
|
|
10
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export type BatchItemStatus = "pending" | "queued" | "processing" | "succeeded" | "failed" | "skipped";
|
|
5
|
+
export declare const BatchItemStatus: {
|
|
6
|
+
readonly Pending: "pending";
|
|
7
|
+
readonly Queued: "queued";
|
|
8
|
+
readonly Processing: "processing";
|
|
9
|
+
readonly Succeeded: "succeeded";
|
|
10
|
+
readonly Failed: "failed";
|
|
11
|
+
readonly Skipped: "skipped";
|
|
12
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.BatchItemStatus = void 0;
|
|
7
|
+
exports.BatchItemStatus = {
|
|
8
|
+
Pending: "pending",
|
|
9
|
+
Queued: "queued",
|
|
10
|
+
Processing: "processing",
|
|
11
|
+
Succeeded: "succeeded",
|
|
12
|
+
Failed: "failed",
|
|
13
|
+
Skipped: "skipped",
|
|
14
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export interface BatchProgress {
|
|
5
|
+
failedItems?: number;
|
|
6
|
+
percentComplete?: number;
|
|
7
|
+
processingItems?: number;
|
|
8
|
+
queuedItems?: number;
|
|
9
|
+
skippedItems?: number;
|
|
10
|
+
succeededItems?: number;
|
|
11
|
+
totalItems?: number;
|
|
12
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export type BatchStatus = "draft" | "invalid" | "queued" | "processing" | "succeeded" | "partial" | "failed";
|
|
5
|
+
export declare const BatchStatus: {
|
|
6
|
+
readonly Draft: "draft";
|
|
7
|
+
readonly Invalid: "invalid";
|
|
8
|
+
readonly Queued: "queued";
|
|
9
|
+
readonly Processing: "processing";
|
|
10
|
+
readonly Succeeded: "succeeded";
|
|
11
|
+
readonly Partial: "partial";
|
|
12
|
+
readonly Failed: "failed";
|
|
13
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.BatchStatus = void 0;
|
|
7
|
+
exports.BatchStatus = {
|
|
8
|
+
Draft: "draft",
|
|
9
|
+
Invalid: "invalid",
|
|
10
|
+
Queued: "queued",
|
|
11
|
+
Processing: "processing",
|
|
12
|
+
Succeeded: "succeeded",
|
|
13
|
+
Partial: "partial",
|
|
14
|
+
Failed: "failed",
|
|
15
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Zep from "../index.js";
|
|
5
|
+
export interface BatchSummary {
|
|
6
|
+
batchId?: string;
|
|
7
|
+
completedAt?: string;
|
|
8
|
+
createdAt?: string;
|
|
9
|
+
itemCount?: number;
|
|
10
|
+
metadata?: Record<string, unknown>;
|
|
11
|
+
processedAt?: string;
|
|
12
|
+
progress?: Zep.BatchProgress;
|
|
13
|
+
status?: Zep.BatchStatus;
|
|
14
|
+
updatedAt?: string;
|
|
15
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
export type ComparisonOperator = "=" | "<>" | ">" | "<" | ">=" | "<=" | "IS NULL" | "IS NOT NULL";
|
|
4
|
+
export type ComparisonOperator = "=" | "<>" | ">" | "<" | ">=" | "<=" | "IS NULL" | "IS NOT NULL" | "CONTAINS";
|
|
5
5
|
export declare const ComparisonOperator: {
|
|
6
6
|
readonly Equals: "=";
|
|
7
7
|
readonly NotEquals: "<>";
|
|
@@ -11,4 +11,5 @@ export declare const ComparisonOperator: {
|
|
|
11
11
|
readonly LessThanEqual: "<=";
|
|
12
12
|
readonly IsNull: "IS NULL";
|
|
13
13
|
readonly IsNotNull: "IS NOT NULL";
|
|
14
|
+
readonly Contains: "CONTAINS";
|
|
14
15
|
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export interface DerivedNode {
|
|
5
|
+
/** Additional attributes of the derived node. */
|
|
6
|
+
attributes?: Record<string, unknown>;
|
|
7
|
+
/** Creation time of the node */
|
|
8
|
+
createdAt: string;
|
|
9
|
+
/** Episode UUIDs that support this observation. Only populated for observation nodes in web API responses. */
|
|
10
|
+
episodeIds?: string[];
|
|
11
|
+
/** Labels associated with the node */
|
|
12
|
+
labels?: string[];
|
|
13
|
+
/** Name of the node */
|
|
14
|
+
name: string;
|
|
15
|
+
/**
|
|
16
|
+
* Relevance is an experimental rank-aligned score in [0,1] derived from Score via logit transformation.
|
|
17
|
+
* Only populated when using cross_encoder reranker; omitted for other reranker types (e.g., RRF).
|
|
18
|
+
*/
|
|
19
|
+
relevance?: number;
|
|
20
|
+
/** Score is the reranker output: sigmoid-distributed logits [0,1] when using cross_encoder reranker, or RRF ordinal rank when using rrf reranker */
|
|
21
|
+
score?: number;
|
|
22
|
+
/** SelectionRank is the global cross-scope rank assigned by auto scope selection. */
|
|
23
|
+
selectionRank?: number;
|
|
24
|
+
/** Region summary of member nodes */
|
|
25
|
+
summary?: string;
|
|
26
|
+
/** UUID of the node */
|
|
27
|
+
uuid: string;
|
|
28
|
+
}
|
|
@@ -21,8 +21,12 @@ export interface EntityEdge {
|
|
|
21
21
|
* Only populated when using cross_encoder reranker; omitted for other reranker types (e.g., RRF).
|
|
22
22
|
*/
|
|
23
23
|
relevance?: number;
|
|
24
|
+
/** Scope of the edge (e.g. "entity", "maybe_related") */
|
|
25
|
+
scope?: string;
|
|
24
26
|
/** Score is the reranker output: sigmoid-distributed logits [0,1] when using cross_encoder reranker, or RRF ordinal rank when using rrf reranker */
|
|
25
27
|
score?: number;
|
|
28
|
+
/** SelectionRank is the global cross-scope rank assigned by auto scope selection. */
|
|
29
|
+
selectionRank?: number;
|
|
26
30
|
/** UUID of the source node */
|
|
27
31
|
sourceNodeUuid: string;
|
|
28
32
|
/** UUID of the target node */
|
|
@@ -17,6 +17,8 @@ export interface EntityNode {
|
|
|
17
17
|
relevance?: number;
|
|
18
18
|
/** Score is the reranker output: sigmoid-distributed logits [0,1] when using cross_encoder reranker, or RRF ordinal rank when using rrf reranker */
|
|
19
19
|
score?: number;
|
|
20
|
+
/** SelectionRank is the global cross-scope rank assigned by auto scope selection. */
|
|
21
|
+
selectionRank?: number;
|
|
20
22
|
/** Regional summary of surrounding edges */
|
|
21
23
|
summary: string;
|
|
22
24
|
/** UUID of the node */
|
|
@@ -18,6 +18,8 @@ export interface Episode {
|
|
|
18
18
|
roleType?: Zep.RoleType;
|
|
19
19
|
/** Score is the reranker output: sigmoid-distributed logits [0,1] when using cross_encoder reranker, or RRF ordinal rank when using rrf reranker */
|
|
20
20
|
score?: number;
|
|
21
|
+
/** SelectionRank is the global cross-scope rank assigned by auto scope selection. */
|
|
22
|
+
selectionRank?: number;
|
|
21
23
|
source?: Zep.GraphDataType;
|
|
22
24
|
sourceDescription?: string;
|
|
23
25
|
/** Optional task ID to poll episode processing status. Currently only available for batch ingestion. */
|
|
@@ -5,6 +5,8 @@ import * as Zep from "../index.js";
|
|
|
5
5
|
export interface EpisodeData {
|
|
6
6
|
createdAt?: string;
|
|
7
7
|
data: string;
|
|
8
|
+
/** Optional metadata key-value pairs. Max 10 keys. Values must be strings, numbers, booleans, or arrays of scalars. */
|
|
9
|
+
metadata?: Record<string, unknown>;
|
|
8
10
|
sourceDescription?: string;
|
|
9
11
|
type: Zep.GraphDataType;
|
|
10
12
|
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Zep from "../index.js";
|
|
5
|
+
export interface EpisodeMetadataFilter {
|
|
6
|
+
/** Comparison operator: =, <>, >, <, >=, <=, IS NULL, IS NOT NULL, IN, CONTAINS */
|
|
7
|
+
comparisonOperator: Zep.ComparisonOperator;
|
|
8
|
+
/** Metadata key to filter on */
|
|
9
|
+
propertyName: string;
|
|
10
|
+
/** Value to compare against. Not required for IS NULL / IS NOT NULL operators. */
|
|
11
|
+
propertyValue?: unknown;
|
|
12
|
+
}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
export type GraphDataType = "text" | "json" | "message";
|
|
4
|
+
export type GraphDataType = "text" | "json" | "message" | "fact_triple";
|
|
5
5
|
export declare const GraphDataType: {
|
|
6
6
|
readonly Text: "text";
|
|
7
7
|
readonly Json: "json";
|
|
8
8
|
readonly Message: "message";
|
|
9
|
+
readonly FactTriple: "fact_triple";
|
|
9
10
|
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export interface GraphObservationsRequest {
|
|
5
|
+
/** Maximum number of items to return */
|
|
6
|
+
limit?: number;
|
|
7
|
+
/** UUID based cursor, used for pagination. Should be the UUID of the last item in the previous page */
|
|
8
|
+
uuidCursor?: string;
|
|
9
|
+
}
|
|
@@ -3,7 +3,10 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as Zep from "../index.js";
|
|
5
5
|
export interface GraphSearchResults {
|
|
6
|
+
context?: string;
|
|
6
7
|
edges?: Zep.EntityEdge[];
|
|
7
8
|
episodes?: Zep.Episode[];
|
|
8
9
|
nodes?: Zep.EntityNode[];
|
|
10
|
+
observations?: Zep.DerivedNode[];
|
|
11
|
+
threadSummaries?: Zep.GraphitiSagaNode[];
|
|
9
12
|
}
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
export type GraphSearchScope = "edges" | "nodes" | "episodes";
|
|
4
|
+
export type GraphSearchScope = "edges" | "nodes" | "episodes" | "thread_summaries" | "observations" | "auto";
|
|
5
5
|
export declare const GraphSearchScope: {
|
|
6
6
|
readonly Edges: "edges";
|
|
7
7
|
readonly Nodes: "nodes";
|
|
8
8
|
readonly Episodes: "episodes";
|
|
9
|
+
readonly ThreadSummaries: "thread_summaries";
|
|
10
|
+
readonly Observations: "observations";
|
|
11
|
+
readonly Auto: "auto";
|
|
9
12
|
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export interface GraphThreadSummariesRequest {
|
|
5
|
+
/** Maximum number of items to return */
|
|
6
|
+
limit?: number;
|
|
7
|
+
/** UUID based cursor, used for pagination. Should be the UUID of the last item in the previous page */
|
|
8
|
+
uuidCursor?: string;
|
|
9
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Logical operator: "and" or "or"
|
|
6
|
+
*/
|
|
7
|
+
export type GraphitiMetadataFilterGroupType = "and" | "or";
|
|
8
|
+
export declare const GraphitiMetadataFilterGroupType: {
|
|
9
|
+
readonly And: "and";
|
|
10
|
+
readonly Or: "or";
|
|
11
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.GraphitiMetadataFilterGroupType = void 0;
|
|
7
|
+
exports.GraphitiMetadataFilterGroupType = {
|
|
8
|
+
And: "and",
|
|
9
|
+
Or: "or",
|
|
10
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export interface GraphitiSagaNode {
|
|
5
|
+
/** Creation time of the node */
|
|
6
|
+
createdAt: string;
|
|
7
|
+
/** Labels associated with the node */
|
|
8
|
+
labels?: string[];
|
|
9
|
+
/** Timestamp of the most recent summary update. */
|
|
10
|
+
lastSummarizedAt?: string;
|
|
11
|
+
/** Name of the node */
|
|
12
|
+
name: string;
|
|
13
|
+
/**
|
|
14
|
+
* Relevance is an experimental rank-aligned score in [0,1] derived from Score via logit transformation.
|
|
15
|
+
* Only populated when using cross_encoder reranker; omitted for other reranker types (e.g., RRF).
|
|
16
|
+
*/
|
|
17
|
+
relevance?: number;
|
|
18
|
+
/** Score is the reranker output: sigmoid-distributed logits [0,1] when using cross_encoder reranker, or RRF ordinal rank when using rrf reranker */
|
|
19
|
+
score?: number;
|
|
20
|
+
/** SelectionRank is the global cross-scope rank assigned by auto scope selection. */
|
|
21
|
+
selectionRank?: number;
|
|
22
|
+
/** Incremental summary of the thread. */
|
|
23
|
+
summary?: string;
|
|
24
|
+
/** UUID of the node */
|
|
25
|
+
uuid: string;
|
|
26
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Zep from "../index.js";
|
|
5
|
+
export interface MetadataFilterGroup {
|
|
6
|
+
/** Leaf filters (predicates on metadata key-value pairs) */
|
|
7
|
+
filters?: Zep.EpisodeMetadataFilter[];
|
|
8
|
+
/** Nested sub-groups for composing complex boolean expressions */
|
|
9
|
+
groups?: Zep.MetadataFilterGroup[];
|
|
10
|
+
/** Logical operator: "and" or "or" */
|
|
11
|
+
type: Zep.GraphitiMetadataFilterGroupType;
|
|
12
|
+
}
|
|
@@ -3,7 +3,10 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as Zep from "../index.js";
|
|
5
5
|
export interface PatternResult {
|
|
6
|
-
/**
|
|
6
|
+
/**
|
|
7
|
+
* Human-readable structural description of the pattern (e.g. "Person -[KNOWS]-> Person").
|
|
8
|
+
* Omitted in query mode in favor of Summary.
|
|
9
|
+
*/
|
|
7
10
|
description?: string;
|
|
8
11
|
/** Edge types in the pattern structure */
|
|
9
12
|
edgeTypes?: string[];
|
|
@@ -14,10 +17,21 @@ export interface PatternResult {
|
|
|
14
17
|
edges?: Zep.EntityEdge[];
|
|
15
18
|
/** Node labels in the pattern structure */
|
|
16
19
|
nodeLabels?: string[];
|
|
17
|
-
/**
|
|
20
|
+
/**
|
|
21
|
+
* Raw structural occurrence count (always unweighted).
|
|
22
|
+
* Reflects pattern frequency in the graph, not the number of resolved edges after filtering.
|
|
23
|
+
*/
|
|
18
24
|
occurrences?: number;
|
|
25
|
+
/**
|
|
26
|
+
* Fact-derived summary from top reranked edges. Only populated when query is set.
|
|
27
|
+
* This is the primary display field for QA consumers.
|
|
28
|
+
*/
|
|
29
|
+
summary?: string;
|
|
19
30
|
/** Pattern type: relationship, path, co_occurrence, hub, cluster */
|
|
20
31
|
type?: string;
|
|
21
|
-
/**
|
|
32
|
+
/**
|
|
33
|
+
* Weighted structural support — equals occurrences when recency_weight is "none".
|
|
34
|
+
* Reflects graph-level support, not post-enrichment edge count.
|
|
35
|
+
*/
|
|
22
36
|
weightedScore?: number;
|
|
23
37
|
}
|
|
@@ -6,6 +6,6 @@ export interface PatternSeeds {
|
|
|
6
6
|
edgeTypes?: string[];
|
|
7
7
|
/** All nodes with these labels become seeds */
|
|
8
8
|
nodeLabels?: string[];
|
|
9
|
-
/** Specific node UUIDs to analyze around */
|
|
9
|
+
/** Specific node UUIDs to analyze around. Max 10000 to align with pattern detection seed limits. */
|
|
10
10
|
nodeUuids?: string[];
|
|
11
11
|
}
|
|
@@ -13,8 +13,13 @@ export interface SearchFilters {
|
|
|
13
13
|
createdAt?: Zep.DateFilter[][];
|
|
14
14
|
/** List of edge types to filter on */
|
|
15
15
|
edgeTypes?: string[];
|
|
16
|
-
/** List of edge UUIDs to filter on */
|
|
16
|
+
/** List of edge UUIDs to filter on. Max 256 to align with graph-service filter limits. */
|
|
17
17
|
edgeUuids?: string[];
|
|
18
|
+
/**
|
|
19
|
+
* [Experimental] Episode metadata filter. Restricts results to edges/nodes derived from episodes
|
|
20
|
+
* matching the metadata predicates. Uses explicit AND/OR groups. This feature is experimental and may change in future releases.
|
|
21
|
+
*/
|
|
22
|
+
episodeMetadataFilters?: Zep.MetadataFilterGroup;
|
|
18
23
|
/** List of edge types to exclude from results */
|
|
19
24
|
excludeEdgeTypes?: string[];
|
|
20
25
|
/** List of node labels to exclude from results */
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export interface ThreadSummary {
|
|
5
|
+
/** CreatedAt is when the summary node was first created. */
|
|
6
|
+
createdAt?: string;
|
|
7
|
+
/** LastSummarizedAt is the timestamp of the most recent summary update. */
|
|
8
|
+
lastSummarizedAt?: string;
|
|
9
|
+
/** Summary is the incremental summary content. */
|
|
10
|
+
summary?: string;
|
|
11
|
+
/**
|
|
12
|
+
* ThreadID is the ID of the thread this summary belongs to.
|
|
13
|
+
* When a thread was created without an explicit thread_id, this
|
|
14
|
+
* field falls back to the thread's UUID. Clients should treat it
|
|
15
|
+
* as an opaque identifier.
|
|
16
|
+
*/
|
|
17
|
+
threadId?: string;
|
|
18
|
+
/** UUID of the thread summary node. */
|
|
19
|
+
uuid?: string;
|
|
20
|
+
}
|
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
export * from "./ApiError.js";
|
|
2
2
|
export * from "./AddThreadMessagesRequest.js";
|
|
3
3
|
export * from "./AddThreadMessagesResponse.js";
|
|
4
|
+
export * from "./ApidataBatchAddItemRole.js";
|
|
5
|
+
export * from "./ApidataBatchAddItemType.js";
|
|
6
|
+
export * from "./BatchAddItem.js";
|
|
7
|
+
export * from "./BatchItemDetail.js";
|
|
8
|
+
export * from "./BatchItemListResponse.js";
|
|
9
|
+
export * from "./BatchListResponse.js";
|
|
10
|
+
export * from "./BatchProgress.js";
|
|
11
|
+
export * from "./BatchSummary.js";
|
|
4
12
|
export * from "./CloneGraphResponse.js";
|
|
5
13
|
export * from "./ClusterDetectConfig.js";
|
|
6
14
|
export * from "./CoOccurrenceDetectConfig.js";
|
|
@@ -22,7 +30,9 @@ export * from "./Episode.js";
|
|
|
22
30
|
export * from "./EpisodeResponse.js";
|
|
23
31
|
export * from "./GraphListResponse.js";
|
|
24
32
|
export * from "./GraphNodesRequest.js";
|
|
33
|
+
export * from "./GraphObservationsRequest.js";
|
|
25
34
|
export * from "./GraphSearchResults.js";
|
|
35
|
+
export * from "./GraphThreadSummariesRequest.js";
|
|
26
36
|
export * from "./HubDetectConfig.js";
|
|
27
37
|
export * from "./ListContextTemplatesResponse.js";
|
|
28
38
|
export * from "./ListCustomInstructionsResponse.js";
|
|
@@ -44,6 +54,7 @@ export * from "./ThreadContextResponse.js";
|
|
|
44
54
|
export * from "./ThreadListResponse.js";
|
|
45
55
|
export * from "./Message.js";
|
|
46
56
|
export * from "./MessageListResponse.js";
|
|
57
|
+
export * from "./ThreadSummary.js";
|
|
47
58
|
export * from "./User.js";
|
|
48
59
|
export * from "./UserInstruction.js";
|
|
49
60
|
export * from "./UserListResponse.js";
|
|
@@ -51,11 +62,19 @@ export * from "./UserNodeResponse.js";
|
|
|
51
62
|
export * from "./AddTripleResponse.js";
|
|
52
63
|
export * from "./ComparisonOperator.js";
|
|
53
64
|
export * from "./DateFilter.js";
|
|
65
|
+
export * from "./DerivedNode.js";
|
|
54
66
|
export * from "./EntityEdge.js";
|
|
55
67
|
export * from "./EntityNode.js";
|
|
68
|
+
export * from "./EpisodeMetadataFilter.js";
|
|
56
69
|
export * from "./GraphSearchScope.js";
|
|
70
|
+
export * from "./GraphitiMetadataFilterGroupType.js";
|
|
71
|
+
export * from "./MetadataFilterGroup.js";
|
|
57
72
|
export * from "./PropertyFilter.js";
|
|
58
73
|
export * from "./Reranker.js";
|
|
74
|
+
export * from "./GraphitiSagaNode.js";
|
|
59
75
|
export * from "./SearchFilters.js";
|
|
76
|
+
export * from "./BatchItemKind.js";
|
|
77
|
+
export * from "./BatchItemStatus.js";
|
|
78
|
+
export * from "./BatchStatus.js";
|
|
60
79
|
export * from "./EntityPropertyType.js";
|
|
61
80
|
export * from "./GraphDataType.js";
|